[OpenJDK 2D-Dev]  Review request for 8005607: Recursion in J2DXErrHandler() Causes a Stack Overflow on Linux
anton.litvinov at oracle.com
Sat Dec 29 13:44:12 UTC 2012
Please review the following fix for a bug.
The bug consists in a crash which is caused by a stack overflow for the
reason of an infinite recursion in AWT native function J2DXErrHandler()
under certain circumstances on 32-bit Linux OS. The fix is based on
introduction of the logic, which detects indirect recursive calls to
J2DXErrHandler() by means of a simple counter, to J2DXErrHandler()
native function. Such a solution requires minimum code changes, does not
alter the handler's code significantly and eliminates this bug.
Adding 2d-dev at openjdk.java.net e-mail alias to the list of recipients of
this letter, because the edited function's name is related to Java 2D
area of JDK, despite of the fact that the edited file is located in AWT
More information about the 2d-dev