-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
beta
-
generic, x86, sparc
-
generic, solaris_7, solaris_8, windows_nt, windows_2000
-
Verified
setXORMode() of Graphics class throws 'StackOverflowError' exception on all win32 platforms and blocks all other rendering operations which are performed after this function call. All Java2D rendering operations are failing once this command is encountered. This occurs only in jdk1.4.0beta-20 and not in earlier merlin beta builds and also not in kestrel.
In solaris, this works fine.
How to reproduce the bug:
Comment the command setXORMode() inside the paint method and Run the sample code on jdk1.4.0beta-b20. Everything will be rendered properly. Uncomment that command and run it on the same build. If it throws
java.lang.StackOverflowError
at sun.java2d.loops.MaskBlit.<init>(MaskBlit.java:80)
at sun.java2d.loops.MaskBlit$General.<init>(MaskBlit.java:137)
at sun.java2d.loops.MaskBlit.makePrimitive(MaskBlit.java:116)
at sun.java2d.loops.GraphicsPrimitiveMgr.locate(GraphicsPrimitiveMgr.java:196)
at sun.java2d.loops.GraphicsPrimitive.getGeneralOp(GraphicsPrimitive.java:301)
at sun.java2d.loops.GraphicsPrimitive.setupGeneralBinaryOp(GraphicsPrimitive.java:228)
at sun.java2d.loops.MaskBlit.makePrimitive(MaskBlit.java:117)
at sun.java2d.loops.GraphicsPrimitiveMgr.locate(GraphicsPrimitiveMgr.java:196)
at sun.java2d.loops.GraphicsPrimitive.getGeneralOp(GraphicsPrimitive.java:301)
at sun.java2d.loops.GraphicsPrimitive.setupGeneralBinaryOp(GraphicsPrimitive.java:228)
Then the bug is reproduced. All other rendering operations that follow this command are failing due to this and exception is thorwn continuously.
- duplicates
-
JDK-4358004 Rendering of certain characters using InputMethod causes coredump for Opentype.
-
- Closed
-
-
JDK-4348290 When entering Japanese characters, an exception ocurred during event dispatching
-
- Closed
-
-
JDK-4348872 Exception StackOverflowError is occurred with inputting Japanese.
-
- Closed
-
-
JDK-4351631 DrawTest demos throws exception on Win 32 and Solaris for Merlin build 22
-
- Closed
-
-
JDK-4356363 "StackOverflowError" is displayed when typing chinese characters with merlin b24
-
- Closed
-
- relates to
-
JDK-4356724 Xor loops are not implemented yet in the new Merlin Java2D architecture
-
- Closed
-