/// CHECK-START: void Main.main(java.lang.String[]) builder (after) /// CHECK: StaticFieldGet klass:Main[] exact:true /// CHECK: ArrayGet klass:Main exact:true /// CHECK: BoundType klass:Main exact:true publicstaticvoid main(String[] args) {
Object o = null;
Main f = a[0]; for (int i = 0; i < 2; ++i) { // We used to crash in the fixed point iteration of // the reference type propagation while handling the instanceof: // we were expecting `o` to get the same exact-ness as the // `HBoundType` but the typing of the `ArrayGet` used to not // propagate the exact-ness. if (o instanceof Main) {
field = o;
}
o = f;
} if (field != null) { thrownew Error("Expected null");
}
}
static Main[] a = new Main[1]; static Object field;
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-06-29)
¤
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.