[jdk21u-dev] RFR: 8374433: java/util/Locale/PreserveTagCase.java does not run any tests

Roland Mesde duke at openjdk.org
Mon Feb 23 17:04:05 UTC 2026


Backporting JDK-8374433: java/util/Locale/PreserveTagCase.java does not run any tests.

This PR removes the static modifier from the JUnit test cases to ensure they execute properly.

For parity with Oracle JDK. Already backported to 25.

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

make test TEST=test/jdk/java/util/Locale/PreserveTagCase.java

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

Commit messages:
 - Backport 136ac0d10b92df8875f36c717e85595740b50ed2

Changes: https://git.openjdk.org/jdk21u-dev/pull/2627/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=2627&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8374433
  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/2627.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/2627/head:pull/2627

PR: https://git.openjdk.org/jdk21u-dev/pull/2627


More information about the jdk-updates-dev mailing list