Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ByteUtils: Remove setAccessible() for address field for JVM17+ compatibility #19

Merged

Conversation

skalarproduktraum
Copy link
Contributor

This PR removes the setAccessible() for the address field of Buffer, as it's not required, since ByteUtils only needs the memory offset of the buffer.

This change makes BVV compatible with JVM17+, as in no --add-opens command line option is required, if the module that uses BVV declares a dependency on jdk.unsupported for access to Unsafe.

…In addition, this makes BVV compatible with JVM17+
@tpietzsch tpietzsch merged commit 65d1a4d into bigdataviewer:master Sep 19, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants