Added a potentially dangerous temporary hack to deal with people not having compatible CreateAccountCredentials, and being told that our servers are down
when they try to create an account. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3298 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: BasicStreamers.java,v 1.3 2004/08/27 02:12:36 mdb Exp $
|
||||
// $Id$
|
||||
//
|
||||
// Narya library - tools for developing networked games
|
||||
// Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved
|
||||
@@ -297,7 +297,13 @@ public class BasicStreamers
|
||||
public Object createObject (ObjectInputStream in)
|
||||
throws IOException
|
||||
{
|
||||
return in.readUTF();
|
||||
try {
|
||||
return in.readUTF();
|
||||
} catch (java.io.EOFException eofe) {
|
||||
// TODO: remove all this and just return in.readUTF();
|
||||
System.err.println("Hack: read EOF as null.");
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// documentation inherited
|
||||
|
||||
Reference in New Issue
Block a user