[jdk11u-ri] RFR: 8285497: Add system property for Java SE specification maintenance version [v2]

Christoph Langer clanger at openjdk.org
Fri Feb 24 21:50:18 UTC 2023


On Thu, 23 Feb 2023 19:11:39 GMT, Justin Lu <jlu at openjdk.org> wrote:

>> This PR adds the system property: _java.specification.maintenance.version_ with a value of 2. This change is done towards the Reference Implementation of the proposed Java SE 11 Maintenance Release 2 (https://mail.openjdk.org/pipermail/jdk8u-dev/2023-February/016710.html).
>
> Justin Lu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Backported change should reflect original commit's copyright year

Marked as reviewed by clanger (Reviewer).

src/java.base/share/classes/sun/security/provider/PolicyFile.java line 612:

> 610:                                     SecurityConstants.PROPERTY_READ_ACTION));
> 611:                 pe.add(new PropertyPermission
> 612:                         ("java.specification.maintenance.version",

the indentation is not in sync with the lines above and below, maybe you could fix this.

src/java.base/share/conf/security/java.policy line 34:

> 32:                    "java.specification.version", "read";
> 33:     permission java.util.PropertyPermission
> 34:                        "java.specification.maintenance.version", "read";

Same here, indentation could be fixed so as to be in sync with line 32.

src/java.base/share/native/libjava/System.c line 210:

> 208:             VERSION_SPECIFICATION);
> 209:     PUTPROP(props, "java.specification.maintenance.version",
> 210:                     "2");

Same here, please check rows above and below.

-------------

PR: https://git.openjdk.org/jdk11u-ri/pull/5


More information about the jdk-updates-dev mailing list