On Sat, 20 Dec 2025 03:15:39 GMT, Ioi Lam <[email protected]> wrote: > This test checks for a warning message that's printed by > `sun.util.locale.BaseLocale.<clinit>` during the AOT cache training run. > Because `BaseLocale` is AOT-initialized, `BaseLocale.<clinit>` is not > executed when the test is running with an AOT cache, so the message is not > printed. > > Since this message was already printed in the AOT training run, it's not > necessary to print it again in the AOT production run. We should exclude the > test case in the `JTREG_AOT_JDK=onestep` test mode.
This pull request has now been integrated. Changeset: 4b8eda30 Author: Ioi Lam <[email protected]> URL: https://git.openjdk.org/jdk/commit/4b8eda30474b99a9f1065e5cea9d8c2fb859bab2 Stats: 6 lines in 1 file changed: 6 ins; 0 del; 0 mod 8373983: java/util/Locale/UseOldISOCodesTest.java fails with JTREG_AOT_JDK=onestep Reviewed-by: naoto ------------- PR: https://git.openjdk.org/jdk/pull/28938
