8261937: LambdaForClassInBaseArchive: SimpleApp$$Lambda$1 missing

Reviewed-by: iklam, dcubed
This commit is contained in:
Calvin Cheung 2021-03-09 21:52:51 +00:00
parent 2218e7268e
commit 3212f80a80

View File

@ -75,7 +75,7 @@ public class LambdaForClassInBaseArchive extends DynamicArchiveTestBase {
appClass, "lambda")
.assertNormalExit(out -> {
out.shouldHaveExitValue(0)
.shouldContain("Archiving hidden SimpleApp$$Lambda$1");
.shouldMatch("Archiving hidden SimpleApp[$][$]Lambda[$][\\d+]*");
});
// Run with both base and dynamic archives. The SimpleApp class