src/jdk.compiler/share/classes/com/sun/tools/sjavac/server/ServerMain.java

Print this page
rev 2657 : [mq]: sjavac-start-process

@@ -44,12 +44,12 @@
 
         int exitCode;
         try {
             SjavacServer server = new SjavacServer(args[0], System.err);
             exitCode = server.startServer();
-        } catch (IOException ioex) {
-            ioex.printStackTrace();
+        } catch (IOException | InterruptedException ex) {
+            ex.printStackTrace();
             exitCode = -1;
         }
 
         return exitCode;
     }