Login  Register

Re: Thread blocking issue with AWT (but not NEWT) on OSX

Posted by Sven Gothel on Nov 08, 2012; 5:42pm
URL: https://forum.jogamp.org/Thread-blocking-issue-with-AWT-but-not-NEWT-on-OSX-tp4026674p4026829.html

On 11/08/2012 06:37 PM, Sven Gothel wrote:

> On 11/08/2012 06:09 PM, ac [via jogamp] wrote:
>> Great, thanks for the updates and fixes.
>
> Here is the fixing commit for OSX Java7 (should also fix behavior of other OS)
> regarding GLAutoDrawable disposal w/o a created context - and JAWT locking w/o native peer:
>    <http://jogamp.org/git/?p=jogl.git;&a=commit&h=d0f91a8ed17fbb1a7b56511c4e53a29e576f01af>
>
> The unit tests contain a manual workaround, if required, see detection here:
>   <http://jogamp.org/git/?p=jogl.git;a=blob;f=src/test/com/jogamp/opengl/test/junit/jogl/awt/TestGLCanvasAWTActionDeadlock01AWT.java;h=c51972c39b47afa9c1bf334d8127358666a5ed36;hb=d0f91a8ed17fbb1a7b56511c4e53a29e576f01af#l122>
>
My recommendation for OSX is to use Java7 >= u9 (OpenJDK or Oracle's).

~Sven




signature.asc (907 bytes) Download Attachment