-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.2.0
-
None
-
x86, sparc
-
generic, solaris_2.6
java.lang.NegativeArraySizeException w/ ImageRotaion applet on Solaris2.6 and WinNT
Steps to reproduce:
1) set up your environment variables to point the the "K" build.
2) run the ImageRotation applet located at:
/home/lichtenw/JavaMedia/2d/tests/applets/ImageRotation
3) resize the applet window to about double its size
4) click on the window to start the rotation
Results:
java.lang.NegativeArraySizeException
at java.awt.image.Raster.createPackedRaster(Compiled Code)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Compiled Code)
at sun.java2d.loops.LockableRaster.<init>(Compiled Code)
at sun.java2d.loops.RasterOutputManager.convertFrom(Compiled Code)
at sun.java2d.loops.RasterOutputManager.performBinaryComposite(Compiled Code)
at sun.java2d.loops.RasterOutputManager.compositeSrcDst(Compiled Code)
at sun.java2d.loops.RasterOutputManager.copyArea(Compiled Code)
at sun.java2d.SunGraphics2D.copyArea(Compiled Code)
at RotateApplet2.rotate(Compiled Code)
at RotateApplet2.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
Steps to reproduce:
1) set up your environment variables to point the the "K" build.
2) run the ImageRotation applet located at:
/home/lichtenw/JavaMedia/2d/tests/applets/ImageRotation
3) resize the applet window to about double its size
4) click on the window to start the rotation
Results:
java.lang.NegativeArraySizeException
at java.awt.image.Raster.createPackedRaster(Compiled Code)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Compiled Code)
at sun.java2d.loops.LockableRaster.<init>(Compiled Code)
at sun.java2d.loops.RasterOutputManager.convertFrom(Compiled Code)
at sun.java2d.loops.RasterOutputManager.performBinaryComposite(Compiled Code)
at sun.java2d.loops.RasterOutputManager.compositeSrcDst(Compiled Code)
at sun.java2d.loops.RasterOutputManager.copyArea(Compiled Code)
at sun.java2d.SunGraphics2D.copyArea(Compiled Code)
at RotateApplet2.rotate(Compiled Code)
at RotateApplet2.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
- duplicates
-
JDK-4135218 NT: Dialogs created 2 pixels too small first time packed/shown on 1.1.6
- Closed