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

Daniel D.Daugherty dcubed at openjdk.java.net
Tue Mar 9 23:11:07 UTC 2021


On Tue, 9 Mar 2021 22:02:19 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

>> 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.

Thanks for clarifying (for my tired brain).

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

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


More information about the hotspot-runtime-dev mailing list