summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/ExceptionUtils.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-08-19 02:58:22 +0200
committerSven Gothel <[email protected]>2019-08-19 02:58:22 +0200
commit6603026f1bfec02e3486c52270a09a355a1bf914 (patch)
tree3017ab1e5060867ce5b7c816fc7f6621358df29e /src/java/com/jogamp/common/ExceptionUtils.java
parent5f4292bb8a310489e05a4f3545ae081310a93f72 (diff)
Bug 1363: Java 11: Resolve Buffers.Cleaner implementation
As of Java9, sun.misc.Cleaner has moved to jdk.internal.ref.Cleaner. However, access has been made (under the table) via sun.misc.Unsafe, which we are using for now as we cannot set the jdk.internal.ref.Cleaner method accessible. In this regard, we had to change our Cleaner.clean(..) method using a ByteBuffer instead of a Buffer object paramter. All tests have passed, no more illegal access case running on Java11 has been exposed.
Diffstat (limited to 'src/java/com/jogamp/common/ExceptionUtils.java')
0 files changed, 0 insertions, 0 deletions