Skip to content

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

Description

@phobrain

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions