Warning message when running under Java versions 9 / 10 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.poi.poifs.nio.FileBackedDataSource$1 (file:/name_of_Jar_file) to method java.nio.DirectByteBuffer.cleaner() WARNING: Please consider reporting this to the maintainers of org.apache.poi.poifs.nio.FileBackedDataSource$1 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
*** This bug has been marked as a duplicate of bug 62151 ***
We are seeing this as well on Java 11. Additionally on Windows this also seems to mean that the file is not getting properly closed. An exception is being catched in FileBackedDataSource.unmap(): class org.apache.poi.poifs.nio.FileBackedDataSource$1 cannot access class jdk.internal.ref.Cleaner (in module java.base) because module java.base does not export jdk.internal.ref to unnamed module
Markus - this issue is closed as a duplicate - could you comment on https://bz.apache.org/bugzilla/show_bug.cgi?id=62151 ?