class com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$2 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$2
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$throwErrorOtherContext;
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$2 this
0: .line 130
aload 0 /* this */
aload 1
putfield com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$2.this$0:Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest;
aload 0 /* this */
aload 2
putfield com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$2.val$throwErrorOtherContext:Lorg/graalvm/polyglot/Value;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$2 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest$2;
MethodParameters:
Name Flags
this$0 final
val$throwErrorOtherContext 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$2 this
start local 1 // org.graalvm.polyglot.Value[] arguments
0: .line 133
aload 0 /* this */
getfield com.oracle.truffle.api.test.polyglot.PolyglotExceptionTest$2.val$throwErrorOtherContext: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 134
goto 6
StackMap locals:
StackMap stack: org.graalvm.polyglot.PolyglotException
2: astore 2 /* e */
start local 2 // org.graalvm.polyglot.PolyglotException e
3: .line 135
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
4: .line 136
aload 2 /* e */
invokevirtual org.graalvm.polyglot.PolyglotException.isGuestException:()Z
invokestatic org.junit.Assert.assertTrue:(Z)V
5: .line 137
aload 2 /* e */
athrow
end local 2 // org.graalvm.polyglot.PolyglotException e
6: .line 139
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$2 this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/api/test/polyglot/PolyglotExceptionTest$2;
0 7 1 arguments [Lorg/graalvm/polyglot/Value;
3 6 2 e Lorg/graalvm/polyglot/PolyglotException;
Exception table:
from to target type
0 1 2 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$2