[lworld] RFR: 8372954: [lworld] Remove old implementation of the substitutability test method [v4]

Dan Heidinga heidinga at openjdk.org
Tue Feb 3 15:37:08 UTC 2026


On Tue, 3 Feb 2026 15:18:13 GMT, Paul Hübner <phubner at openjdk.org> wrote:

>> Hi all,
>> 
>> This change removes the old substitutability test method. The new/alt substitutability test takes the place of the legacy test, and all identifiers with "alt" are removed.
>> 
>> Testing: tiers 1-5 on Linux (x64, AArch64), macOS (x64, AArch64), Windows (x64).
>
> Paul Hübner 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 15 additional commits since the last revision:
> 
>  - Comment enhancement
>  - Merge branch 'lworld' of https://github.com/openjdk/valhalla into JDK-8372954
>  - Merge branch 'lworld' of https://github.com/openjdk/valhalla into JDK-8372954
>  - Missed obsolete test
>  - Years
>  - Merge branch 'lworld' of https://github.com/openjdk/valhalla into JDK-8372954
>  - substitutability contract changed
>  - Legacy handling in ProcessHandleImpl
>  - typo
>  - Test flags
>  - ... and 5 more: https://git.openjdk.org/valhalla/compare/e8715d92...cdce2b10

src/hotspot/share/classfile/classFileParser.cpp line 1398:

> 1396: 
> 1397:   // two more slots are required for inline classes:
> 1398:   //   - one for the static field with a reference to the pre-allocated default value

//   - one for the static .null_reset field used to reset a nullable field when null is written to it.

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/2012#discussion_r2759680097


More information about the valhalla-dev mailing list