publicclass Main { publicstaticvoid main(String[] args) throws Exception { // Inline methods that sometimes throw.
$noinline$assertEquals(-1000, $noinline$testThrowsWithZero(0));
$noinline$assertEquals(1, $noinline$testThrowsWithZero(1));
// Tests that we can correctly inline even when the throw is not caught. try {
$noinline$testThrowNotCaught(0);
unreachable();
} catch (Error expected) {
}
}
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.