Other |
---|
5.0 b26Fixed |
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
|
Relates :
|
The regression test test/sun/java2d/volatileImage/LineClipTest.java throws ClassCastException on certain platforms. This issue was reported as part of 4915527, but I am filing it here as a separate issue. Here's the relevant portion of that bug description: This test also fails on our Solaris 10 (x86) box (CDE) (SunOS linux-18 5.10 s10_36 i86pc i386 i86pc) with JDK1.5.0(tested with b15-b18) producing the following output in its jtr: ----------System.out:(1/7)---------- PASSED ----------System.err:(33/2234)---------- STATUS:Passed. java.lang.ClassCastException: sun.awt.image.WritableRasterNative at sun.awt.image.BufImgSurfaceData.createDataBC(BufImgSurfaceData.java:259) at sun.awt.image.BufImgSurfaceData.createData(BufImgSurfaceData.java:108) at sun.awt.image.VolatileSurfaceManager.getBackupSurface(VolatileSurfaceManager.java:243) at sun.awt.image.VolatileSurfaceManager.restoreContents(VolatileSurfaceManager.java:265) at sun.java2d.SurfaceData.restoreContents(SurfaceData.java:122) at sun.awt.X11SurfaceData$X11PixmapSurfaceData.getReplacement(X11SurfaceData.java:522) at sun.java2d.pipe.DrawImage.renderSurfaceData(DrawImage.java:354) at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:65) at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:48) at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:732) at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2804) at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2794) at LineClipTest.paint(LineClipTest.java:276) at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21) at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60) at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97) at java.awt.Container.paint(Container.java:1647) at sun.awt.RepaintArea.paintComponent(RepaintArea.java:201) at sun.awt.RepaintArea.paint(RepaintArea.java:177) at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:391) at java.awt.Component.dispatchEventImpl(Component.java:3995) at java.awt.Container.dispatchEventImpl(Container.java:1962) at java.awt.Window.dispatchEventImpl(Window.java:1729) at java.awt.Component.dispatchEvent(Component.java:3770) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:214) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) STATUS:Failed.`main' threw exception: java.lang.ClassCastException: sun.awt.image.WritableRasterNative
|