publicvoid run() throws Exception {
String[] args = { "-c", "java.lang.Object" };
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw); int rc = com.sun.tools.javap.Main.run(args, pw);
pw.close();
String out = sw.toString();
System.out.println(out);
String[] lines = out.split("\n"); // If ct.sym is being read, the output does not include // Code attributes, so check for Code attributes as a // way of detecting that ct.sym is not being used. if (lines.length < 50 || out.indexOf("Code:") == -1) thrownew Exception("unexpected output from javap");
}
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-06-10)
¤
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.