Wrote /root/JavaX-Caches/tmp_1669321511/main.java - 1720 bytes (written=1720, should be 1720)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_217473196 /root/JavaX-Caches/tmp_1669321511/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1669321511/main.java:1: error: class, interface, or enum expected
static bool compressedOOPSEnabled_is64bitHotSpot;
^
/root/JavaX-Caches/tmp_1669321511/main.java:2: error: class, interface, or enum expected
static bool compressedOOPSEnabled_compressedOOPS;
^
/root/JavaX-Caches/tmp_1669321511/main.java:3: error: class, interface, or enum expected
static bool compressedOOPSEnabled_checked;
^
/root/JavaX-Caches/tmp_1669321511/main.java:5: error: class, interface, or enum expected
static bool compressedOOPSEnabled() {
^
/root/JavaX-Caches/tmp_1669321511/main.java:8: error: class, interface, or enum expected
S OS_ARCH = System.getProperty("os.arch");
^
/root/JavaX-Caches/tmp_1669321511/main.java:9: error: class, interface, or enum expected
S MANAGEMENT_FACTORY_CLASS = "java.lang.management.ManagementFactory";
^
/root/JavaX-Caches/tmp_1669321511/main.java:10: error: class, interface, or enum expected
S HOTSPOT_BEAN_CLASS = "com.sun.management.HotSpotDiagnosticMXBean";
^
/root/JavaX-Caches/tmp_1669321511/main.java:12: error: class, interface, or enum expected
S x = System.getProperty("sun.arch.data.model");
^
/root/JavaX-Caches/tmp_1669321511/main.java:13: error: class, interface, or enum expected
bool is64Bit = contains(or(x, OS_ARCH), "64");
^
/root/JavaX-Caches/tmp_1669321511/main.java:15: error: class, interface, or enum expected
if (is64Bit) {
^
/root/JavaX-Caches/tmp_1669321511/main.java:17: error: class, interface, or enum expected
final Class> beanClazz = Class.forName(HOTSPOT_BEAN_CLASS);
^
/root/JavaX-Caches/tmp_1669321511/main.java:18: error: class, interface, or enum expected
final Object hotSpotBean = Class.forName(MANAGEMENT_FACTORY_CLASS).getMethod("getPlatformMXBean", Class.class)
^
/root/JavaX-Caches/tmp_1669321511/main.java:18: error: expected
final Object hotSpotBean = Class.forName(MANAGEMENT_FACTORY_CLASS).getMethod("getPlatformMXBean", Class.class)
^
/root/JavaX-Caches/tmp_1669321511/main.java:20: error: class, interface, or enum expected
if (hotSpotBean != null) {
^
/root/JavaX-Caches/tmp_1669321511/main.java:23: error: class, interface, or enum expected
final Method getVMOptionMethod = beanClazz.getMethod("getVMOption", String.class);
^
/root/JavaX-Caches/tmp_1669321511/main.java:23: error: expected
final Method getVMOptionMethod = beanClazz.getMethod("getVMOption", String.class);
^
/root/JavaX-Caches/tmp_1669321511/main.java:24: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_1669321511/main.java:25: error: class, interface, or enum expected
final Object vmOption = getVMOptionMethod.invoke(hotSpotBean, "UseCompressedOops");
^
/root/JavaX-Caches/tmp_1669321511/main.java:26: error: class, interface, or enum expected
compressedOOPSEnabled_compressedOOPS = Boolean.parseBoolean(vmOption.getClass().getMethod("getValue").invoke(vmOption).toString());
^
/root/JavaX-Caches/tmp_1669321511/main.java:27: error: class, interface, or enum expected
} catch (ReflectiveOperationException | RuntimeException e) {
^
/root/JavaX-Caches/tmp_1669321511/main.java:29: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1669321511/main.java:33: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1669321511/main.java:37: error: class, interface, or enum expected
ret compressedOOPSEnabled_compressedOOPS;
^
/root/JavaX-Caches/tmp_1669321511/main.java:38: error: class, interface, or enum expected
}
^
24 errors