On Mon, 1 Dec 2025 19:46:37 GMT, Joe Darcy <[email protected]> wrote:

>> Nizar Benalla has updated the pull request with a new target base due to a 
>> merge or a rebase. The incremental webrev excludes the unrelated changes 
>> brought in by the merge/rebase. The pull request contains 17 additional 
>> commits since the last revision:
>> 
>>  - problem list failing test
>>  - Merge branch 'master' into start-of-release-27
>>  - expand start of release documentation
>>  - Merge branch 'master' into start-of-release-27
>>  - Changes required for hard 80 character line limit
>>  - Update --release 26 symbol information for JDK 26 build 25
>>    The macOS/AArch64 build 25 was taken from https://jdk.java.net/26/
>>  - revert MAX_COLUMNS to 80
>>  - Update LATEST_MAJOR_VERSION in Versions.java
>>  - Merge branch 'master' into start-of-release-27
>>  - Merge branch 'master' into start-of-release-27
>>  - ... and 7 more: https://git.openjdk.org/jdk/compare/eae9329d...e5214614
>
> src/java.base/share/classes/java/lang/reflect/ClassFileFormatVersion.java 
> line 394:
> 
>> 392:      *
>> 393:      * @see <a
>> 394:      * 
>> href="https://docs.oracle.com/en/java/javase/27/docs/specs/jvms/index.html";>
> 
> Presumably the analagous URL update should be done here as in 
> ClassFileFormatVersion for the JLS instead of the JVMS.

Fixed in 
https://github.com/openjdk/jdk/pull/28130/commits/4bf97a8ab5a134ab592f7a84b7e1dc130d04a845;
 Good catch!

> src/jdk.compiler/share/classes/com/sun/tools/javac/main/Option.java line 1368:
> 
>> 1366:     }
>> 1367: 
>> 1368:     private static String formatAbbreviatedList(Collection<String> 
>> values) {
> 
> I think changing the policy here is okay, but it should be better documented 
> in comments here.
> 
> Additionally, it assume there will be a dense collection of supported values 
> between the 4 th and (n-3) rd. That is currently the de facto policy, but is 
> not ironclad. This assumption should also be documented.

Extracted and fixed in a separate issue  
https://github.com/openjdk/jdk/commit/8a28a76451b2bbde49c1c051cb66c784f9e3cdd2

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28130#discussion_r2584514802
PR Review Comment: https://git.openjdk.org/jdk/pull/28130#discussion_r2584513205

Reply via email to