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:
@@ -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)";
|
||||
|
||||
Reference in New Issue
Block a user