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 {
|
||||
// TODO: fully implement JIO
|
||||
// public static final boolean ENABLE_JINTEROP = true;
|
||||
|
||||
static Unsafe theSafe;
|
||||
static {
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue