RFR: 8357561: BootstrapLoggerTest does not work on Ubuntu 24 with LANG de_DE.UTF-8
Matthias Baesken
mbaesken at openjdk.org
Mon May 26 07:45:38 UTC 2025
On a 'german' Ubuntu 24 (LANG="de_DE.UTF-8") the jtreg test
java/lang/System/LoggerFinder/internal/BootstrapLogger/BootstrapLoggerTest fails with
FEIN: hi now!
java.lang.RuntimeException: System.err does not contain: FINE: hi now!
at BootstrapLoggerTest.main(BootstrapLoggerTest.java:231)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1447)
The test (and some others in :tier1 as well) do not work with non en/US LANG, so they need an adjustment.
-------------
Commit messages:
- JDK-8357561
Changes: https://git.openjdk.org/jdk/pull/25441/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25441&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8357561
Stats: 16 lines in 3 files changed: 12 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/25441.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25441/head:pull/25441
PR: https://git.openjdk.org/jdk/pull/25441
More information about the core-libs-dev
mailing list