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