2 years ago
#68849
keiki
How do I know in Java 17 which library is still relying on -add-opens or if I can remove it?
We recently moved to Java 17. For a few libraries we had to add "--add-opens" parameter to open java internal classes for reflection calls. We wanna get rid of those once Java 17 is widely adapted.
Is there a good way without trial and error to remove those in the future? Any way to get warning again for using it like we had before without downgrading of course?
Thanks in advance
java
java-module
java-17
0 Answers
Your Answer