Wrote /root/JavaX-Caches/tmp_234910155/main.java - 2075 bytes (written=2075, should be 2075) 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_1812958709 /root/JavaX-Caches/tmp_234910155/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_234910155/main.java:1: error: class, interface, or enum expected ifndef SymbolAsString ^ /root/JavaX-Caches/tmp_234910155/main.java:4: error: class, interface, or enum expected public int hashCode(Symbol symbol) { ret symbol.text.hashCode(); } ^ /root/JavaX-Caches/tmp_234910155/main.java:4: error: class, interface, or enum expected public int hashCode(Symbol symbol) { ret symbol.text.hashCode(); } ^ /root/JavaX-Caches/tmp_234910155/main.java:5: error: class, interface, or enum expected public bool equals(Symbol a, Symbol b) { ^ /root/JavaX-Caches/tmp_234910155/main.java:7: error: class, interface, or enum expected ret b != null && eq(a.text, b.text); ^ /root/JavaX-Caches/tmp_234910155/main.java:8: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_234910155/main.java:11: error: class, interface, or enum expected static WeakHasherMap<MasterSymbol, Bool> masterSymbol_map = new WeakHasherMap(new Hasher<MasterSymbol>() { ^ /root/JavaX-Caches/tmp_234910155/main.java:12: error: class, interface, or enum expected public int hashCode(MasterSymbol symbol) { ret symbol.lowerCaseHash(); } ^ /root/JavaX-Caches/tmp_234910155/main.java:12: error: class, interface, or enum expected public int hashCode(MasterSymbol symbol) { ret symbol.lowerCaseHash(); } ^ /root/JavaX-Caches/tmp_234910155/main.java:13: error: class, interface, or enum expected public bool equals(MasterSymbol a, MasterSymbol b) { ^ /root/JavaX-Caches/tmp_234910155/main.java:15: error: class, interface, or enum expected ret b != null && eq(a.lowerCase(), b.lowerCase()); ^ /root/JavaX-Caches/tmp_234910155/main.java:16: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_234910155/main.java:19: error: class, interface, or enum expected endifndef ^ /root/JavaX-Caches/tmp_234910155/main.java:24: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_234910155/main.java:27: error: class, interface, or enum expected synchronized(symbol_map) { ^ /root/JavaX-Caches/tmp_234910155/main.java:29: error: class, interface, or enum expected MasterSymbol existingMaster = masterSymbol_map.findKey(master); ^ /root/JavaX-Caches/tmp_234910155/main.java:30: error: class, interface, or enum expected if (existingMaster == null) ^ /root/JavaX-Caches/tmp_234910155/main.java:32: error: class, interface, or enum expected ifdef symbol_debug ^ /root/JavaX-Caches/tmp_234910155/main.java:35: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_234910155/main.java:39: error: class, interface, or enum expected if (isEq) ret existingMaster; ^ /root/JavaX-Caches/tmp_234910155/main.java:42: error: class, interface, or enum expected Symbol symbol = new Symbol(s, existingMaster); ^ /root/JavaX-Caches/tmp_234910155/main.java:43: error: class, interface, or enum expected Symbol existingSymbol = symbol_map.findKey(symbol); ^ /root/JavaX-Caches/tmp_234910155/main.java:44: error: class, interface, or enum expected if (existingSymbol == null) ^ /root/JavaX-Caches/tmp_234910155/main.java:46: error: class, interface, or enum expected ifdef symbol_debug ^ /root/JavaX-Caches/tmp_234910155/main.java:49: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_234910155/main.java:52: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_234910155/main.java:58: error: class, interface, or enum expected ifdef SymbolAsString ^ /root/JavaX-Caches/tmp_234910155/main.java:60: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_234910155/main.java:63: error: class, interface, or enum expected if (s instanceof S) ret symbol((S) s); ^ /root/JavaX-Caches/tmp_234910155/main.java:64: error: class, interface, or enum expected ret symbol(str(s)); ^ /root/JavaX-Caches/tmp_234910155/main.java:65: error: class, interface, or enum expected endifndef ^ /root/JavaX-Caches/tmp_234910155/main.java:70: error: class, interface, or enum expected } ^ 32 errors