diff options
author | Sven Gothel <[email protected]> | 2012-11-05 03:49:20 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-11-05 03:49:20 +0100 |
commit | 3a00361952120f8127a3014623de703ac696e036 (patch) | |
tree | e2c2b1d5bdddc790fcc81451f2f0ed078a97fe6d /make/scripts/lsGL23toGL2ES1_commons.sh | |
parent | 0b3f9ee017f7216ec9ff37c16bbb44848aa5cfa5 (diff) |
Analyzed OSX Deadlock w/ AWT Applet & CALayer: Andres Colubri's Test Case, Commit 77db6a5c22cb4a53cf911b4caf57127770c70968
[1] - The AWT/Applet test case on OSX utilized offscreen CALayer, which is correct.
[2] - the GLEventListener.display(..) method calls Frame.setTitle(".."); which is correct,
but freezes when called right after GLEventListener.init(..)
BUG on OSX/CALayer: If frame.setTitle() is issued right after initialization
the call hangs in
at apple.awt.CWindow._setTitle(Native Method)
at apple.awt.CWindow.setTitle(CWindow.java:765) [1.6.0_37, build 1.6.0_37-b06-434-11M3909]
Happens w/ Oracle's JRE7u9 as well!
Workaround:
- Set 'justInitialized' flag in GLEventListener.init(..)
- Clear 'justInitialized' flag in GLEventListener.display(..) at the end
- Skip Frame.setTitle(..) in GLEventListener.display(..) if 'true == justInitialized'
Somebody may send a bugreport to Oracle / OpenJDK.
Diffstat (limited to 'make/scripts/lsGL23toGL2ES1_commons.sh')
0 files changed, 0 insertions, 0 deletions