< prev index next >

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

Print this page

        

*** 167,177 **** * Store the values into the locked port file. */ public void setValues(int port, long cookie) throws IOException { Assert.check(lock != null); rwfile.seek(0); ! // Write the magic nr that identifes a port file. rwfile.writeInt(magicNr); rwfile.writeInt(port); rwfile.writeLong(cookie); myServerPort = port; myServerCookie = cookie; --- 167,177 ---- * Store the values into the locked port file. */ public void setValues(int port, long cookie) throws IOException { Assert.check(lock != null); rwfile.seek(0); ! // Write the magic nr that identifies a port file. rwfile.writeInt(magicNr); rwfile.writeInt(port); rwfile.writeLong(cookie); myServerPort = port; myServerCookie = cookie;
< prev index next >