test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/CustomPackage.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
open Cdiff test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/CustomPackage.java
test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/CustomPackage.java
Print this page
*** 77,87 ****
"-XX:+UnlockDiagnosticVMOptions",
"--patch-module=java.naming=" + moduleJar,
"-Xlog:class+load",
"-Xlog:class+path=info",
"PatchMain", "javax.naming.myspi.NamingManager")
! .assertSilentlyDisabledCDS(out -> {
! out.shouldHaveExitValue(0)
! .shouldContain("I pass!");
! });
}
}
--- 77,84 ----
"-XX:+UnlockDiagnosticVMOptions",
"--patch-module=java.naming=" + moduleJar,
"-Xlog:class+load",
"-Xlog:class+path=info",
"PatchMain", "javax.naming.myspi.NamingManager")
! .assertSilentlyDisabledCDS(0, "I pass!");
}
}
test/hotspot/jtreg/runtime/appcds/jigsaw/PatchModule/CustomPackage.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File