Skip to content

Commit d27bbd8

Browse files
committed
Fix NoSuchMethod
1 parent 2bd269b commit d27bbd8

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎src/main/java/org/javacs/Main.java‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public static void main(String[] args) {
7777
}
7878
}
7979

80-
private static void run() {
80+
public static void run() {
8181
setRootFormat();
8282

8383
try {
@@ -117,7 +117,6 @@ public static void run(Socket connection) throws IOException {
117117

118118
server.installClient(launcher.getRemoteProxy());
119119
launcher.startListening();
120-
121-
LOG.info("Socket closed");
120+
LOG.info(String.format("java.version is %s", System.getProperty("java.version")));
122121
}
123122
}

0 commit comments

Comments
 (0)