// Build the set of locations expected in the Image
Consumer<Path> c = (p) -> { // take only the .class resources. if (Files.isRegularFile(p) && p.toString().endsWith(".class")
&& !p.toString().endsWith("module-info.class")) {
String loc = p.toString().substring("/modules".length());
bootClasses.add(loc);
}
};
if (bootClasses.isEmpty()) { thrownew RuntimeException("No boot class to check against");
}
File jdkHome = new File(System.getProperty("test.jdk"));
Helper helper = Helper.newHelper(); if (helper == null) { // Skip test if the jmods directory is missing (e.g. exploded image)
System.err.println("Test not run, NO jmods directory"); return;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.