JDK-8294240 : Release Note: Throw Error if default java.security file fails to load
  • Type: Sub-task
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2022-09-22
  • Updated: 2022-10-27
  • Resolved: 2022-10-27
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 20
20Resolved
Description
A behavioral change has been made in the case where the default `conf/security/java.security` security configuration file fails to load. In such a scenario, the JDK will now throw an `InternalError`. 

Such a scenario should never occur. The default security file should always be present. Prior to this change, a static and outdated security configuration was loaded.