< prev index next >
test/hotspot/jtreg/serviceability/sa/TestClassDump.java
Print this page
*** 74,85 ****
throw new RuntimeException("jtreg_classes2/java/math/BigInteger.class not expected");
}
if (Files.notExists(Paths.get("jtreg_classes2", "sun", "util", "calendar", "BaseCalendar.class"))) {
throw new RuntimeException("jtreg_classes2/sun/util/calendar/BaseCalendar.class not found");
}
! if (Files.notExists(Paths.get("jtreg_classes2", "jdk", "internal", "vm", "PostVMInitHook.class"))) {
! throw new RuntimeException("jtreg_classes2/jdk/internal/vm/PostVMInitHook.class not found");
}
}
public static void main(String[] args) throws Exception {
if (!Platform.shouldSAAttach()) {
--- 74,85 ----
throw new RuntimeException("jtreg_classes2/java/math/BigInteger.class not expected");
}
if (Files.notExists(Paths.get("jtreg_classes2", "sun", "util", "calendar", "BaseCalendar.class"))) {
throw new RuntimeException("jtreg_classes2/sun/util/calendar/BaseCalendar.class not found");
}
! if (Files.notExists(Paths.get("jtreg_classes2", "jdk", "internal", "loader", "BootLoader.class"))) {
! throw new RuntimeException("jtreg_classes2/jdk/internal/loader/BootLoader.class not found");
}
}
public static void main(String[] args) throws Exception {
if (!Platform.shouldSAAttach()) {
< prev index next >