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

org.apache.ignite.internal.util.GridUnsafe uses deprecated sun.misc.Unsafe offest methods which throw UnsupportedOperationExceptions for Java Records #11853

Open
wwwjames opened this issue Feb 5, 2025 · 1 comment

Comments

@wwwjames
Copy link

wwwjames commented Feb 5, 2025

org.apache.ignite.internal.util.GridUnsafe.objectFieldOffset(Field) and staticFieldOffset(Field) will throw an UnsupportedOperationException for records since they use the matching (and deprecated since Java 18) methods from jdk.unsupported:sun.misc.Unsafe.

@wwwjames
Copy link
Author

wwwjames commented Feb 5, 2025

Tested with Java21.

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