对方法java.nio.DirectByteBuffer.cleaner()的非法反射访问

时间:2018-01-16 16:56:23

标签: java

我正在使用jpdfbookmarks和2.5.2版本。

$ jpdfbookmarks_cli spec.pdf -dump -o orig.jpdf
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.lowagie.text.pdf.MappedRandomAccessFile$1 (file:/home/t/program_files/document/bookmark/jpdfbookmarks-2.5.2/lib/iText-2.1.7-patched.jar) to method java.nio.DirectByteBuffer.cleaner()
WARNING: Please consider reporting this to the maintainers of com.lowagie.text.pdf.MappedRandomAccessFile$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

我想知道如何避免警告中的问题?

感谢。

0 个答案:

没有答案