JDK-8275671 : Release Note: Change the java.security.manager System Property Default Value to disallow
  • Type: Sub-task
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 18
  • Priority: P3
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2021-10-20
  • Updated: 2022-02-09
  • Resolved: 2022-02-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 18
18Resolved
Description
The default value of the `java.security.manager` system property has been changed to `disallow`. Unless the system property is set to `allow` on the command line, any invocation of `System.setSecurityManager(SecurityManager)` with a non-null argument will throw an `UnsupportedOperationException`.