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

btreemap doesn't work with Java 17 #6

Open
brunnsbe opened this issue Oct 18, 2022 · 0 comments
Open

btreemap doesn't work with Java 17 #6

brunnsbe opened this issue Oct 18, 2022 · 0 comments

Comments

@brunnsbe
Copy link

The code uses sun.misc.Unsafe which isn't supported anymore in Java 17:

The problem can be fixed by replacing it with jdk.internal.misc.Unsafe.objectFieldOffset but it would be better to altogether get rid of the usage of Unsafe.

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

No branches or pull requests

1 participant