test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/AppClassInCP.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/AppClassInCP.java Sun Apr 8 23:07:23 2018
--- new/test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/AppClassInCP.java Sun Apr 8 23:07:23 2018
*** 95,107 ****
--- 95,102 ----
"-XX:+UnlockDiagnosticVMOptions",
"-cp", classPath,
"--patch-module=java.naming=" + moduleJar,
"-Xlog:class+load",
"PatchMain", "javax.naming.spi.NamingManager", "mypackage.Hello")
! .assertSilentlyDisabledCDS(out -> {
out.shouldHaveExitValue(0)
.shouldContain("CDS is disabled")
.shouldContain("I pass!")
.shouldContain("Hello!");
});
! .assertSilentlyDisabledCDS(0, "I pass!", "Hello!");
}
}
test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/AppClassInCP.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File