JDK-8292297 : Fix up loading of override java.security properties file
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: java.security
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-08-12
  • Updated: 2023-01-02
  • Resolved: 2022-09-19
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 17 JDK 20
17.0.7-oracleFixed 20 b16Fixed
Related Reports
Relates :  
Description
Currently, the properties from the master properties file can be overridden even if the override file can't be accessed or doesn't exist. 

use of the loadedProps variable removed also once JDK-8155246 is fixed up
Comments
Fix request [17u] I backport this for parity with 17.0.7-oracle. A fix for security coding. Breaking this coding bears risk, but not fixing the issue is bad, too. I had to adapt the coding because an optimization change was not backported. Test passes. SAP nightly testing passes.
29-12-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/996 Date: 2022-12-29 10:04:07 +0000
29-12-2022

Changeset: 1f9ff413 Author: Sean Coffey <coffeys@openjdk.org> Date: 2022-09-19 15:21:46 +0000 URL: https://git.openjdk.org/jdk/commit/1f9ff413126fb68e07b8fc1f36dd3cb17093a484
19-09-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10251 Date: 2022-09-13 14:58:11 +0000
13-09-2022