diff options
author | Sven Gothel <[email protected]> | 2019-09-04 04:20:22 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-09-04 04:20:22 +0200 |
commit | c5431f46b7bf64f109315ec78461859dd88f202a (patch) | |
tree | d5952708d0d1460bb299a04e95a126f919f7e5ba /doc | |
parent | d1f4bcc64222d53eb7241184210730aa28ae1f6d (diff) |
Bug 1363: Java 11: JAWTUtil: Use sun.awt.SunToolkit.awtLock/Unlock and disableBackgroundErase (impl. semantics)
Commit 13c6bbbde5ea476d60e0a2f04a5172d3302d0edd simply removed the
AWT commonly used SunToolkit lock/unlock methods, which was incorrect.
It lead to certain resources access collisions as access has to be synchronized
using the same reentry lock across AWT and NativeWindow/JOGL.
We utilize the new com.jogamp.common.util.UnsafeUtil of GlueGen commit 07c1885e9a3d1f3a3853414648c06fb3864bc69f
to disable the IllegalAccessLogger while fetching the methods/fields and making them accessible.
JAWUtil also hosts access to SunToolkit's disableBackgroundAccess(Component)
aligning the code for GLCanvas, NewtCanvasAWT and AWTCanvas.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions