-
Bug
-
Resolution: Fixed
-
Normal
-
5.5.0
-
None
-
None
-
None
Steps to Reproduce
Run Issue1028Test in keikai.test
Current Result
...adoptopenjdk-11.jdk/Contents/Home/bin/java ...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.lowagie.text.pdf.MappedRandomAccessFile$1 (file:/Users/henri/.m2/repository/com/lowagie/itext/2.1.7/itext-2.1.7.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
Expected Result
No such warning
Debug Information
Seems has something to do since Java 9 change some security check
There is an forked open source version "OpenPdf" which might solve this issue (It is backward compatible to iText 2.1.7)
https://github.com/LibrePDF/OpenPDF
Workaround
- relates to
-
KEIKAI-639 iText 2.1 security vulnerability
- Closed