Wrote /root/JavaX-Caches/tmp_925722838/main.java - 122486 bytes (written=122486, should be 122486) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -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:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_589994936 /root/JavaX-Caches/tmp_925722838/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_925722838/main.java:1: error: modifier static not allowed here static abstract class PircBot implements ReplyConstants { ^ /root/JavaX-Caches/tmp_925722838/main.java:1: error: cannot find symbol static abstract class PircBot implements ReplyConstants { ^ symbol: class ReplyConstants /root/JavaX-Caches/tmp_925722838/main.java:33: error: cannot find symbol public final synchronized void connect(String hostname) throws IOException, IrcException, NickAlreadyInUseException { ^ symbol: class IOException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:33: error: cannot find symbol public final synchronized void connect(String hostname) throws IOException, IrcException, NickAlreadyInUseException { ^ symbol: class IrcException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:33: error: cannot find symbol public final synchronized void connect(String hostname) throws IOException, IrcException, NickAlreadyInUseException { ^ symbol: class NickAlreadyInUseException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:49: error: cannot find symbol public final synchronized void connect(String hostname, int port) throws IOException, IrcException, NickAlreadyInUseException { ^ symbol: class IOException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:49: error: cannot find symbol public final synchronized void connect(String hostname, int port) throws IOException, IrcException, NickAlreadyInUseException { ^ symbol: class IrcException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:49: error: cannot find symbol public final synchronized void connect(String hostname, int port) throws IOException, IrcException, NickAlreadyInUseException { ^ symbol: class NickAlreadyInUseException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:67: error: cannot find symbol public final synchronized void connect(String hostname, int port, String password) throws IOException, IrcException, NickAlreadyInUseException { ^ symbol: class IOException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:67: error: cannot find symbol public final synchronized void connect(String hostname, int port, String password) throws IOException, IrcException, NickAlreadyInUseException { ^ symbol: class IrcException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:67: error: cannot find symbol public final synchronized void connect(String hostname, int port, String password) throws IOException, IrcException, NickAlreadyInUseException { ^ symbol: class NickAlreadyInUseException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:187: error: cannot find symbol public final synchronized void reconnect() throws IOException, IrcException, NickAlreadyInUseException{ ^ symbol: class IOException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:187: error: cannot find symbol public final synchronized void reconnect() throws IOException, IrcException, NickAlreadyInUseException{ ^ symbol: class IrcException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:187: error: cannot find symbol public final synchronized void reconnect() throws IOException, IrcException, NickAlreadyInUseException{ ^ symbol: class NickAlreadyInUseException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:677: error: cannot find symbol public final DccFileTransfer dccSendFile(File file, String nick, int timeout) { ^ symbol: class File location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:677: error: cannot find symbol public final DccFileTransfer dccSendFile(File file, String nick, int timeout) { ^ symbol: class DccFileTransfer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:690: error: cannot find symbol protected final void dccReceiveFile(File file, long address, int port, int size) { ^ symbol: class File location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:719: error: cannot find symbol public final DccChat dccSendChatRequest(String nick, int timeout) { ^ symbol: class DccChat location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:779: error: cannot find symbol protected final DccChat dccAcceptChatRequest(String sourceNick, long address, int port) { ^ symbol: class DccChat location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:1200: error: cannot find symbol protected void onUserList(String channel, User[] users) {} ^ symbol: class User location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2104: error: cannot find symbol protected void onIncomingFileTransfer(DccFileTransfer transfer) {} ^ symbol: class DccFileTransfer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2125: error: cannot find symbol protected void onFileTransferFinished(DccFileTransfer transfer, Exception e) {} ^ symbol: class DccFileTransfer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2170: error: cannot find symbol protected void onIncomingChatRequest(DccChat chat) {} ^ symbol: class DccChat location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2586: error: cannot find symbol public void setEncoding(String charset) throws UnsupportedEncodingException { ^ symbol: class UnsupportedEncodingException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2617: error: cannot find symbol public InetAddress getInetAddress() { ^ symbol: class InetAddress location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2632: error: cannot find symbol public void setDccInetAddress(InetAddress dccInetAddress) { ^ symbol: class InetAddress location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2645: error: cannot find symbol public InetAddress getDccInetAddress() { ^ symbol: class InetAddress location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2788: error: cannot find symbol public final User[] getUsers(String channel) { ^ symbol: class User location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2861: error: cannot find symbol private final void addUser(String channel, User user) { ^ symbol: class User location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2877: error: cannot find symbol private final User removeUser(String channel, String nick) { ^ symbol: class User location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:3001: error: cannot find symbol private InputThread _inputThread = null; ^ symbol: class InputThread location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:3002: error: cannot find symbol private OutputThread _outputThread = null; ^ symbol: class OutputThread location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:3004: error: cannot find symbol private InetAddress _inetAddress = null; ^ symbol: class InetAddress location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:3012: error: cannot find symbol private Queue _outQueue = new Queue(); ^ symbol: class Queue location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:3017: error: cannot find symbol private Hashtable _channels = new Hashtable(); ^ symbol: class Hashtable location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:3021: error: cannot find symbol private Hashtable _topics = new Hashtable(); ^ symbol: class Hashtable location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:3024: error: cannot find symbol private DccManager _dccManager = new DccManager(this); ^ symbol: class DccManager location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:3026: error: cannot find symbol private InetAddress _dccInetAddress = null; ^ symbol: class InetAddress location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:74: error: cannot find symbol throw new IOException("The PircBot is already connected to an IRC server. Disconnect first."); ^ symbol: class IOException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:83: error: cannot find symbol Socket socket = new Socket(hostname, port); ^ symbol: class Socket location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:83: error: cannot find symbol Socket socket = new Socket(hostname, port); ^ symbol: class Socket location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:88: error: cannot find symbol InputStreamReader inputStreamReader = null; ^ symbol: class InputStreamReader location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:89: error: cannot find symbol OutputStreamWriter outputStreamWriter = null; ^ symbol: class OutputStreamWriter location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:92: error: cannot find symbol inputStreamReader = new InputStreamReader(socket.getInputStream(), getEncoding()); ^ symbol: class InputStreamReader location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:93: error: cannot find symbol outputStreamWriter = new OutputStreamWriter(socket.getOutputStream(), getEncoding()); ^ symbol: class OutputStreamWriter location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:97: error: cannot find symbol inputStreamReader = new InputStreamReader(socket.getInputStream()); ^ symbol: class InputStreamReader location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:98: error: cannot find symbol outputStreamWriter = new OutputStreamWriter(socket.getOutputStream()); ^ symbol: class OutputStreamWriter location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:101: error: cannot find symbol BufferedReader breader = new BufferedReader(inputStreamReader); ^ symbol: class BufferedReader location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:101: error: cannot find symbol BufferedReader breader = new BufferedReader(inputStreamReader); ^ symbol: class BufferedReader location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:102: error: cannot find symbol BufferedWriter bwriter = new BufferedWriter(outputStreamWriter); ^ symbol: class BufferedWriter location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:102: error: cannot find symbol BufferedWriter bwriter = new BufferedWriter(outputStreamWriter); ^ symbol: class BufferedWriter location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:106: error: cannot find symbol OutputThread.sendRawLine(this, bwriter, "PASS " + password); ^ symbol: variable OutputThread location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:109: error: cannot find symbol OutputThread.sendRawLine(this, bwriter, "NICK " + nick); ^ symbol: variable OutputThread location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:110: error: cannot find symbol OutputThread.sendRawLine(this, bwriter, "USER " + this.getLogin() + " 8 * :" + this.getVersion()); ^ symbol: variable OutputThread location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:112: error: cannot find symbol _inputThread = new InputThread(this, socket, breader, bwriter); ^ symbol: class InputThread location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:134: error: cannot find symbol OutputThread.sendRawLine(this, bwriter, "NICK " + nick); ^ symbol: variable OutputThread location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:139: error: cannot find symbol throw new NickAlreadyInUseException(line); ^ symbol: class NickAlreadyInUseException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:148: error: cannot find symbol throw new IrcException("Could not log into the IRC server: " + line); ^ symbol: class IrcException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:166: error: cannot find symbol _outputThread = new OutputThread(this, _outQueue); ^ symbol: class OutputThread location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:189: error: cannot find symbol throw new IrcException("Cannot reconnect to an IRC server because we were never connected to one previously!"); ^ symbol: class IrcException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:253: error: cannot find symbol new IdentServer(this, getLogin()); ^ symbol: class IdentServer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:678: error: cannot find symbol DccFileTransfer transfer = new DccFileTransfer(this, _dccManager, file, nick, timeout); ^ symbol: class DccFileTransfer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:678: error: cannot find symbol DccFileTransfer transfer = new DccFileTransfer(this, _dccManager, file, nick, timeout); ^ symbol: class DccFileTransfer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:720: error: cannot find symbol DccChat chat = null; ^ symbol: class DccChat location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:722: error: cannot find symbol ServerSocket ss = null; ^ symbol: class ServerSocket location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:727: error: cannot find symbol ss = new ServerSocket(0); ^ symbol: class ServerSocket location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:732: error: cannot find symbol ss = new ServerSocket(ports[i]); ^ symbol: class ServerSocket location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:742: error: cannot find symbol throw new IOException("All ports returned by getDccPorts() are in use."); ^ symbol: class IOException location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:749: error: cannot find symbol InetAddress inetAddress = getDccInetAddress(); ^ symbol: class InetAddress location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:759: error: cannot find symbol Socket socket = ss.accept(); ^ symbol: class Socket location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:764: error: cannot find symbol chat = new DccChat(this, nick, socket); ^ symbol: class DccChat location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:833: error: cannot find symbol StringTokenizer tokenizer = new StringTokenizer(line); ^ symbol: class StringTokenizer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:833: error: cannot find symbol StringTokenizer tokenizer = new StringTokenizer(line); ^ symbol: class StringTokenizer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:918: error: cannot find symbol else if ((tokenizer = new StringTokenizer(request)).countTokens() >= 5 && tokenizer.nextToken().equals("DCC")) { ^ symbol: class StringTokenizer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:942: error: cannot find symbol this.addUser(channel, new User("", sourceNick)); ^ symbol: class User location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:1058: error: cannot find symbol if (code == RPL_LIST) { ^ symbol: variable RPL_LIST location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:1075: error: cannot find symbol else if (code == RPL_TOPIC) { ^ symbol: variable RPL_TOPIC location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:1088: error: cannot find symbol else if (code == RPL_TOPICINFO) { ^ symbol: variable RPL_TOPICINFO location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:1089: error: cannot find symbol StringTokenizer tokenizer = new StringTokenizer(response); ^ symbol: class StringTokenizer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:1089: error: cannot find symbol StringTokenizer tokenizer = new StringTokenizer(response); ^ symbol: class StringTokenizer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:1106: error: cannot find symbol else if (code == RPL_NAMREPLY) { ^ symbol: variable RPL_NAMREPLY location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:1111: error: cannot find symbol StringTokenizer tokenizer = new StringTokenizer(response.substring(response.indexOf(" :") + 2)); ^ symbol: class StringTokenizer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:1111: error: cannot find symbol StringTokenizer tokenizer = new StringTokenizer(response.substring(response.indexOf(" :") + 2)); ^ symbol: class StringTokenizer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:1128: error: cannot find symbol this.addUser(channel, new User(prefix, nick)); ^ symbol: class User location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:1131: error: cannot find symbol else if (code == RPL_ENDOFNAMES) { ^ symbol: variable RPL_ENDOFNAMES location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:1135: error: cannot find symbol User[] users = this.getUsers(channel); ^ symbol: class User location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:1414: error: cannot find symbol StringTokenizer tok = new StringTokenizer(mode); ^ symbol: class StringTokenizer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:1414: error: cannot find symbol StringTokenizer tok = new StringTokenizer(mode); ^ symbol: class StringTokenizer location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2235: error: cannot find symbol this.sendRawLine("NOTICE " + sourceNick + " :\u0001TIME " + new Date().toString() + "\u0001"); ^ symbol: class Date location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2456: error: cannot find symbol return InputThread.MAX_LINE_LENGTH; ^ symbol: variable InputThread location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2790: error: cannot find symbol User[] userArray = new User[0]; ^ symbol: class User location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2790: error: cannot find symbol User[] userArray = new User[0]; ^ symbol: class User location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2792: error: cannot find symbol Hashtable users = (Hashtable) _channels.get(channel); ^ symbol: class Hashtable location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2792: error: cannot find symbol Hashtable users = (Hashtable) _channels.get(channel); ^ symbol: class Hashtable location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2794: error: cannot find symbol userArray = new User[users.size()]; ^ symbol: class User location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2795: error: cannot find symbol Enumeration enumeration = users.elements(); ^ symbol: class Enumeration location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2797: error: cannot find symbol User user = (User) enumeration.nextElement(); ^ symbol: class User location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2797: error: cannot find symbol User user = (User) enumeration.nextElement(); ^ symbol: class User location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2822: error: cannot find symbol Enumeration enumeration = _channels.keys(); ^ symbol: class Enumeration location: class PircBot /root/JavaX-Caches/tmp_925722838/main.java:2864: error: cannot find symbol Hashtable users = (Hashtable) _channels.get(channel); ^ symbol: class Hashtable location: class PircBot 100 errors only showing the first 100 errors, of 131 total; use -Xmaxerrs if you would like to see more