class com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$1 implements org.graalvm.polyglot.proxy.ProxyExecutable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$1
super_class: java.lang.Object
{
final com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest this$0;
descriptor: Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final org.graalvm.polyglot.Value val$throwError;
descriptor: Lorg/graalvm/polyglot/Value;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest, org.graalvm.polyglot.Value);
descriptor: (Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest;Lorg/graalvm/polyglot/Value;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$1 this
0: .line 107
aload 0 /* this */
aload 1
putfield com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$1.this$0:Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest;
aload 0 /* this */
aload 2
putfield com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$1.val$throwError:Lorg/graalvm/polyglot/Value;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$1 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest$1;
MethodParameters:
Name Flags
this$0 final
val$throwError final
public java.lang.Object execute(org.graalvm.polyglot.Value[]);
descriptor: ([Lorg/graalvm/polyglot/Value;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=3, args_size=2
start local 0 // com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$1 this
start local 1 // org.graalvm.polyglot.Value[] arguments
0: .line 110
aload 0 /* this */
getfield com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$1.val$throwError:Lorg/graalvm/polyglot/Value;
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
pop
1: .line 111
invokestatic org.junit.Assert.fail:()V
2: .line 112
goto 7
StackMap locals:
StackMap stack: org.graalvm.polyglot.PolyglotException
3: astore 2 /* e */
start local 2 // org.graalvm.polyglot.PolyglotException e
4: .line 113
aload 2 /* e */
invokevirtual org.graalvm.polyglot.PolyglotException.getMessage:()Ljava/lang/String;
ldc "MyError"
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
5: .line 114
aload 2 /* e */
invokevirtual org.graalvm.polyglot.PolyglotException.isGuestException:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
6: .line 115
aload 2 /* e */
athrow
end local 2 // org.graalvm.polyglot.PolyglotException e
7: .line 117
StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 // org.graalvm.polyglot.Value[] arguments
end local 0 // com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$1 this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest$1;
0 8 1 arguments [Lorg/graalvm/polyglot/Value;
4 7 2 e Lorg/graalvm/polyglot/PolyglotException;
Exception table:
from to target type
0 2 3 Class org.graalvm.polyglot.PolyglotException
MethodParameters:
Name Flags
arguments
}
SourceFile: "PolyglotExceptionTest.java"
EnclosingMethod: com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest.testExceptionWrapping:()V
NestHost: com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest
InnerClasses:
com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$1