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:
Ray Greenwell
2006-03-28 02:02:22 +00:00
parent 538803e1fb
commit 90e4017801
8 changed files with 39 additions and 15 deletions
@@ -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;