public class com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest
super_class: java.lang.Object
{
private org.graalvm.polyglot.Context context;
descriptor: Lorg/graalvm/polyglot/Context;
flags: (0x0002) ACC_PRIVATE
private static final org.graalvm.polyglot.TypeLiteral<java.util.List<java.lang.Integer>> LIST_OF_INTEGER;
descriptor: Lorg/graalvm/polyglot/TypeLiteral;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/polyglot/TypeLiteral<Ljava/util/List<Ljava/lang/Integer;>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest$1
dup
invokespecial com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest$1.<init>:()V
putstatic com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.LIST_OF_INTEGER:Lorg/graalvm/polyglot/TypeLiteral;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
public void setUp();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.lang.String
invokestatic com.oracle.truffle.js.test.JSTest.newContextBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
putfield com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.context:Lorg/graalvm/polyglot/Context;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
RuntimeVisibleAnnotations:
org.junit.Before()
public void tearDown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.context:Lorg/graalvm/polyglot/Context;
invokevirtual org.graalvm.polyglot.Context.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
RuntimeVisibleAnnotations:
org.junit.After()
public void testSplice();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
ldc "Array.prototype.splice.call(a, 1, 2)"
iconst_5
anewarray java.lang.Integer
dup
iconst_0
1: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_3
anewarray java.lang.Integer
dup
iconst_0
2: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_2
anewarray java.lang.Integer
dup
iconst_0
3: bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
4: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
5: aload 0
ldc "Array.prototype.splice.call(a, 1, 2, 70, 80, 90)"
iconst_5
anewarray java.lang.Integer
dup
iconst_0
6: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
bipush 6
anewarray java.lang.Integer
dup
iconst_0
7: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 70
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 80
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 90
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_2
anewarray java.lang.Integer
dup
iconst_0
8: bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
9: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
10: aload 0
ldc "Array.prototype.splice.call(a, 1, 3, 70, 80)"
iconst_5
anewarray java.lang.Integer
dup
iconst_0
11: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_4
anewarray java.lang.Integer
dup
iconst_0
12: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 70
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 80
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_3
anewarray java.lang.Integer
dup
iconst_0
13: bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
14: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
15: aload 0
ldc "Array.prototype.splice.call(a, 3, 10)"
iconst_5
anewarray java.lang.Integer
dup
iconst_0
16: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_3
anewarray java.lang.Integer
dup
iconst_0
17: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_2
anewarray java.lang.Integer
dup
iconst_0
18: bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
19: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
20: aload 0
ldc "Array.prototype.splice.call(a, -1, 0, 70)"
iconst_5
anewarray java.lang.Integer
dup
iconst_0
21: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
bipush 6
anewarray java.lang.Integer
dup
iconst_0
22: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 70
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_0
anewarray java.lang.Integer
23: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
24: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
25: aload 0
ldc "Array.prototype.splice.call(a, 0, 0, 70)"
iconst_5
anewarray java.lang.Integer
dup
iconst_0
26: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
bipush 6
anewarray java.lang.Integer
dup
iconst_0
27: bipush 70
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_0
anewarray java.lang.Integer
28: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
29: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
30: aload 0
ldc "Array.prototype.splice.call(a, 0, 1, 70)"
iconst_5
anewarray java.lang.Integer
dup
iconst_0
31: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_5
anewarray java.lang.Integer
dup
iconst_0
32: bipush 70
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_1
anewarray java.lang.Integer
dup
iconst_0
33: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
34: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
35: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testPop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
ldc "Array.prototype.pop.call(a)"
iconst_5
anewarray java.lang.Integer
dup
iconst_0
1: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_4
anewarray java.lang.Integer
dup
iconst_0
2: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
3: bipush 50
4: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;I)V
5: aload 0
ldc "Array.prototype.pop.call(a)"
iconst_1
anewarray java.lang.Integer
dup
iconst_0
6: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_0
anewarray java.lang.Integer
7: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
8: bipush 10
9: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;I)V
10: aload 0
ldc "Array.prototype.pop.call(a)"
iconst_0
anewarray java.lang.Integer
11: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_0
anewarray java.lang.Integer
12: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
13: invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest.lambda$0(Lorg/graalvm/polyglot/Value;)V (6)
(Lorg/graalvm/polyglot/Value;)V
14: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/function/Consumer;)V
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testShift();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
ldc "Array.prototype.shift.call(a)"
iconst_5
anewarray java.lang.Integer
dup
iconst_0
1: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_4
anewarray java.lang.Integer
dup
iconst_0
2: bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
3: bipush 10
4: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;I)V
5: aload 0
ldc "Array.prototype.shift.call(a)"
iconst_1
anewarray java.lang.Integer
dup
iconst_0
6: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_0
anewarray java.lang.Integer
7: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
8: bipush 10
9: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;I)V
10: aload 0
ldc "Array.prototype.shift.call(a)"
iconst_0
anewarray java.lang.Integer
11: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_0
anewarray java.lang.Integer
12: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
13: invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest.lambda$1(Lorg/graalvm/polyglot/Value;)V (6)
(Lorg/graalvm/polyglot/Value;)V
14: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/function/Consumer;)V
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testPush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
ldc "Array.prototype.push.call(a, 80)"
iconst_4
anewarray java.lang.Integer
dup
iconst_0
1: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_5
anewarray java.lang.Integer
dup
iconst_0
2: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 80
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
3: iconst_5
4: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;I)V
5: aload 0
ldc "Array.prototype.push.call(a, 10)"
iconst_0
anewarray java.lang.Integer
6: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_1
anewarray java.lang.Integer
dup
iconst_0
7: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
8: iconst_1
9: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;I)V
10: aload 0
ldc "Array.prototype.push.call(a)"
iconst_4
anewarray java.lang.Integer
dup
iconst_0
11: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_4
anewarray java.lang.Integer
dup
iconst_0
12: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
13: iconst_4
14: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;I)V
15: aload 0
ldc "Array.prototype.push.call(a, 80, 90)"
iconst_2
anewarray java.lang.Integer
dup
iconst_0
16: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_4
anewarray java.lang.Integer
dup
iconst_0
17: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 80
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 90
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
18: iconst_4
19: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;I)V
20: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testReverse();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
ldc "Array.prototype.reverse.call(a)"
iconst_5
anewarray java.lang.Integer
dup
iconst_0
1: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_5
anewarray java.lang.Integer
dup
iconst_0
2: bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_5
anewarray java.lang.Integer
dup
iconst_0
3: bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
4: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testSort();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
ldc "Array.prototype.sort.call(a)"
iconst_5
anewarray java.lang.Integer
dup
iconst_0
1: bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_5
anewarray java.lang.Integer
dup
iconst_0
2: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_5
anewarray java.lang.Integer
dup
iconst_0
3: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
4: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
5: aload 0
ldc "Array.prototype.sort.call(a, (x, y) => y - x)"
iconst_5
anewarray java.lang.Integer
dup
iconst_0
6: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_5
anewarray java.lang.Integer
dup
iconst_0
7: bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_5
anewarray java.lang.Integer
dup
iconst_0
8: bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
9: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testUnshift();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
ldc "Array.prototype.unshift.call(a, 80)"
iconst_4
anewarray java.lang.Integer
dup
iconst_0
1: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_5
anewarray java.lang.Integer
dup
iconst_0
2: bipush 80
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
3: iconst_5
4: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;I)V
5: aload 0
ldc "Array.prototype.unshift.call(a, 10)"
iconst_0
anewarray java.lang.Integer
6: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_1
anewarray java.lang.Integer
dup
iconst_0
7: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
8: iconst_1
9: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;I)V
10: aload 0
ldc "Array.prototype.unshift.call(a)"
iconst_4
anewarray java.lang.Integer
dup
iconst_0
11: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_4
anewarray java.lang.Integer
dup
iconst_0
12: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
13: iconst_4
14: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;I)V
15: aload 0
ldc "Array.prototype.unshift.call(a, 80, 90)"
iconst_2
anewarray java.lang.Integer
dup
iconst_0
16: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_4
anewarray java.lang.Integer
dup
iconst_0
17: bipush 80
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 90
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
18: iconst_4
19: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;I)V
20: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testCopyWithin();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
ldc "Array.prototype.copyWithin.call(a, 4, 1, 3)"
bipush 6
anewarray java.lang.Integer
dup
iconst_0
1: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 60
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
bipush 6
anewarray java.lang.Integer
dup
iconst_0
2: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
bipush 6
anewarray java.lang.Integer
dup
iconst_0
3: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
4: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
5: aload 0
ldc "Array.prototype.copyWithin.call(a, 1, 4)"
bipush 6
anewarray java.lang.Integer
dup
iconst_0
6: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 60
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
bipush 6
anewarray java.lang.Integer
dup
iconst_0
7: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 60
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 60
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
bipush 6
anewarray java.lang.Integer
dup
iconst_0
8: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 60
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 60
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
9: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testFill();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
ldc "Array.prototype.fill.call(a, 69)"
bipush 6
anewarray java.lang.Integer
dup
iconst_0
1: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 60
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
bipush 6
anewarray java.lang.Integer
dup
iconst_0
2: bipush 69
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 69
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 69
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 69
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 69
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 69
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
bipush 6
anewarray java.lang.Integer
dup
iconst_0
3: bipush 69
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 69
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 69
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 69
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 69
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
bipush 69
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
4: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
5: aload 0
ldc "Array.prototype.fill.call(a, 69)"
iconst_0
anewarray java.lang.Integer
6: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_0
anewarray java.lang.Integer
7: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_0
anewarray java.lang.Integer
8: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
9: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testDelete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
ldc "delete a[0]"
iconst_5
anewarray java.lang.Integer
dup
iconst_0
1: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_5
anewarray java.lang.Integer
dup
iconst_0
2: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
3: invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest.lambda$2(Lorg/graalvm/polyglot/Value;)V (6)
(Lorg/graalvm/polyglot/Value;)V
4: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/function/Consumer;)V
5: aload 0
ldc "delete a[5]"
iconst_5
anewarray java.lang.Integer
dup
iconst_0
6: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
iconst_5
anewarray java.lang.Integer
dup
iconst_0
7: bipush 10
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 20
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
bipush 30
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
bipush 40
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
bipush 50
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
8: invokedynamic accept()Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest.lambda$3(Lorg/graalvm/polyglot/Value;)V (6)
(Lorg/graalvm/polyglot/Value;)V
9: invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/function/Consumer;)V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
RuntimeVisibleAnnotations:
org.junit.Test()
private void testWithArray(java.lang.String, java.util.List<java.lang.Integer>, java.util.List<java.lang.Integer>, java.util.List<java.lang.Integer>);
descriptor: (Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
invokedynamic accept(Ljava/util/List;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest.lambda$4(Ljava/util/List;Lorg/graalvm/polyglot/Value;)V (6)
(Lorg/graalvm/polyglot/Value;)V
invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/function/Consumer;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
0 2 1 test Ljava/lang/String;
0 2 2 before Ljava/util/List<Ljava/lang/Integer;>;
0 2 3 afterExpected Ljava/util/List<Ljava/lang/Integer;>;
0 2 4 expectedResult Ljava/util/List<Ljava/lang/Integer;>;
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/Integer;>;Ljava/util/List<Ljava/lang/Integer;>;Ljava/util/List<Ljava/lang/Integer;>;)V
MethodParameters:
Name Flags
test
before
afterExpected
expectedResult
private void testWithArray(java.lang.String, java.util.List<java.lang.Integer>, java.util.List<java.lang.Integer>, );
descriptor: (Ljava/lang/String;Ljava/util/List;Ljava/util/List;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
iload 4
invokedynamic accept(I)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
com/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest.lambda$5(ILorg/graalvm/polyglot/Value;)V (6)
(Lorg/graalvm/polyglot/Value;)V
invokevirtual com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.testWithArray:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/function/Consumer;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
0 2 1 test Ljava/lang/String;
0 2 2 before Ljava/util/List<Ljava/lang/Integer;>;
0 2 3 afterExpected Ljava/util/List<Ljava/lang/Integer;>;
0 2 4 expectedResult I
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/Integer;>;Ljava/util/List<Ljava/lang/Integer;>;I)V
MethodParameters:
Name Flags
test
before
afterExpected
expectedResult
private void testWithArray(java.lang.String, java.util.List<java.lang.Integer>, java.util.List<java.lang.Integer>, java.util.function.Consumer<org.graalvm.polyglot.Value>);
descriptor: (Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/function/Consumer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.util.ArrayList
dup
aload 2
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 5
start local 5 1: aload 0
getfield com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.context:Lorg/graalvm/polyglot/Context;
ldc "js"
invokevirtual org.graalvm.polyglot.Context.getBindings:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
ldc "a"
new com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest$MyProxyArray
dup
aload 5
invokespecial com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest$MyProxyArray.<init>:(Ljava/util/List;)V
invokevirtual org.graalvm.polyglot.Value.putMember:(Ljava/lang/String;Ljava/lang/Object;)V
2: aload 0
getfield com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.context:Lorg/graalvm/polyglot/Context;
ldc "js"
aload 1
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
astore 6
start local 6 3: new java.util.ArrayList
dup
aload 0
getfield com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.context:Lorg/graalvm/polyglot/Context;
ldc "js"
invokevirtual org.graalvm.polyglot.Context.getBindings:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
ldc "a"
invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
getstatic com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.LIST_OF_INTEGER:Lorg/graalvm/polyglot/TypeLiteral;
invokevirtual org.graalvm.polyglot.Value.as:(Lorg/graalvm/polyglot/TypeLiteral;)Ljava/lang/Object;
checkcast java.util.Collection
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 7
start local 7 4: ldc "array"
aload 3
aload 7
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
5: aload 4
aload 6
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
6: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/test/interop/ArrayPrototypeInteropTest;
0 7 1 test Ljava/lang/String;
0 7 2 before Ljava/util/List<Ljava/lang/Integer;>;
0 7 3 afterExpected Ljava/util/List<Ljava/lang/Integer;>;
0 7 4 resultTest Ljava/util/function/Consumer<Lorg/graalvm/polyglot/Value;>;
1 7 5 values Ljava/util/List<Ljava/lang/Object;>;
3 7 6 resultValue Lorg/graalvm/polyglot/Value;
4 7 7 afterValue Ljava/util/List<Ljava/lang/Integer;>;
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/Integer;>;Ljava/util/List<Ljava/lang/Integer;>;Ljava/util/function/Consumer<Lorg/graalvm/polyglot/Value;>;)V
MethodParameters:
Name Flags
test
before
afterExpected
resultTest
private static void lambda$0(org.graalvm.polyglot.Value);
descriptor: (Lorg/graalvm/polyglot/Value;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.polyglot.Value.isNull:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 result Lorg/graalvm/polyglot/Value;
private static void lambda$1(org.graalvm.polyglot.Value);
descriptor: (Lorg/graalvm/polyglot/Value;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.polyglot.Value.isNull:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 result Lorg/graalvm/polyglot/Value;
private static void lambda$2(org.graalvm.polyglot.Value);
descriptor: (Lorg/graalvm/polyglot/Value;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.polyglot.Value.asBoolean:()Z
invokestatic org.junit.Assert.assertFalse:(Z)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 result Lorg/graalvm/polyglot/Value;
private static void lambda$3(org.graalvm.polyglot.Value);
descriptor: (Lorg/graalvm/polyglot/Value;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.polyglot.Value.asBoolean:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 result Lorg/graalvm/polyglot/Value;
private static void lambda$4(java.util.List, org.graalvm.polyglot.Value);
descriptor: (Ljava/util/List;Lorg/graalvm/polyglot/Value;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 1 0: ldc "result"
aload 0
aload 1
getstatic com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest.LIST_OF_INTEGER:Lorg/graalvm/polyglot/TypeLiteral;
invokevirtual org.graalvm.polyglot.Value.as:(Lorg/graalvm/polyglot/TypeLiteral;)Ljava/lang/Object;
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 actualResult Lorg/graalvm/polyglot/Value;
private static void lambda$5(int, org.graalvm.polyglot.Value);
descriptor: (ILorg/graalvm/polyglot/Value;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=2, args_size=2
start local 1 0: ldc "result"
iload 0
i2l
aload 1
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
return
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 actualResult Lorg/graalvm/polyglot/Value;
}
SourceFile: "ArrayPrototypeInteropTest.java"
NestMembers:
com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest$1 com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest$MyProxyArray
InnerClasses:
com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest$1
private final MyProxyArray = com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest$MyProxyArray of com.oracle.truffle.js.test.interop.ArrayPrototypeInteropTest
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Builder = org.graalvm.polyglot.Context$Builder of org.graalvm.polyglot.Context