--- a/jdk/src/solaris/classes/sun/java2d/x11/X11SurfaceData.java Fri Oct 23 16:21:50 2009 +0400
+++ b/jdk/src/solaris/classes/sun/java2d/x11/X11SurfaceData.java Fri Oct 30 19:19:35 2009 +0100
@@ -388,7 +388,10 @@
// if a GlyphVector overrides the AA setting.
// We use getRenderLoops() rather than setting solidloops
// directly so that we get the appropriate loops in XOR mode.
- sg2d.loops = getRenderLoops(sg2d);
+ if (sg2d.loops == null) {
+ // assert(some pipe will always be a LoopBasedPipe)
+ sg2d.loops = getRenderLoops(sg2d);
+ }
} else {
super.validatePipe(sg2d);
}