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

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

/root/JavaX-Caches/tmp_2096946513/main.java:5: error: class, interface, or enum expected sclass HTMLPopDownButton { ^ /root/JavaX-Caches/tmp_2096946513/main.java:7: error: class, interface, or enum expected int width = 200, height = 200; ^ /root/JavaX-Caches/tmp_2096946513/main.java:9: error: class, interface, or enum expected S id = "dropdown-" + aGlobalID(), outerID = "outer-" + id; ^ /root/JavaX-Caches/tmp_2096946513/main.java:11: error: class, interface, or enum expected S onclick = replaceDollarVars([[ ^ /root/JavaX-Caches/tmp_2096946513/main.java:13: error: class, interface, or enum expected x.style.display = window.getComputedStyle(x).display === "none" ? "block" : "none"; ^ /root/JavaX-Caches/tmp_2096946513/main.java:14: error: class, interface, or enum expected console.log("popup " + id + " display: " + x.style.display); ^ /root/JavaX-Caches/tmp_2096946513/main.java:15: error: class, interface, or enum expected ]], $id := jsQuote(id)); ^ /root/JavaX-Caches/tmp_2096946513/main.java:17: error: class, interface, or enum expected *(S... entries) { this.entries = asList(entries); } ^ /root/JavaX-Caches/tmp_2096946513/main.java:17: error: class, interface, or enum expected *(S... entries) { this.entries = asList(entries); } ^ /root/JavaX-Caches/tmp_2096946513/main.java:20: error: class, interface, or enum expected void add(S entry) { main add(this.entries, entry); } ^ /root/JavaX-Caches/tmp_2096946513/main.java:21: error: class, interface, or enum expected void addAll(S... entries) { main addAll(this.entries, entries); } ^ /root/JavaX-Caches/tmp_2096946513/main.java:25: error: illegal character: '#' #$id ul { ^ /root/JavaX-Caches/tmp_2096946513/main.java:27: error: class, interface, or enum expected margin: 0; ^ /root/JavaX-Caches/tmp_2096946513/main.java:28: error: class, interface, or enum expected padding: 0; ^ /root/JavaX-Caches/tmp_2096946513/main.java:29: error: class, interface, or enum expected width: ]] + width + [[px; ^ /root/JavaX-Caches/tmp_2096946513/main.java:30: error: class, interface, or enum expected background-color: #f1f1f1; ^ /root/JavaX-Caches/tmp_2096946513/main.java:30: error: illegal character: '#' background-color: #f1f1f1; ^ /root/JavaX-Caches/tmp_2096946513/main.java:31: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096946513/main.java:33: error: illegal character: '#' #$id { ^ /root/JavaX-Caches/tmp_2096946513/main.java:35: error: class, interface, or enum expected display:none; ^ /root/JavaX-Caches/tmp_2096946513/main.java:36: error: class, interface, or enum expected background-color: #f9f9f9; ^ /root/JavaX-Caches/tmp_2096946513/main.java:36: error: illegal character: '#' background-color: #f9f9f9; ^ /root/JavaX-Caches/tmp_2096946513/main.java:37: error: class, interface, or enum expected width:auto; ^ /root/JavaX-Caches/tmp_2096946513/main.java:38: error: class, interface, or enum expected height: ]] + height + [[px; ^ /root/JavaX-Caches/tmp_2096946513/main.java:39: error: class, interface, or enum expected overflow: auto; ^ /root/JavaX-Caches/tmp_2096946513/main.java:41: error: class, interface, or enum expected min-width: 160px; ^ /root/JavaX-Caches/tmp_2096946513/main.java:42: error: class, interface, or enum expected box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); ^ /root/JavaX-Caches/tmp_2096946513/main.java:44: error: class, interface, or enum expected z-index: 99; ^ /root/JavaX-Caches/tmp_2096946513/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096946513/main.java:47: error: illegal character: '#' #$id li a { ^ /root/JavaX-Caches/tmp_2096946513/main.java:49: error: class, interface, or enum expected color: #000; ^ /root/JavaX-Caches/tmp_2096946513/main.java:49: error: illegal character: '#' color: #000; ^ /root/JavaX-Caches/tmp_2096946513/main.java:50: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096946513/main.java:52: error: illegal character: '#' #$id li { ^ /root/JavaX-Caches/tmp_2096946513/main.java:54: error: class, interface, or enum expected border-bottom: 1px solid #555; ^ /root/JavaX-Caches/tmp_2096946513/main.java:54: error: illegal character: '#' border-bottom: 1px solid #555; ^ /root/JavaX-Caches/tmp_2096946513/main.java:55: error: class, interface, or enum expected padding: 8px 16px; ^ /root/JavaX-Caches/tmp_2096946513/main.java:56: error: class, interface, or enum expected color: #000; ^ /root/JavaX-Caches/tmp_2096946513/main.java:56: error: illegal character: '#' color: #000; ^ /root/JavaX-Caches/tmp_2096946513/main.java:57: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096946513/main.java:73: error: illegal character: '#' #$id li:hover, #$id li:hover > a { ^ /root/JavaX-Caches/tmp_2096946513/main.java:73: error: illegal character: '#' #$id li:hover, #$id li:hover > a { ^ /root/JavaX-Caches/tmp_2096946513/main.java:74: error: illegal character: '#' background-color: #3399ff; ^ /root/JavaX-Caches/tmp_2096946513/main.java:75: error: class, interface, or enum expected color: white; ^ /root/JavaX-Caches/tmp_2096946513/main.java:76: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096946513/main.java:84: error: unclosed character literal if (typeof $ !== 'undefined') ^ /root/JavaX-Caches/tmp_2096946513/main.java:84: error: unclosed character literal if (typeof $ !== 'undefined') ^ /root/JavaX-Caches/tmp_2096946513/main.java:85: error: unclosed character literal $('body').click(function(e) { ^ /root/JavaX-Caches/tmp_2096946513/main.java:85: error: unclosed character literal $('body').click(function(e) { ^ /root/JavaX-Caches/tmp_2096946513/main.java:87: error: unclosed character literal if (!$(e.target).closest('#$outerID').length) { ^ /root/JavaX-Caches/tmp_2096946513/main.java:87: error: unclosed character literal if (!$(e.target).closest('#$outerID').length) { ^ /root/JavaX-Caches/tmp_2096946513/main.java:90: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096946513/main.java:92: error: class, interface, or enum expected ]], +id, +outerID)); ^ /root/JavaX-Caches/tmp_2096946513/main.java:93: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2096946513/main.java:95: error: class, interface, or enum expected selfType width(int width) { this.width = width; this; } ^ /root/JavaX-Caches/tmp_2096946513/main.java:95: error: class, interface, or enum expected selfType width(int width) { this.width = width; this; } ^ /root/JavaX-Caches/tmp_2096946513/main.java:96: error: class, interface, or enum expected selfType height(int height) { this.height = height; this; } ^ /root/JavaX-Caches/tmp_2096946513/main.java:96: error: class, interface, or enum expected selfType height(int height) { this.height = height; this; } ^ 58 errors