Skip to content
Permalink
Browse files
8272793: [lworld] Test CustomClassListDump.java fails with Pattern "C…
…ustomLoadee id: [0-9]+ super: [0-9]+ source: .*/custom.jar" not found in classlist
  • Loading branch information
fparain committed Aug 20, 2021
1 parent aaa7401 commit 7553793769d50844a89b1607c623435f5a713944
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/hotspot/jtreg/runtime/cds/appcds/customLoader/CustomClassListDump.java
@@ -74,13 +74,13 @@ public static void main(String[] args) throws Exception {

String listData = new String(Files.readAllBytes(Paths.get(classList)));
check(listData, true, "CustomLoaderApp id: [0-9]+");
check(listData, true, "CustomLoadee id: [0-9]+ super: [0-9]+ source: .*/custom.jar");
check(listData, true, "CustomLoadee id: [0-9]+ super: [0-9]+ interfaces: [0-9]+ source: .*/custom.jar");
check(listData, true, "CustomInterface2_ia id: [0-9]+ super: [0-9]+ source: .*/custom.jar");
check(listData, true, "CustomInterface2_ib id: [0-9]+ super: [0-9]+ source: .*/custom.jar");
check(listData, true, "CustomLoadee2 id: [0-9]+ super: [0-9]+ interfaces: [0-9]+ [0-9]+ source: .*/custom.jar");
check(listData, true, "CustomLoadee3 id: [0-9]+ super: [0-9]+ source: .*/custom.jar");
check(listData, true, "CustomLoadee2 id: [0-9]+ super: [0-9]+ interfaces: [0-9]+ [0-9]+ [0-9]+ source: .*/custom.jar");
check(listData, true, "CustomLoadee3 id: [0-9]+ super: [0-9]+ interfaces: [0-9]+ source: .*/custom.jar");
check(listData, true, "CustomLoadee3Child id: [0-9]+ super: [0-9]+ source: .*/custom.jar");
check(listData, true, "CustomLoadee4WithLambda id: [0-9]+ super: [0-9]+ source: .*/custom.jar");
check(listData, true, "CustomLoadee4WithLambda id: [0-9]+ super: [0-9]+ interfaces: [0-9]+ source: .*/custom.jar");

// We don't support archiving of Lambda proxies for custom loaders.
check(listData, false, "@lambda-proxy.*CustomLoadee4WithLambda");

0 comments on commit 7553793

Please sign in to comment.