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

java WARNING: MMapBuffer Illegal reflective access operation to field java.io.FileDescriptor.fd #79

Open
phobrain opened this issue Mar 22, 2023 · 0 comments

Comments

@phobrain
Copy link

How wrong might this be?

Gradle (per maven in README):

implementation group: 'org.xerial.larray', name: 'larray_2.12', version: '0.4.0'

Java:

openjdk version "11.0.18" 2023-01-17

Code:

new MMapBuffer(new File(floatFile), MMapMode.READ_ONLY);

Full warning:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by xerial.larray.mmap.MMapBuffer (file:/home/epqe/pr_git/pr/proj/pairs/build/libs/pairs-all-1.0.jar) to field java.io.FileDescriptor.fd
WARNING: Please consider reporting this to the maintainers of xerial.larray.mmap.MMapBuffer
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
@phobrain phobrain changed the title java WARNING: Illegal reflective access operation to field java.io.FileDescriptor.fd java WARNING: MMapBuffer Illegal reflective access operation to field java.io.FileDescriptor.fd Mar 22, 2023
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