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

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

/root/JavaX-Caches/tmp_809435791/main.java:1: error: class, interface, or enum expected static S fastu_fromUtf8(byte[] data) { ^ /root/JavaX-Caches/tmp_809435791/main.java:3: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_809435791/main.java:7: error: class, interface, or enum expected int len = 0, offset = i; ^ /root/JavaX-Caches/tmp_809435791/main.java:8: error: class, interface, or enum expected n += i; ^ /root/JavaX-Caches/tmp_809435791/main.java:9: error: class, interface, or enum expected while (offset < n) { ^ /root/JavaX-Caches/tmp_809435791/main.java:13: error: class, interface, or enum expected len++; ^ /root/JavaX-Caches/tmp_809435791/main.java:14: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:15: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_809435791/main.java:17: error: class, interface, or enum expected if ((data[offset] & 0xE0) == 0xC0) { ^ /root/JavaX-Caches/tmp_809435791/main.java:19: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:20: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:21: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:22: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:23: error: class, interface, or enum expected } else if ((data[offset] & 0xF0) == 0xE0) { ^ /root/JavaX-Caches/tmp_809435791/main.java:25: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:26: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:27: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:28: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:29: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:30: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:31: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:32: error: class, interface, or enum expected } else if ((data[offset] & 0xF8) == 0xF0) { ^ /root/JavaX-Caches/tmp_809435791/main.java:34: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:35: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:36: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:37: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:38: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:39: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:40: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:41: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:42: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:43: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:44: error: class, interface, or enum expected } else if ((data[offset] & 0xFC) == 0xF8) { ^ /root/JavaX-Caches/tmp_809435791/main.java:46: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:47: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:48: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:49: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:50: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:51: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:52: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:53: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:54: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:55: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:56: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:57: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:58: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:59: error: class, interface, or enum expected } else if ((data[offset] & 0xFE) == 0xFC) { ^ /root/JavaX-Caches/tmp_809435791/main.java:61: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:62: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:63: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:64: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:65: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:66: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:67: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:68: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:69: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:70: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:71: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:72: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:73: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:74: error: class, interface, or enum expected uc <<= 6; ^ /root/JavaX-Caches/tmp_809435791/main.java:75: error: class, interface, or enum expected uc |= (int) (data[offset] & 0x3F); ^ /root/JavaX-Caches/tmp_809435791/main.java:76: error: class, interface, or enum expected offset++; ^ /root/JavaX-Caches/tmp_809435791/main.java:77: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_809435791/main.java:80: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_809435791/main.java:83: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_809435791/main.java:88: error: class, interface, or enum expected if (codePoint < Character.MIN_SUPPLEMENTARY_CODE_POINT) { ^ /root/JavaX-Caches/tmp_809435791/main.java:90: error: class, interface, or enum expected ret ++index; ^ /root/JavaX-Caches/tmp_809435791/main.java:91: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_809435791/main.java:93: error: class, interface, or enum expected dst[index + 1] = (char) ((offset & 0x3ff) + Character.MIN_LOW_SURROGATE); ^ /root/JavaX-Caches/tmp_809435791/main.java:94: error: class, interface, or enum expected dst[index] = (char) ((offset >>> 10) + Character.MIN_HIGH_SURROGATE); ^ /root/JavaX-Caches/tmp_809435791/main.java:95: error: class, interface, or enum expected ret index + 2; ^ /root/JavaX-Caches/tmp_809435791/main.java:96: error: class, interface, or enum expected } ^ 73 errors