[jdk25u-dev] RFR: 8375742: Test java/lang/invoke/MethodHandleProxies/Driver.java does not run Unnamed.java

Roland Mesde duke at openjdk.org
Wed Feb 18 21:49:38 UTC 2026


Backporting JDK-8375742: Test java/lang/invoke/MethodHandleProxies/Driver.java does not run Unnamed.java.

This PR fixes Driver.java which incorrectly ran Unnamed.java as a TestNG test instead of a main test, causing it to not execute; also fixes errors in Unnamed.java itself.

For parity with Oracle JDK.

Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:

make test TEST=test/jdk/java/lang/invoke/MethodHandleProxies/Driver.java

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

Commit messages:
 - Backport aaca0a2c1f3de06a1349ae9084e9e9dbec991421

Changes: https://git.openjdk.org/jdk25u-dev/pull/286/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=286&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8375742
  Stats: 6 lines in 2 files changed: 0 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk25u-dev/pull/286.diff
  Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/286/head:pull/286

PR: https://git.openjdk.org/jdk25u-dev/pull/286


More information about the jdk-updates-dev mailing list