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

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

/root/JavaX-Caches/tmp_1347129461/main.java:1: error: class, interface, or enum expected static Map<JTable, VF1<JTable>> setTableModel_after = weakHashMap(); ^ /root/JavaX-Caches/tmp_1347129461/main.java:2: error: class, interface, or enum expected static Map<JTable, VF2<JTable, RowSorter>> setTableModel_fixSorter = weakHashMap(); ^ /root/JavaX-Caches/tmp_1347129461/main.java:4: error: class, interface, or enum expected static void setTableModel(final JTable table, final TableModel model) { ^ /root/JavaX-Caches/tmp_1347129461/main.java:4: error: class, interface, or enum expected static void setTableModel(final JTable table, final TableModel model) { ^ /root/JavaX-Caches/tmp_1347129461/main.java:4: error: class, interface, or enum expected static void setTableModel(final JTable table, final TableModel model) { ^ /root/JavaX-Caches/tmp_1347129461/main.java:7: error: class, interface, or enum expected int[] i = table.getSelectedRows(); ^ /root/JavaX-Caches/tmp_1347129461/main.java:8: error: class, interface, or enum expected TableRowSorter sorter = model.getColumnCount() == tableColumnCount(table) ? (TableRowSorter) table.getRowSorter() : null; ^ /root/JavaX-Caches/tmp_1347129461/main.java:9: error: class, interface, or enum expected L<? extends RowSorter.SortKey> sortKeys = sorter == null ? null : sorter.getSortKeys(); ^ /root/JavaX-Caches/tmp_1347129461/main.java:10: error: class, interface, or enum expected table.setModel(model); ^ /root/JavaX-Caches/tmp_1347129461/main.java:11: error: class, interface, or enum expected int n = model.getRowCount(); ^ /root/JavaX-Caches/tmp_1347129461/main.java:12: error: class, interface, or enum expected ListSelectionModel sel = table.getSelectionModel(); ^ /root/JavaX-Caches/tmp_1347129461/main.java:13: error: class, interface, or enum expected for (int j = 0; j < i.length; j++) ^ /root/JavaX-Caches/tmp_1347129461/main.java:13: error: class, interface, or enum expected for (int j = 0; j < i.length; j++) ^ /root/JavaX-Caches/tmp_1347129461/main.java:13: error: class, interface, or enum expected for (int j = 0; j < i.length; j++) ^ /root/JavaX-Caches/tmp_1347129461/main.java:16: error: class, interface, or enum expected tableSetColumnPreferredWidths(table, widths); ^ /root/JavaX-Caches/tmp_1347129461/main.java:17: error: class, interface, or enum expected if (sorter != null) { ^ /root/JavaX-Caches/tmp_1347129461/main.java:19: error: class, interface, or enum expected callF(setTableModel_fixSorter.get(table), table, sorter); ^ /root/JavaX-Caches/tmp_1347129461/main.java:21: error: class, interface, or enum expected if (sortKeys != null) sorter.setSortKeys(sortKeys); ^ /root/JavaX-Caches/tmp_1347129461/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1347129461/main.java:24: error: class, interface, or enum expected callF(setTableModel_after.get(table), table); ^ /root/JavaX-Caches/tmp_1347129461/main.java:25: error: class, interface, or enum expected } ^ 21 errors