public class com.oracle.truffle.api.test.LegacyTruffleExceptionTest extends com.oracle.truffle.api.test.polyglot.AbstractPolyglotTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.oracle.truffle.api.test.LegacyTruffleExceptionTest
  super_class: com.oracle.truffle.api.test.polyglot.AbstractPolyglotTest
{
  private com.oracle.truffle.api.test.TruffleExceptionTest$VerifyingHandler verifyingHandler;
    descriptor: Lcom/oracle/truffle/api/test/TruffleExceptionTest$VerifyingHandler;
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
         0: .line 67
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.test.polyglot.AbstractPolyglotTest.<init>:()V
            return
        end local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;

  public void setUp();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
         0: .line 73
            aload 0 /* this */
            new com.oracle.truffle.api.test.TruffleExceptionTest$VerifyingHandler
            dup
            ldc Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;
            invokespecial com.oracle.truffle.api.test.TruffleExceptionTest$VerifyingHandler.<init>:(Ljava/lang/Class;)V
            putfield com.oracle.truffle.api.test.LegacyTruffleExceptionTest.verifyingHandler:Lcom/oracle/truffle/api/test/TruffleExceptionTest$VerifyingHandler;
         1: .line 74
            return
        end local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;
    RuntimeVisibleAnnotations: 
      org.junit.Before()

  public void testLegacyException();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
         0: .line 78
            aload 0 /* this */
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.LegacyTruffleExceptionTest.verifyingHandler:Lcom/oracle/truffle/api/test/TruffleExceptionTest$VerifyingHandler;
            invokestatic com.oracle.truffle.api.test.TruffleExceptionTest.createContext:(Lcom/oracle/truffle/api/test/TruffleExceptionTest$VerifyingHandler;)Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.test.LegacyTruffleExceptionTest$1
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.test.LegacyTruffleExceptionTest$1.<init>:(Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;)V
            invokevirtual com.oracle.truffle.api.test.LegacyTruffleExceptionTest.setupEnv:(Lorg/graalvm/polyglot/Context;Lcom/oracle/truffle/api/test/polyglot/ProxyLanguage;)V
         1: .line 89
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.LegacyTruffleExceptionTest.verifyingHandler:Lcom/oracle/truffle/api/test/TruffleExceptionTest$VerifyingHandler;
            iconst_3
            anewarray com.oracle.truffle.api.test.TruffleExceptionTest$BlockNode$Kind
            dup
            iconst_0
            getstatic com.oracle.truffle.api.test.TruffleExceptionTest$BlockNode$Kind.TRY:Lcom/oracle/truffle/api/test/TruffleExceptionTest$BlockNode$Kind;
            aastore
            dup
            iconst_1
            getstatic com.oracle.truffle.api.test.TruffleExceptionTest$BlockNode$Kind.CATCH:Lcom/oracle/truffle/api/test/TruffleExceptionTest$BlockNode$Kind;
            aastore
            dup
            iconst_2
            getstatic com.oracle.truffle.api.test.TruffleExceptionTest$BlockNode$Kind.FINALLY:Lcom/oracle/truffle/api/test/TruffleExceptionTest$BlockNode$Kind;
            aastore
            invokevirtual com.oracle.truffle.api.test.TruffleExceptionTest$VerifyingHandler.expect:([Lcom/oracle/truffle/api/test/TruffleExceptionTest$BlockNode$Kind;)V
         2: .line 90
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.LegacyTruffleExceptionTest.context:Lorg/graalvm/polyglot/Context;
            ldc "proxyLanguage"
            ldc "Test"
            invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
            pop
         3: .line 91
            return
        end local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testLegacyExceptionCustomGuestObject();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
         0: .line 95
            aload 0 /* this */
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.LegacyTruffleExceptionTest.verifyingHandler:Lcom/oracle/truffle/api/test/TruffleExceptionTest$VerifyingHandler;
            invokestatic com.oracle.truffle.api.test.TruffleExceptionTest.createContext:(Lcom/oracle/truffle/api/test/TruffleExceptionTest$VerifyingHandler;)Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.test.LegacyTruffleExceptionTest$2
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.test.LegacyTruffleExceptionTest$2.<init>:(Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;)V
            invokevirtual com.oracle.truffle.api.test.LegacyTruffleExceptionTest.setupEnv:(Lorg/graalvm/polyglot/Context;Lcom/oracle/truffle/api/test/polyglot/ProxyLanguage;)V
         1: .line 106
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.LegacyTruffleExceptionTest.verifyingHandler:Lcom/oracle/truffle/api/test/TruffleExceptionTest$VerifyingHandler;
            iconst_3
            anewarray com.oracle.truffle.api.test.TruffleExceptionTest$BlockNode$Kind
            dup
            iconst_0
            getstatic com.oracle.truffle.api.test.TruffleExceptionTest$BlockNode$Kind.TRY:Lcom/oracle/truffle/api/test/TruffleExceptionTest$BlockNode$Kind;
            aastore
            dup
            iconst_1
            getstatic com.oracle.truffle.api.test.TruffleExceptionTest$BlockNode$Kind.CATCH:Lcom/oracle/truffle/api/test/TruffleExceptionTest$BlockNode$Kind;
            aastore
            dup
            iconst_2
            getstatic com.oracle.truffle.api.test.TruffleExceptionTest$BlockNode$Kind.FINALLY:Lcom/oracle/truffle/api/test/TruffleExceptionTest$BlockNode$Kind;
            aastore
            invokevirtual com.oracle.truffle.api.test.TruffleExceptionTest$VerifyingHandler.expect:([Lcom/oracle/truffle/api/test/TruffleExceptionTest$BlockNode$Kind;)V
         2: .line 107
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.LegacyTruffleExceptionTest.context:Lorg/graalvm/polyglot/Context;
            ldc "proxyLanguage"
            ldc "Test"
            invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
            pop
         3: .line 108
            return
        end local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testLegacyCancelException();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
         0: .line 112
            aload 0 /* this */
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.LegacyTruffleExceptionTest.verifyingHandler:Lcom/oracle/truffle/api/test/TruffleExceptionTest$VerifyingHandler;
            invokestatic com.oracle.truffle.api.test.TruffleExceptionTest.createContext:(Lcom/oracle/truffle/api/test/TruffleExceptionTest$VerifyingHandler;)Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.test.LegacyTruffleExceptionTest$3
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.test.LegacyTruffleExceptionTest$3.<init>:(Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;)V
            invokevirtual com.oracle.truffle.api.test.LegacyTruffleExceptionTest.setupEnv:(Lorg/graalvm/polyglot/Context;Lcom/oracle/truffle/api/test/polyglot/ProxyLanguage;)V
         1: .line 123
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.LegacyTruffleExceptionTest.verifyingHandler:Lcom/oracle/truffle/api/test/TruffleExceptionTest$VerifyingHandler;
            iconst_1
            anewarray com.oracle.truffle.api.test.TruffleExceptionTest$BlockNode$Kind
            dup
            iconst_0
            getstatic com.oracle.truffle.api.test.TruffleExceptionTest$BlockNode$Kind.TRY:Lcom/oracle/truffle/api/test/TruffleExceptionTest$BlockNode$Kind;
            aastore
            invokevirtual com.oracle.truffle.api.test.TruffleExceptionTest$VerifyingHandler.expect:([Lcom/oracle/truffle/api/test/TruffleExceptionTest$BlockNode$Kind;)V
         2: .line 124
            aload 0 /* this */
            invokedynamic call(Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;)Ljava/util/concurrent/Callable;
              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;
                  com/oracle/truffle/api/test/LegacyTruffleExceptionTest.lambda$0()Ljava/lang/Object; (7)
                  ()Ljava/lang/Object;
            ldc Lorg/graalvm/polyglot/PolyglotException;
            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/api/test/LegacyTruffleExceptionTest.lambda$1(Lorg/graalvm/polyglot/PolyglotException;)V (6)
                  (Lorg/graalvm/polyglot/PolyglotException;)V
            invokestatic com.oracle.truffle.api.test.LegacyTruffleExceptionTest.assertFails:(Ljava/util/concurrent/Callable;Ljava/lang/Class;Ljava/util/function/Consumer;)V
         3: .line 128
            return
        end local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testPolyglotStackTrace();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
         0: .line 132
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.test.LegacyTruffleExceptionTest$4
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.test.LegacyTruffleExceptionTest$4.<init>:(Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;)V
            invokevirtual com.oracle.truffle.api.test.LegacyTruffleExceptionTest.setupEnv:(Lorg/graalvm/polyglot/Context;Lcom/oracle/truffle/api/test/polyglot/ProxyLanguage;)V
         1: .line 141
            aload 0 /* this */
            invokedynamic call(Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;)Ljava/util/concurrent/Callable;
              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;
                  com/oracle/truffle/api/test/LegacyTruffleExceptionTest.lambda$2()Ljava/lang/Object; (7)
                  ()Ljava/lang/Object;
            ldc Lorg/graalvm/polyglot/PolyglotException;
            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/api/test/LegacyTruffleExceptionTest.lambda$3(Lorg/graalvm/polyglot/PolyglotException;)V (6)
                  (Lorg/graalvm/polyglot/PolyglotException;)V
            invokestatic com.oracle.truffle.api.test.LegacyTruffleExceptionTest.assertFails:(Ljava/util/concurrent/Callable;Ljava/lang/Class;Ljava/util/function/Consumer;)V
         2: .line 146
            return
        end local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private java.lang.Object lambda$0();
    descriptor: ()Ljava/lang/Object;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
         0: .line 124
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.LegacyTruffleExceptionTest.context:Lorg/graalvm/polyglot/Context;
            ldc "proxyLanguage"
            ldc "Test"
            invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
            areturn
        end local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;
    Exceptions:
      throws java.lang.Exception

  private static void lambda$1(org.graalvm.polyglot.PolyglotException);
    descriptor: (Lorg/graalvm/polyglot/PolyglotException;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.PolyglotException e
         0: .line 125
            aload 0 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.isCancelled:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         1: .line 126
            aload 0 /* e */
            invokevirtual org.graalvm.polyglot.PolyglotException.getGuestObject:()Lorg/graalvm/polyglot/Value;
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
         2: .line 127
            return
        end local 0 // org.graalvm.polyglot.PolyglotException e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0     e  Lorg/graalvm/polyglot/PolyglotException;

  private java.lang.Object lambda$2();
    descriptor: ()Ljava/lang/Object;
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
         0: .line 141
            aload 0 /* this */
            getfield com.oracle.truffle.api.test.LegacyTruffleExceptionTest.context:Lorg/graalvm/polyglot/Context;
            ldc "proxyLanguage"
            ldc "Test"
            invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
            areturn
        end local 0 // com.oracle.truffle.api.test.LegacyTruffleExceptionTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/api/test/LegacyTruffleExceptionTest;
    Exceptions:
      throws java.lang.Exception

  private static void lambda$3(org.graalvm.polyglot.PolyglotException);
    descriptor: (Lorg/graalvm/polyglot/PolyglotException;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.PolyglotException pe
         0: .line 142
            aload 0 /* pe */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
         1: .line 143
            ldc "<proxyLanguage> test"
            aastore
            dup
            iconst_1
         2: .line 144
            ldc "(org.graalvm.sdk/)?org.graalvm.polyglot.Context.eval"
            aastore
         3: .line 142
            invokestatic com.oracle.truffle.api.test.TruffleExceptionTest.verifyStackTrace:(Lorg/graalvm/polyglot/PolyglotException;[Ljava/lang/String;)V
         4: .line 145
            return
        end local 0 // org.graalvm.polyglot.PolyglotException pe
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0    pe  Lorg/graalvm/polyglot/PolyglotException;
}
SourceFile: "LegacyTruffleExceptionTest.java"
NestMembers:
  com.oracle.truffle.api.test.LegacyTruffleExceptionTest$1  com.oracle.truffle.api.test.LegacyTruffleExceptionTest$2  com.oracle.truffle.api.test.LegacyTruffleExceptionTest$3  com.oracle.truffle.api.test.LegacyTruffleExceptionTest$4  com.oracle.truffle.api.test.LegacyTruffleExceptionTest$LangObject  com.oracle.truffle.api.test.LegacyTruffleExceptionTest$LegacyCancelException  com.oracle.truffle.api.test.LegacyTruffleExceptionTest$LegacyCatchableException
InnerClasses:
  com.oracle.truffle.api.test.LegacyTruffleExceptionTest$1
  com.oracle.truffle.api.test.LegacyTruffleExceptionTest$2
  com.oracle.truffle.api.test.LegacyTruffleExceptionTest$3
  com.oracle.truffle.api.test.LegacyTruffleExceptionTest$4
  final LangObject = com.oracle.truffle.api.test.LegacyTruffleExceptionTest$LangObject of com.oracle.truffle.api.test.LegacyTruffleExceptionTest
  final LegacyCancelException = com.oracle.truffle.api.test.LegacyTruffleExceptionTest$LegacyCancelException of com.oracle.truffle.api.test.LegacyTruffleExceptionTest
  final LegacyCatchableException = com.oracle.truffle.api.test.LegacyTruffleExceptionTest$LegacyCatchableException of com.oracle.truffle.api.test.LegacyTruffleExceptionTest
  BlockNode = com.oracle.truffle.api.test.TruffleExceptionTest$BlockNode of com.oracle.truffle.api.test.TruffleExceptionTest
  final Kind = com.oracle.truffle.api.test.TruffleExceptionTest$BlockNode$Kind of com.oracle.truffle.api.test.TruffleExceptionTest$BlockNode
  final VerifyingHandler = com.oracle.truffle.api.test.TruffleExceptionTest$VerifyingHandler of com.oracle.truffle.api.test.TruffleExceptionTest
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles