RFR: 8257450: Start of release updates for JDK 17 [v2]
Alan Bateman
alanb at openjdk.java.net
Tue Dec 8 07:48:13 UTC 2020
On Mon, 7 Dec 2020 21:14:55 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> test/jdk/java/lang/module/ClassFileVersionsTest.java line 107:
>>
>>> 105: { 61, 0, Set.of(STATIC, TRANSITIVE) },
>>> 106:
>>> 107: { 62, 0, Set.of()}, // JDK 18
>>
>> This seems unduly repetitive. Could this be dynamically generated, perhaps in a future release?
>
> I've had similar thoughts; that strikes me as a fine RFE for after this fork. I see what the code is doing, but haven't delved into the module system details to understand exactly the rationale for these tests. In any case, filed the RFE JDK-8257856: "Make ClassFileVersionsTest.java robust to JDK version updates."
There was a change to JVMS 4.7.25 in Java 10 to add a rule for the requires_flags that are allowed. This is why this test started was created to test 53.0 vs. 54.0 class files. It wasn't intended to be a burden to update at each release so I'll re-implement it.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1531
More information about the build-dev
mailing list