RFR: 8261937: LambdaForClassInBaseArchive: SimpleApp$$Lambda$1 missing [v2]

Calvin Cheung ccheung at openjdk.java.net
Tue Mar 9 22:05:08 UTC 2021


On Tue, 9 Mar 2021 21:54:04 GMT, Daniel D. Daugherty <dcubed at openjdk.org> wrote:

>> Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   improves the shouldMatch
>
> test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/LambdaForClassInBaseArchive.java line 78:
> 
>> 76:             .assertNormalExit(out -> {
>> 77:                     out.shouldHaveExitValue(0)
>> 78:                        .shouldMatch("Archiving hidden SimpleApp[$][$]Lambda[$][\\d+]*");
> 
> That a zero-or-more digit match or a one-or-more digit match?
> I think the pattern should require 1 or more digits.

The `\\d+` means one or more digits.

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

PR: https://git.openjdk.java.net/jdk/pull/2897


More information about the hotspot-runtime-dev mailing list