On Tue, 13 May 2025 23:13:42 GMT, Igor Veresov <[email protected]> wrote:
>> test/hotspot/jtreg/runtime/cds/appcds/aotProfile/AOTProfileFlags.java line
>> 115:
>>
>>> 113:
>>> 114: out = CDSTestUtils.executeAndLog(pb, "production_failure");
>>> 115: out.shouldContain("does not equal");
>>
>> Since all the flags have `Profile` in them, I think we should use this to
>> match the intended output:
>>
>>
>> String errorPattern = "Profile.* setting .* does not equal the current
>> .*Profile.* setting";
>> out.shouldNotMatch(errorPattern);
>> ...
>> out.shouldMatch(errorPattern);
>
> `SpecTrapLimitExtraEntries` does not.
Fixed. Take a look.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24886#discussion_r2087775255