diff options
author | Sven Gothel <[email protected]> | 2019-08-19 02:58:22 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-08-19 02:58:22 +0200 |
commit | 6603026f1bfec02e3486c52270a09a355a1bf914 (patch) | |
tree | 3017ab1e5060867ce5b7c816fc7f6621358df29e /doc/manual/example2 | |
parent | 5f4292bb8a310489e05a4f3545ae081310a93f72 (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 'doc/manual/example2')
0 files changed, 0 insertions, 0 deletions