fix multidimensional arrays
This commit is contained in:
parent
1724163446
commit
804d45669e
2 changed files with 4 additions and 4 deletions
|
@ -15,8 +15,6 @@ import sun.misc.Unsafe; // the Safe
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class ISBPL {
|
public class ISBPL {
|
||||||
// TODO: fully implement JIO
|
|
||||||
// public static final boolean ENABLE_JINTEROP = true;
|
|
||||||
|
|
||||||
static Unsafe theSafe;
|
static Unsafe theSafe;
|
||||||
static {
|
static {
|
||||||
|
|
|
@ -122,6 +122,8 @@ def Error construct error {
|
||||||
}
|
}
|
||||||
} =Error
|
} =Error
|
||||||
|
|
||||||
|
def __aput_native &aput =__aput_native
|
||||||
|
|
||||||
def TYPE_ARRAY construct array {
|
def TYPE_ARRAY construct array {
|
||||||
;
|
;
|
||||||
construct {
|
construct {
|
||||||
|
@ -150,11 +152,11 @@ def TYPE_ARRAY construct array {
|
||||||
} this foreach
|
} this foreach
|
||||||
s
|
s
|
||||||
}
|
}
|
||||||
aget {
|
? {
|
||||||
with idx this ;
|
with idx this ;
|
||||||
this idx aget
|
this idx aget
|
||||||
}
|
}
|
||||||
aput {
|
=? {
|
||||||
with item idx this ;
|
with item idx this ;
|
||||||
this idx item aput
|
this idx item aput
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue