Wrote /tmp/tmp_1661540184/main.java - 681 bytes (written=681, should be 681) ecj -source 1.8 -target 1.8 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar -d /tmp/tmp_838516792 /tmp/tmp_1661540184/main.java [Compilation Error]

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

java.lang.RuntimeException: Java compiler returned errors. Annotation processing got disabled, since it requires a 1.6 compliant JVM ---------- 1. ERROR in /tmp/tmp_1661540184/main.java (at line 1) static void setOptAllDyn(DynamicObject o, Map<S, O> fields) { ^^^^ Syntax error on token "void", @ expected ---------- 2. ERROR in /tmp/tmp_1661540184/main.java (at line 1) static void setOptAllDyn(DynamicObject o, Map<S, O> fields) { ^^^^^^^^^^^^^ Syntax error on token "DynamicObject", ( expected after this token ---------- 3. ERROR in /tmp/tmp_1661540184/main.java (at line 1) static void setOptAllDyn(DynamicObject o, Map<S, O> fields) {\r if (fields == null) ret; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, AnnotationName expected instead ---------- 4. ERROR in /tmp/tmp_1661540184/main.java (at line 2) if (fields == null) ret; ^ Syntax error on token ";", ( expected ---------- 5. ERROR in /tmp/tmp_1661540184/main.java (at line 3) HashMap<S, Field> fieldMap = instanceFieldsMap(o); ^ Syntax error on token "=", <= expected ---------- 6. ERROR in /tmp/tmp_1661540184/main.java (at line 3) HashMap<S, Field> fieldMap = instanceFieldsMap(o);\r for (Map.Entry<S, O> e : fields.entrySet()) { ^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 7. ERROR in /tmp/tmp_1661540184/main.java (at line 4) for (Map.Entry<S, O> e : fields.entrySet()) { ^ Syntax error on token ":", :: expected ---------- 8. ERROR in /tmp/tmp_1661540184/main.java (at line 4) for (Map.Entry<S, O> e : fields.entrySet()) {\r S field = e.getKey(); ^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 9. ERROR in /tmp/tmp_1661540184/main.java (at line 5) S field = e.getKey();\r O val = e.getValue(); ^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 10. ERROR in /tmp/tmp_1661540184/main.java (at line 6) O val = e.getValue();\r bool has = fieldMap.containsKey(field); ^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 11. ERROR in /tmp/tmp_1661540184/main.java (at line 7) bool has = fieldMap.containsKey(field);\r if (has) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 12. ERROR in /tmp/tmp_1661540184/main.java (at line 9) setOpt(o, field, val);\r else { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, ( expected instead ---------- 13. ERROR in /tmp/tmp_1661540184/main.java (at line 11) o.fieldValues = syncMapPut2_createLinkedHashMap(o.fieldValues, intern(field), val);\r ifdef setOptAllDyn_debug ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 14. ERROR in /tmp/tmp_1661540184/main.java (at line 13) print("setOptAllDyn added dyn " + field + " to " + o + " [value: " + val + ", fieldValues = " + systemHashCode(o.fieldValues) + ", " + struct(keys(o.fieldValues)) + "]"); ^^^ Syntax error, insert ")" to complete MethodInvocation ---------- 15. ERROR in /tmp/tmp_1661540184/main.java (at line 13) print("setOptAllDyn added dyn " + field + " to " + o + " [value: " + val + ", fieldValues = " + systemHashCode(o.fieldValues) + ", " + struct(keys(o.fieldValues)) + "]"); ^^^ Syntax error, insert ")" to complete Expression ---------- 16. ERROR in /tmp/tmp_1661540184/main.java (at line 13) print("setOptAllDyn added dyn " + field + " to " + o + " [value: " + val + ", fieldValues = " + systemHashCode(o.fieldValues) + ", " + struct(keys(o.fieldValues)) + "]"); ^^^ Syntax error, insert ")" to complete MethodInvocation ---------- 17. ERROR in /tmp/tmp_1661540184/main.java (at line 13) print("setOptAllDyn added dyn " + field + " to " + o + " [value: " + val + ", fieldValues = " + systemHashCode(o.fieldValues) + ", " + struct(keys(o.fieldValues)) + "]"); ^^^ Syntax error, insert ")" to complete MethodInvocation ---------- 18. ERROR in /tmp/tmp_1661540184/main.java (at line 13) print("setOptAllDyn added dyn " + field + " to " + o + " [value: " + val + ", fieldValues = " + systemHashCode(o.fieldValues) + ", " + struct(keys(o.fieldValues)) + "]"); ^^^ Syntax error, insert ")" to complete SingleMemberAnnotation ---------- 19. ERROR in /tmp/tmp_1661540184/main.java (at line 13) print("setOptAllDyn added dyn " + field + " to " + o + " [value: " + val + ", fieldValues = " + systemHashCode(o.fieldValues) + ", " + struct(keys(o.fieldValues)) + "]"); ^^^ Syntax error, insert "enum Identifier" to complete EnumHeaderName ---------- 20. ERROR in /tmp/tmp_1661540184/main.java (at line 13) print("setOptAllDyn added dyn " + field + " to " + o + " [value: " + val + ", fieldValues = " + systemHashCode(o.fieldValues) + ", " + struct(keys(o.fieldValues)) + "]"); ^^^ Syntax error, insert "EnumBody" to complete CompilationUnit ---------- 20 problems (20 errors) Options file: /tmp/javax2993008493181801976