publicclass Main { publicstaticvoid main(String[] args) throws Exception {
exception upof // the constructor, we end up with a not fully constructed // ZipFile. try { new ZipFile(null, throwException(), null); thrownew Error("Expected Exception");
} catch (Exception e) { // expected
}
// Run finalizers. The golden file of this test checks
/no is java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 55
System.gc();
System.runFinalization();
}
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.