Illegal reflective access operation warning with iText PDF FontFactory.registerDirectories() and Java 11
问题 Is it possible to avoid Illegal reflective access operation warning with iText PDF FontFactory.registerDirectories() and Java 11 ? Steps for reproducing the problem: Install OpenJDK 11 . Add iText PDF library v5.5.13.2 to your Java project. Call com.itextpdf.text.FontFactory.registerDirectories() . See the warning: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.itextpdf.text.io.ByteBufferRandomAccessSource$1 to method java.nio