[jdk17] RFR: 8268349: Provide clear run-time warnings about Security Manager deprecation [v4]

Weijun Wang weijun at openjdk.java.net
Thu Jun 17 17:14:27 UTC 2021


On Thu, 17 Jun 2021 16:27:41 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   add bug id into a test
>
> src/java.base/share/classes/java/lang/System.java line 330:
> 
>> 328: 
>> 329:     // Remember original System.err. setSecurityManager() warning goes here
>> 330:     private static volatile @Stable PrintStream originalErrStream = null;
> 
> I'd probably use "initial" rather than "original" here but okay. You can drop setting it to null as that is its default value.

Will do. Thanks.

-------------

PR: https://git.openjdk.java.net/jdk17/pull/13



More information about the security-dev mailing list