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

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

/root/JavaX-Caches/tmp_538231869/main.java:1: error: class, interface, or enum expected please include function webs_readTripleFileAsTriples. ^ /root/JavaX-Caches/tmp_538231869/main.java:5: error: class, interface, or enum expected Iterator<S> it = linesFromFile(f); ^ /root/JavaX-Caches/tmp_538231869/main.java:6: error: class, interface, or enum expected final new L<S> names; ^ /root/JavaX-Caches/tmp_538231869/main.java:7: error: class, interface, or enum expected while (it.hasNext()) { ^ /root/JavaX-Caches/tmp_538231869/main.java:9: error: class, interface, or enum expected if (empty(s)) break; ^ /root/JavaX-Caches/tmp_538231869/main.java:10: error: class, interface, or enum expected names.add(intern(unquote(s))); ^ /root/JavaX-Caches/tmp_538231869/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_538231869/main.java:13: error: class, interface, or enum expected final new L<Pair<TripleWeb, Int>> triples; ^ /root/JavaX-Caches/tmp_538231869/main.java:15: error: class, interface, or enum expected int poolSize = numberOfCores(), queueSize = 10000; ^ /root/JavaX-Caches/tmp_538231869/main.java:16: error: class, interface, or enum expected NotifyingBlockingThreadPoolExecutor e = new(poolSize, queueSize, 15, TimeUnit.SECONDS); ^ /root/JavaX-Caches/tmp_538231869/main.java:17: error: class, interface, or enum expected print("Using " + poolSize + " cores."); ^ /root/JavaX-Caches/tmp_538231869/main.java:19: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_538231869/main.java:21: error: class, interface, or enum expected for (fS s : iterable(it)) { ^ /root/JavaX-Caches/tmp_538231869/main.java:23: error: class, interface, or enum expected final int _i = i; ^ /root/JavaX-Caches/tmp_538231869/main.java:24: error: class, interface, or enum expected e.execute(r { pcall { ^ /root/JavaX-Caches/tmp_538231869/main.java:26: error: class, interface, or enum expected if (t != null) synchronized(triples) { ^ /root/JavaX-Caches/tmp_538231869/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_538231869/main.java:30: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_538231869/main.java:32: error: class, interface, or enum expected e.awaitTermination(1, TimeUnit.DAYS); ^ /root/JavaX-Caches/tmp_538231869/main.java:33: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_538231869/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_538231869/main.java:38: error: class, interface, or enum expected } ^ 22 errors