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:
@@ -239,7 +239,7 @@ public class InstrumentStreamableTask extends Task
|
|||||||
} else if (type.equals(CtClass.doubleType) || type.getName().equals("java.lang.Double")) {
|
} else if (type.equals(CtClass.doubleType) || type.getName().equals("java.lang.Double")) {
|
||||||
return "ins.readDouble()";
|
return "ins.readDouble()";
|
||||||
} else {
|
} else {
|
||||||
return "(" + type.getSimpleName() + ")ins.readObject()";
|
return "(" + type.getName() + ")ins.readObject()";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user