ByteArray must be read with readField().

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4670 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2007-04-18 16:35:28 +00:00
parent 8f59462972
commit 86aae8809a
@@ -303,7 +303,7 @@ public class GenActionScriptTask extends Task
} else if (type.isArray()) {
if (Byte.TYPE.equals(type.getComponentType())) {
return "(ins.readObject() as ByteArray)";
return "(ins.readField() as ByteArray)";
} else {
return "(ins.readObject() as TypedArray)";