larray icon indicating copy to clipboard operation
larray copied to clipboard

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

Open phobrain opened this issue 2 years ago • 0 comments

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 avatar Mar 22 '23 11:03 phobrain