From 7badbbd20f837cb1848c86bc34fb2c06ff8fe681 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Wed, 11 Aug 2010 00:42:32 +0000 Subject: [PATCH] This AssertionError is new. Mdb added it. It freaks something out in p-x. I suppose we could stop checking to see if a class's fields are all streamable once we see that it has custom writeObject() and readObject() methods, but those methods could call defaultWriteObject() or defaultReadObject(). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6121 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/io/FieldMarshaller.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/java/com/threerings/io/FieldMarshaller.java b/src/java/com/threerings/io/FieldMarshaller.java index 02dc362a3..70bb3276f 100644 --- a/src/java/com/threerings/io/FieldMarshaller.java +++ b/src/java/com/threerings/io/FieldMarshaller.java @@ -123,11 +123,6 @@ public abstract class FieldMarshaller fm = _marshallers.get(Streamable.class); } - // sanity check - if (fm == null) { - throw new AssertionError("Requested to marshal unsupported field " + field); - } - return fm; }