Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6356118

CTE_REGTEST/Generic/4347545 fails on Solaris

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 6-pool
    • 6
    • client-libs
    • sparc
    • solaris

      This is is open for the failure on Solaris as suggested by Oleg Semenov <###@###.###>.

      Please see CR# 6337388 for complete background of this defect.

      Here's Dmitri Trembovetski's simplified test shows the same bug:

      ****************************
      import java.awt.Canvas;
      import java.awt.Frame;
      import java.awt.Graphics;
      import java.awt.GraphicsConfiguration;
      import java.awt.Window;


      class AWTRenderingContents extends Canvas {

          public AWTRenderingContents(GraphicsConfiguration gc) {
              super(gc);
          }

          public void paint (Graphics g) {
          }
          
          public static void main (String args[]) {
              for (int i = 0; i < 20; i++) {
                  Frame f = new Frame("AWTRenderingContents");
                  f.setSize(400, 400);
                  f.setLocation(10, 10);
                  f.add(new AWTRenderingContents(f.getGraphicsConfiguration()));
                  f.addWindowListener(new java.awt.event.WindowAdapter() {
                      public void windowClosing(java.awt.event.WindowEvent we) {
                          Window w = (Window) we.getSource();
                          w.dispose();
                          System.gc();
                          System.runFinalization();
                          System.gc();
                          System.runFinalization();
                          System.gc();
                          System.runFinalization();
                          System.gc();
                          System.runFinalization();
                      }
                  });
                  f.setVisible(true);
              }
          }
      }
      ******************************

      Dmitri and Oleg 's analyses can be found in CR# 6337388

            denis Denis Fokin (Inactive)
            hungnguy Hung Nguyen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: