RFR: JDK-8285497: Add system property for Java SE specification maintenance version [v4]
Mark Reinhold
mr at openjdk.java.net
Thu Apr 28 23:59:42 UTC 2022
On Thu, 28 Apr 2022 20:54:29 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> Add a new system property, java.specification.maintenance.version, to return the maintenance release number of the Java SE specification being implemented. The property is unset, optional in the terminology of System.getProperties, for an initial release of a specification.
>>
>> Please also review the CSR https://bugs.openjdk.java.net/browse/JDK-8285764
>>
>> I'll update copyright years before an integration.
>
> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>
> Respond to review feedback; make sequence of values explicit.
src/java.base/share/classes/java/lang/System.java line 740:
> 738: * <a href="https://jcp.org/en/procedures/jcp2#3.6.4">maintenance
> 739: * release</a> <em>(optional)</em>.
> 740: * After a first maintenance release, this property will
Separate independent clauses with a semicolon: `After a first maintenance release this property will have the value {@code "1"}; after a second maintenance release it will have the value {@code "2"}, and so on.`
-------------
PR: https://git.openjdk.java.net/jdk/pull/8437
More information about the core-libs-dev
mailing list