PascalSchumacher commented on PR #175: URL: https://github.com/apache/pdfbox/pull/175#issuecomment-1879142587
> I'm wondering whether calls like `setAccessible(true)` will make trouble in newer java versions. Aren't these "unsafe"? I don't remember the details, I just remember that certain calls would be forbidden by default. Yes, on Java 16+ `reflection to access the non-public elements of java.* packages, and all elements of sun.* and other internal packages` is forbidden by default and has to be explicitly enabled, see: https://openjdk.org/jeps/396`https://openjdk.org/jeps/396 for details. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org