We need the fully qualified class name.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4697 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-05-07 19:50:05 +00:00
parent 4c73734afb
commit 9e0babe2e1
@@ -239,7 +239,7 @@ public class InstrumentStreamableTask extends Task
} else if (type.equals(CtClass.doubleType) || type.getName().equals("java.lang.Double")) {
return "ins.readDouble()";
} else {
return "(" + type.getSimpleName() + ")ins.readObject()";
return "(" + type.getName() + ")ins.readObject()";
}
}