// At runtime, the Hello class should be loaded from the jar file // instead of from the shared archive since a class from a signed // jar shouldn't be dumped into the archive.
output = TestCommon.exec(signedJar, "-verbose:class", mainClass, mainArg);
// Test class exists in both signed JAR and unsigned JAR
String jars = signedJar + System.getProperty("path.separator") + unsignedJar;
output = TestCommon.dump(jars, TestCommon.list(mainClass), "-Xlog:cds+class=debug", mainClass, mainArg);
TestCommon.checkDump(output, skipMsg);
output.shouldNotContain(lambdaInArchive);
}
}
}
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.