Enhanced debuggery, reenabled new streaming bits because now they should really

really work.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4705 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-05-09 01:17:13 +00:00
parent cf949410ce
commit 84855f8fe0
6 changed files with 24 additions and 31 deletions
@@ -70,6 +70,10 @@ public class ObjectOutputStream
throw new Error("Too many unique classes written to ObjectOutputStream");
}
if (ObjectInputStream.DEBUG) {
log.debug("Assigning class code [code=" + cmap.code + ", class=" + cname + "].");
}
writeShort(-cmap.code);
writeUTF((streamer == null) ? Translations.getToServer(cname)
: streamer.getJavaClassName());