A bit more, more streaming issues. I might need to rework some stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3985 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -125,6 +125,10 @@ public class ObjectInputStream
|
||||
? Streamer.getStreamerByClass(type as Class)
|
||||
: Streamer.getStreamerByJavaName(type as String);
|
||||
|
||||
if (streamer == Streamer.BAD_STREAMER) {
|
||||
throw new Error("Cannot field stream " + type);
|
||||
}
|
||||
|
||||
var obj :Object = streamer.createObject(this);
|
||||
streamer.readObject(obj, this);
|
||||
return obj;
|
||||
|
||||
Reference in New Issue
Block a user