[jdk17] RFR: 8268349: Provide clear run-time warnings about Security Manager deprecation [v3]
Sean Mullan
mullan at openjdk.java.net
Thu Jun 17 14:08:40 UTC 2021
On Mon, 14 Jun 2021 22:34:03 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> More loudly and precise warning messages when a security manager is either enabled at startup or installed at runtime.
>>
>> This is new PR for the `openjdk/jdk17` repo copied from https://github.com/openjdk/jdk/pull/4400. A new commit is added.
>
> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
>
> new warning text again (6/14)
test/jdk/java/lang/System/SecurityManagerWarnings.java line 38:
> 36: import java.security.Permission;
> 37:
> 38: public class SecurityManagerWarnings {
This should probably have 8268349 in the @bug line.
test/jdk/java/security/ProtectionDomain/RecursionDebug.java line 91:
> 89: }
> 90:
> 91: System.setSecurityManager(null);
Why did this line need to be removed?
-------------
PR: https://git.openjdk.java.net/jdk17/pull/13
More information about the security-dev
mailing list