1.1 --- a/src/share/classes/com/sun/tools/sjavac/server/JavacServer.java Thu Sep 19 17:05:08 2013 +0200 1.2 +++ b/src/share/classes/com/sun/tools/sjavac/server/JavacServer.java Thu Sep 19 08:26:26 2013 -0700 1.3 @@ -464,7 +464,7 @@ 1.4 PrintStream err) { 1.5 int rc = -3; 1.6 try { 1.7 - int port = portFile.getPort(); 1.8 + int port = portFile.containsPortInfo() ? portFile.getPort() : 0; 1.9 if (port == 0) { 1.10 return ERROR_BUT_TRY_AGAIN; 1.11 }