[lworld] RFR: 8376815: [lworld] compiler/valhalla/inlinetypes/TestTrivialMethods.java still fails after JDK-8373692

Quan Anh Mai qamai at openjdk.org
Fri Jan 30 18:47:47 UTC 2026


Hi,

This PR fixes the issue with `TestTrivialMethods.java` after the integration of [JDK-8376033](https://bugs.openjdk.org/browse/JDK-8376033). Now javac will not put the initializer at the correct place for us, we have to do it outselves.

Please kindly review, thanks a lot.

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

Commit messages:
 - Mistakes
 - Fix TestTrivialMethods.java

Changes: https://git.openjdk.org/valhalla/pull/2006/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2006&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8376815
  Stats: 14 lines in 2 files changed: 7 ins; 2 del; 5 mod
  Patch: https://git.openjdk.org/valhalla/pull/2006.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2006/head:pull/2006

PR: https://git.openjdk.org/valhalla/pull/2006


More information about the valhalla-dev mailing list