On Fri, 16 Jul 2021 20:52:08 GMT, Weijun Wang <wei...@openjdk.org> wrote:
> This is the last part of Post JEP 411 refactoring that makes > `@SuppressWarnings("removal")` more fine grained. This fix deals with all > client libs annotations that cover more than 10K bytes of code. src/java.desktop/unix/classes/sun/print/PrintServiceLookupProvider.java line 130: > 128: } > 129: > 130: osname = System.getProperty("os.name"); I suppose that you are relying on the default security settings which allow access to this property ? Do you have reason to believe that it is common to make this assumption in code in the JDK ? Why take the chance ? ------------- PR: https://git.openjdk.java.net/jdk/pull/4815