fix multidimensional arrays

This commit is contained in:
Daniella 2022-07-29 16:20:59 +02:00
parent 1724163446
commit 804d45669e
2 changed files with 4 additions and 4 deletions

View file

@ -15,8 +15,6 @@ import sun.misc.Unsafe; // the Safe
*/
public class ISBPL {
// TODO: fully implement JIO
// public static final boolean ENABLE_JINTEROP = true;
static Unsafe theSafe;
static {

View file

@ -122,6 +122,8 @@ def Error construct error {
}
} =Error
def __aput_native &aput =__aput_native
def TYPE_ARRAY construct array {
;
construct {
@ -150,11 +152,11 @@ def TYPE_ARRAY construct array {
} this foreach
s
}
aget {
? {
with idx this ;
this idx aget
}
aput {
=? {
with item idx this ;
this idx item aput
}