Re: [OpenJDK 2D-Dev] [8] Review request for 8005607: Recursion in J2DXErrHandler() Causes a Stack Overflow on Linux

2013-01-11 Thread Anton Litvinov
Hello Anthony, Thank you very much for the review of this request. Yes, you understood the description of the bug correctly. After several discussions with Artem I also was recommended to redesign J2DXErrHandler() as a Java synthetic handler and to exploit "sun.awt.X11.XTookit.WITH_XERROR_HAN

Re: [OpenJDK 2D-Dev] [8] Review request for 8005607: Recursion in J2DXErrHandler() Causes a Stack Overflow on Linux

2013-01-11 Thread Anton Litvinov
Hello Jim, Thank you very much for the review and provision of a new idea of a solution. Elimination of the logic, which sets/unsets J2DXErrHandler() for each call "XShmAttach(awt_display, &shminfo))" should effectively resolve the issue, but only in case if all other native error handlers, w

Re: [OpenJDK 2D-Dev] [8] Review request for 8005607: Recursion in J2DXErrHandler() Causes a Stack Overflow on Linux

2013-01-11 Thread Anthony Petrov
I'm not Jim, but as I indicated earlier my opinion is that the easiest way to fix this is to install the existing J2DXErrHandler() only once. That is, it is the second option listed by you. Of course, the J2DXErrHandler needs to be updated as well to detect whether 2D code wants to use it at th