JDK-8339636 : Release Note: Support for Including Security Properties Files
  • Type: Sub-task
  • Component: security-libs
  • Affected Version: 24
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • OS: generic
  • CPU: generic
  • Submitted: 2024-09-06
  • Updated: 2025-03-07
  • Resolved: 2024-09-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 24
24Resolved
Description
The `java.security` security properties file, and those referred to by the `java.security.properties` system property, now support including other properties files. The directive `include <path-to-a-file>` can be used for this purpose. The effect of including a file is equivalent to defining its properties inline at the inclusion point. Find more information and examples in the [Security Properties Files Inclusion section](https://docs-uat.us.oracle.com/en/java/javase/24/security/security-properties-file.html#GUID-FF09EB34-CD27-4D1B-B55B-A4A4E6A0F039) of the Security Developer Guide and in JDK-8319333.

As a result of this change, the name `include` can no longer be used to define a property in a security properties file. If the name `include` is passed to the `java.security.Security::getProperty` or `::setProperty` APIs, an `IllegalArgumentException` is thrown.
Comments
Release note sub-tasks must end in either Resolved -> Delivered or Resolved -> Withdrawn.
27-09-2024

Moving to Resolved/Delivered as asked by [~mullan].
23-09-2024

[~mbalao] Some minor changes made. Looks good otherwise. We can add a link to the section in the Security Developer Guide later when it gets added. Please move to Resolved/Delivered after the code has been integrated.
11-09-2024