test/hotspot/jtreg/runtime/appcds/VerifierTest.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/test/hotspot/jtreg/runtime/appcds/VerifierTest.java Tue Oct 30 15:17:25 2018
--- new/test/hotspot/jtreg/runtime/appcds/VerifierTest.java Tue Oct 30 15:17:24 2018
*** 100,117 ****
--- 100,116 ----
throw new RuntimeException("Unknown option: " + subCaseId);
}
}
static void testset_0(String jar, String[] noAppClasses, String[] appClasses) throws Exception {
// Dumping should fail if the IgnoreUnverifiableClassesDuringDump
! // option is not enabled.
+ // IgnoreUnverifiableClassesDuringDump has been obsoleted.
! // Unverifiable classes won't be included in the CDS archive.
OutputAnalyzer output = TestCommon.dump(jar, appClasses,
CDS_LOGGING,
"-XX:+UnlockDiagnosticVMOptions",
"-XX:-IgnoreUnverifiableClassesDuringDump");
! output.shouldContain("Please remove the unverifiable classes");
output.shouldHaveExitValue(1);
! output.shouldHaveExitValue(0);
// By default, bad classes should be ignored during dumping.
TestCommon.testDump(jar, appClasses);
}
test/hotspot/jtreg/runtime/appcds/VerifierTest.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File