Commit 96cf4b21 authored by Eric Bruneton's avatar Eric Bruneton

Merge branch 'improve-bytevector'

parents eaf3dfe3 73ea501b
......@@ -154,10 +154,7 @@ public class Attribute {
final int codeLength,
final int maxStack,
final int maxLocals) {
ByteVector byteVector = new ByteVector();
byteVector.data = content;
byteVector.length = content.length;
return byteVector;
return new ByteVector(content);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment