Report from brown team, engaged in Operation Slam Your Dick in a Door:
"Still purple and bruised, sir!" I'm working around more bugs. In theory everything should log in and join the chat room, but the browser crashes- every single time. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3986 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -53,7 +53,7 @@ public class ObjectInputStream
|
||||
Log.debug("read cname: " + cname);
|
||||
var streamer :Streamer = Streamer.getStreamerByJavaName(cname);
|
||||
if (streamer == Streamer.BAD_STREAMER) {
|
||||
Log.warning("OMG, cannot stream" + cname);
|
||||
Log.warning("OMG, cannot stream " + cname);
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -129,8 +129,23 @@ public class ObjectInputStream
|
||||
throw new Error("Cannot field stream " + type);
|
||||
}
|
||||
|
||||
var obj :Object = streamer.createObject(this);
|
||||
streamer.readObject(obj, this);
|
||||
var obj :Object;
|
||||
if (streamer != null) {
|
||||
obj = streamer.createObject(this);
|
||||
|
||||
} else {
|
||||
// create the streamable object, either by class or name
|
||||
var c :Class;
|
||||
if (type is Class) {
|
||||
c = (type as Class);
|
||||
} else {
|
||||
c = ClassUtil.getClassByName(
|
||||
Translations.getFromServer(type as String));
|
||||
}
|
||||
obj = new c();
|
||||
}
|
||||
|
||||
readBareObjectImpl(obj, streamer);
|
||||
return obj;
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user