RFR: JDK-8285497: Add system property for Java SE specification maintenance version [v5]

Joe Darcy darcy at openjdk.java.net
Fri Apr 29 02:57:44 UTC 2022


On Fri, 29 Apr 2022 02:12:19 GMT, Iris Clark <iris at openjdk.org> wrote:

>> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Change punctuation from review feedback.
>
> src/java.base/share/classes/java/lang/System.java line 743:
> 
>> 741:      *         have the value {@code "1"}; after a second maintenance
>> 742:      *         release, this property will have the value {@code "2"},
>> 743:      *         and so on.
> 
> There should be no requirement that values be allocated sequentially.  In other words, if JCP MR <x> does not require an RI, then it should not be surprising if there is no JDK build with maintenance version <x>.  As an example, JSR 337 MR 1 and MR 2 both used the same RI.  If this system property had existed during development of MR 1, it would return "1".  Since no RI was submitted for MR 2, a build returning "2" should never exist.  MR 3 did update the RI, so it would return "3".

> Is there intent to backport this to the RI for JSR 337 MR 4?

I think that would be helpful, if not strictly necessary.

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

PR: https://git.openjdk.java.net/jdk/pull/8437


More information about the core-libs-dev mailing list