fix array JIO strings

This commit is contained in:
Daniella 2022-04-17 17:02:50 +02:00
parent 6e2f22fe69
commit 4cd3baeac2

View file

@ -1035,13 +1035,14 @@ public class ISBPL {
}
ISBPLObject o = toISBPL(object.getClass());
if (object instanceof String) {
object = toISBPLString(((String) object));
return toISBPLString(((String) object));
}
if (object.getClass().isArray()) {
ISBPLObject[] isbplArray = new ISBPLObject[Array.getLength(object)];
for (int i = 0 ; i < isbplArray.length ; i++) {
isbplArray[i] = toISBPL(Array.get(object, i));
}
o.type = getType("array");
object = isbplArray;
}
o.object = object;
@ -1422,7 +1423,7 @@ class ISBPLType {
}
class ISBPLObject {
final ISBPLType type;
ISBPLType type;
Object object;
public ISBPLObject(ISBPLType type, Object object) {