src/share/classes/com/sun/tools/sjavac/server/JavacServer.java

changeset 2039
0cfd5baa7154
parent 1504
22e417cdddee
child 2525
2eb010b6cb22
equal deleted inserted replaced
2038:8d1c48de706d 2039:0cfd5baa7154
462 SysInfo sysinfo, 462 SysInfo sysinfo,
463 PrintStream out, 463 PrintStream out,
464 PrintStream err) { 464 PrintStream err) {
465 int rc = -3; 465 int rc = -3;
466 try { 466 try {
467 int port = portFile.getPort(); 467 int port = portFile.containsPortInfo() ? portFile.getPort() : 0;
468 if (port == 0) { 468 if (port == 0) {
469 return ERROR_BUT_TRY_AGAIN; 469 return ERROR_BUT_TRY_AGAIN;
470 } 470 }
471 long cookie = portFile.getCookie(); 471 long cookie = portFile.getCookie();
472 472

mercurial