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

An illegal reflective access operation has occurred #803

Closed
mhuss opened this issue Jan 7, 2021 · 2 comments
Closed

An illegal reflective access operation has occurred #803

mhuss opened this issue Jan 7, 2021 · 2 comments

Comments

@mhuss
Copy link

mhuss commented Jan 7, 2021

Illegal reflective access by com.esotericsoftware.kryo.util.UnsafeUtil (file:/C:/Brinqa/connector-agent/lib/kryo.jar) to constructor java.nio.DirectByteBuffer(long,int,java.lang.Object)

@theigl
Copy link
Collaborator

theigl commented Jan 8, 2021

This is just a warning in current JDK versions. You can ignore it, or prevent Kryo from accessing Unsafe by starting your process with:

-Dkryo.unsafe=false

See #626 and #543

@theigl theigl closed this as completed Jan 8, 2021
@iamrecursion
Copy link

I should note that with JEP 403 landing this will become a hard error in JDK 17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants