fix JavaObject.getParts() for Java arrays (Alan Ruttenberg)

The previous code was calling new simplestring on the index, instead
of the string value of the index, creating index-long arrays full of

Merges <>.
parent 3b3e6ef4
......@@ -407,7 +407,7 @@ public final class JavaObject extends LispObject {
int length = Array.getLength(obj);
for (int i = 0; i < length; i++) {
parts = parts
.push(new Cons(new SimpleString(i),
.push(new Cons(new SimpleString(String.valueOf(i)),
JavaObject.getInstance(Array.get(obj, i))));
} else {
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