We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf4b40 commit b9164faCopy full SHA for b9164fa
src/org/armedbear/lisp/make_array.java
@@ -182,10 +182,12 @@ public LispObject execute(LispObject[] args) {
182
v = new BasicVector_ByteBuffer((java.nio.ByteBuffer)(((JavaObject)nioBuffer).getObject()),
183
directAllocation);
184
} else {
185
- v = new BasicVector_ByteBuffer(size, directAllocation);
+ // v = new BasicVector_ByteBuffer(size, directAllocation);
186
+ v = new BasicVectorBuffer(Byte.class, size);
187
}
188
} else { //if (Java.Buffers.active.equals(AllocationPolicy.PRIMITIVE_ARRAY)) {
- v = new BasicVector_UnsignedByte8(size);
189
+ //v = new BasicVector_UnsignedByte8(size);
190
+ v = new BasicVectorPrimitive(Byte.class, size);
191
192
193
defaultInitialElement = Fixnum.ZERO;
0 commit comments