RFR: 8373983: java/util/Locale/UseOldISOCodesTest.java fails with JTREG_AOT_JDK=onestep

khanbilal732 duke at openjdk.org
Mon Dec 22 18:05:44 UTC 2025


On Sat, 20 Dec 2025 03:15:39 GMT, Ioi Lam <iklam at openjdk.org> 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.

Marked as reviewed by khanbilal732 at github.com (no known OpenJDK username).

Marked as reviewed by khanbilal732 at github.com (no known OpenJDK username).

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

PR Review: https://git.openjdk.org/jdk/pull/28938#pullrequestreview-3600847786
PR Review: https://git.openjdk.org/jdk/pull/28938#pullrequestreview-3600867977


More information about the core-libs-dev mailing list