public class com.oracle.truffle.sl.test.SLLoggerTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.oracle.truffle.sl.test.SLLoggerTest
  super_class: java.lang.Object
{
  private static final org.graalvm.polyglot.Source ADD_SL;
    descriptor: Lorg/graalvm/polyglot/Source;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final org.graalvm.polyglot.Source MUL_SL;
    descriptor: Lorg/graalvm/polyglot/Source;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private com.oracle.truffle.sl.test.SLLoggerTest$TestHandler testHandler;
    descriptor: Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
    flags: (0x0002) ACC_PRIVATE

  private org.graalvm.polyglot.Context currentContext;
    descriptor: Lorg/graalvm/polyglot/Context;
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 68
            ldc "sl"
            ldc "function add(a,b) {return a + b;} function main() {return add(1,1);}"
            ldc "add.sl"
            invokestatic org.graalvm.polyglot.Source.newBuilder:(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)Lorg/graalvm/polyglot/Source$Builder;
            invokevirtual org.graalvm.polyglot.Source$Builder.buildLiteral:()Lorg/graalvm/polyglot/Source;
            putstatic com.oracle.truffle.sl.test.SLLoggerTest.ADD_SL:Lorg/graalvm/polyglot/Source;
         1: .line 69
            ldc "sl"
            ldc "function mul(a,b) {return a * b;} function main() {return mul(1,1);}"
            ldc "mul.sl"
            invokestatic org.graalvm.polyglot.Source.newBuilder:(Ljava/lang/String;Ljava/lang/CharSequence;Ljava/lang/String;)Lorg/graalvm/polyglot/Source$Builder;
            invokevirtual org.graalvm.polyglot.Source$Builder.buildLiteral:()Lorg/graalvm/polyglot/Source;
            putstatic com.oracle.truffle.sl.test.SLLoggerTest.MUL_SL:Lorg/graalvm/polyglot/Source;
         2: .line 70
            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 // com.oracle.truffle.sl.test.SLLoggerTest this
         0: .line 63
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/sl/test/SLLoggerTest;

  public void setUp();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
         0: .line 77
            aload 0 /* this */
            new com.oracle.truffle.sl.test.SLLoggerTest$TestHandler
            dup
            invokespecial com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.<init>:()V
            putfield com.oracle.truffle.sl.test.SLLoggerTest.testHandler:Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
         1: .line 78
            return
        end local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/sl/test/SLLoggerTest;
    RuntimeVisibleAnnotations: 
      org.junit.Before()

  public void tearDown();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
         0: .line 82
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLLoggerTest.currentContext:Lorg/graalvm/polyglot/Context;
            ifnull 3
         1: .line 83
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLLoggerTest.currentContext:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
         2: .line 84
            aload 0 /* this */
            aconst_null
            putfield com.oracle.truffle.sl.test.SLLoggerTest.currentContext:Lorg/graalvm/polyglot/Context;
         3: .line 86
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/truffle/sl/test/SLLoggerTest;
    RuntimeVisibleAnnotations: 
      org.junit.After()

  private org.graalvm.polyglot.Context createContext(java.util.Map<java.lang.String, java.lang.String>);
    descriptor: (Ljava/util/Map;)Lorg/graalvm/polyglot/Context;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
        start local 1 // java.util.Map options
         0: .line 89
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLLoggerTest.currentContext:Lorg/graalvm/polyglot/Context;
            ifnull 2
         1: .line 90
            new java.lang.IllegalStateException
            dup
            ldc "Context already created"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 92
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 1 /* options */
            invokevirtual org.graalvm.polyglot.Context$Builder.options:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context$Builder;
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLLoggerTest.testHandler:Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
            invokevirtual org.graalvm.polyglot.Context$Builder.logHandler:(Ljava/util/logging/Handler;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            putfield com.oracle.truffle.sl.test.SLLoggerTest.currentContext:Lorg/graalvm/polyglot/Context;
         3: .line 93
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLLoggerTest.currentContext:Lorg/graalvm/polyglot/Context;
            areturn
        end local 1 // java.util.Map options
        end local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lcom/oracle/truffle/sl/test/SLLoggerTest;
            0    4     1  options  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
    Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)Lorg/graalvm/polyglot/Context;
    MethodParameters:
         Name  Flags
      options  

  public void testLoggerNoConfig();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
         0: .line 98
            aload 0 /* this */
            invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest.createContext:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context */
        start local 1 // org.graalvm.polyglot.Context context
         1: .line 99
            aload 1 /* context */
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;)V
         2: .line 100
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLLoggerTest.testHandler:Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            invokeinterface java.util.Set.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         3: .line 101
            return
        end local 1 // org.graalvm.polyglot.Context context
        end local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lcom/oracle/truffle/sl/test/SLLoggerTest;
            1    4     1  context  Lorg/graalvm/polyglot/Context;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testLoggerSlFunctionLevelFine();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
         0: .line 105
            aload 0 /* this */
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            dup
            iconst_1
            ldc "com.oracle.truffle.sl.runtime.SLFunction"
            aastore
            dup
            iconst_2
            ldc "FINE"
            aastore
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.createLoggingOptions:([Ljava/lang/String;)Ljava/util/Map;
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest.createContext:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context */
        start local 1 // org.graalvm.polyglot.Context context
         1: .line 106
            aload 1 /* context */
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;)V
         2: .line 107
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLLoggerTest.testHandler:Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            invokeinterface java.util.Set.isEmpty:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         3: .line 108
            return
        end local 1 // org.graalvm.polyglot.Context context
        end local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lcom/oracle/truffle/sl/test/SLLoggerTest;
            1    4     1  context  Lorg/graalvm/polyglot/Context;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testLoggerSlFunctionParentLevelFine();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
         0: .line 112
            aload 0 /* this */
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            dup
            iconst_1
            ldc "com.oracle.truffle.sl.runtime"
            aastore
            dup
            iconst_2
            ldc "FINE"
            aastore
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.createLoggingOptions:([Ljava/lang/String;)Ljava/util/Map;
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest.createContext:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context */
        start local 1 // org.graalvm.polyglot.Context context
         1: .line 113
            aload 1 /* context */
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;)V
         2: .line 114
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLLoggerTest.testHandler:Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            invokeinterface java.util.Set.isEmpty:()Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
         3: .line 115
            return
        end local 1 // org.graalvm.polyglot.Context context
        end local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lcom/oracle/truffle/sl/test/SLLoggerTest;
            1    4     1  context  Lorg/graalvm/polyglot/Context;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testLoggerSlFunctionSiblingLevelFine();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
         0: .line 119
            aload 0 /* this */
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            dup
            iconst_1
            ldc "com.oracle.truffle.sl.runtime.SLContext"
            aastore
            dup
            iconst_2
            ldc "FINE"
            aastore
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.createLoggingOptions:([Ljava/lang/String;)Ljava/util/Map;
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest.createContext:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context */
        start local 1 // org.graalvm.polyglot.Context context
         1: .line 120
            aload 1 /* context */
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;)V
         2: .line 121
            aload 0 /* this */
            getfield com.oracle.truffle.sl.test.SLLoggerTest.testHandler:Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            invokeinterface java.util.Set.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         3: .line 122
            return
        end local 1 // org.graalvm.polyglot.Context context
        end local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lcom/oracle/truffle/sl/test/SLLoggerTest;
            1    4     1  context  Lorg/graalvm/polyglot/Context;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testMultipleContextsExclusiveFineLevel();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
         0: .line 126
            new com.oracle.truffle.sl.test.SLLoggerTest$TestHandler
            dup
            invokespecial com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.<init>:()V
            astore 1 /* handler1 */
        start local 1 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler1
         1: .line 127
            aconst_null
            astore 2
            aconst_null
            astore 3
         2: iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            dup
            iconst_1
            ldc "com.oracle.truffle.sl.runtime.SLFunction"
            aastore
            dup
            iconst_2
            ldc "FINE"
            aastore
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.createLoggingOptions:([Ljava/lang/String;)Ljava/util/Map;
            invokevirtual org.graalvm.polyglot.Context$Builder.options:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context$Builder;
            aload 1 /* handler1 */
            invokevirtual org.graalvm.polyglot.Context$Builder.logHandler:(Ljava/util/logging/Handler;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 4 /* ctx */
        start local 4 // org.graalvm.polyglot.Context ctx
         3: .line 128
            aload 4 /* ctx */
            getstatic com.oracle.truffle.sl.test.SLLoggerTest.ADD_SL:Lorg/graalvm/polyglot/Source;
            iconst_2
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;Lorg/graalvm/polyglot/Source;I)V
         4: .line 129
            aload 4 /* ctx */
            ifnull 10
            aload 4 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 10
      StackMap locals: com.oracle.truffle.sl.test.SLLoggerTest com.oracle.truffle.sl.test.SLLoggerTest$TestHandler java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
      StackMap stack: java.lang.Throwable
         5: astore 2
            aload 4 /* ctx */
            ifnull 6
            aload 4 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 4 // org.graalvm.polyglot.Context ctx
      StackMap locals:
      StackMap stack:
         6: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: astore 3
            aload 2
            ifnonnull 8
            aload 3
            astore 2
            goto 9
      StackMap locals:
      StackMap stack:
         8: aload 2
            aload 3
            if_acmpeq 9
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
         9: aload 2
            athrow
        10: .line 130
      StackMap locals:
      StackMap stack:
            new com.oracle.truffle.sl.test.SLLoggerTest$TestHandler
            dup
            invokespecial com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.<init>:()V
            astore 2 /* handler2 */
        start local 2 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler2
        11: .line 131
            aconst_null
            astore 3
            aconst_null
            astore 4
        12: iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            dup
            iconst_1
            ldc "com.oracle.truffle.sl.runtime.SLFunction"
            aastore
            dup
            iconst_2
            ldc "FINE"
            aastore
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.createLoggingOptions:([Ljava/lang/String;)Ljava/util/Map;
            invokevirtual org.graalvm.polyglot.Context$Builder.options:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context$Builder;
            aload 2 /* handler2 */
            invokevirtual org.graalvm.polyglot.Context$Builder.logHandler:(Ljava/util/logging/Handler;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 5 /* ctx */
        start local 5 // org.graalvm.polyglot.Context ctx
        13: .line 132
            aload 5 /* ctx */
            getstatic com.oracle.truffle.sl.test.SLLoggerTest.MUL_SL:Lorg/graalvm/polyglot/Source;
            iconst_1
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;Lorg/graalvm/polyglot/Source;I)V
        14: .line 133
            aload 5 /* ctx */
            ifnull 20
            aload 5 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 20
      StackMap locals: com.oracle.truffle.sl.test.SLLoggerTest com.oracle.truffle.sl.test.SLLoggerTest$TestHandler com.oracle.truffle.sl.test.SLLoggerTest$TestHandler java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
      StackMap stack: java.lang.Throwable
        15: astore 3
            aload 5 /* ctx */
            ifnull 16
            aload 5 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 5 // org.graalvm.polyglot.Context ctx
      StackMap locals:
      StackMap stack:
        16: aload 3
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        17: astore 4
            aload 3
            ifnonnull 18
            aload 4
            astore 3
            goto 19
      StackMap locals:
      StackMap stack:
        18: aload 3
            aload 4
            if_acmpeq 19
            aload 3
            aload 4
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        19: aload 3
            athrow
        20: .line 134
      StackMap locals:
      StackMap stack:
            new com.oracle.truffle.sl.test.SLLoggerTest$TestHandler
            dup
            invokespecial com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.<init>:()V
            astore 3 /* handler3 */
        start local 3 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler3
        21: .line 135
            aconst_null
            astore 4
            aconst_null
            astore 5
        22: iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            dup
            iconst_1
            ldc "com.oracle.truffle.sl.runtime.SLFunction"
            aastore
            dup
            iconst_2
            ldc "FINE"
            aastore
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.createLoggingOptions:([Ljava/lang/String;)Ljava/util/Map;
            invokevirtual org.graalvm.polyglot.Context$Builder.options:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context$Builder;
            aload 3 /* handler3 */
            invokevirtual org.graalvm.polyglot.Context$Builder.logHandler:(Ljava/util/logging/Handler;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 6 /* ctx */
        start local 6 // org.graalvm.polyglot.Context ctx
        23: .line 136
            aload 6 /* ctx */
            getstatic com.oracle.truffle.sl.test.SLLoggerTest.ADD_SL:Lorg/graalvm/polyglot/Source;
            iconst_2
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;Lorg/graalvm/polyglot/Source;I)V
        24: .line 137
            aload 6 /* ctx */
            ifnull 30
            aload 6 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 30
      StackMap locals: com.oracle.truffle.sl.test.SLLoggerTest com.oracle.truffle.sl.test.SLLoggerTest$TestHandler com.oracle.truffle.sl.test.SLLoggerTest$TestHandler com.oracle.truffle.sl.test.SLLoggerTest$TestHandler java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
      StackMap stack: java.lang.Throwable
        25: astore 4
            aload 6 /* ctx */
            ifnull 26
            aload 6 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 6 // org.graalvm.polyglot.Context ctx
      StackMap locals:
      StackMap stack:
        26: aload 4
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        27: astore 5
            aload 4
            ifnonnull 28
            aload 5
            astore 4
            goto 29
      StackMap locals:
      StackMap stack:
        28: aload 4
            aload 5
            if_acmpeq 29
            aload 4
            aload 5
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        29: aload 4
            athrow
        30: .line 138
      StackMap locals:
      StackMap stack:
            aload 1 /* handler1 */
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            astore 4 /* functionNames */
        start local 4 // java.util.Set functionNames
        31: .line 139
            aload 4 /* functionNames */
            ldc "add"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        32: .line 140
            aload 4 /* functionNames */
            ldc "mul"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        33: .line 141
            aload 2 /* handler2 */
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            astore 4 /* functionNames */
        34: .line 142
            aload 4 /* functionNames */
            ldc "add"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        35: .line 143
            aload 4 /* functionNames */
            ldc "mul"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        36: .line 144
            aload 3 /* handler3 */
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            astore 4 /* functionNames */
        37: .line 145
            aload 4 /* functionNames */
            ldc "add"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        38: .line 146
            aload 4 /* functionNames */
            ldc "mul"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        39: .line 147
            return
        end local 4 // java.util.Set functionNames
        end local 3 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler3
        end local 2 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler2
        end local 1 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler1
        end local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   40     0           this  Lcom/oracle/truffle/sl/test/SLLoggerTest;
            1   40     1       handler1  Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
            3    6     4            ctx  Lorg/graalvm/polyglot/Context;
           11   40     2       handler2  Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
           13   16     5            ctx  Lorg/graalvm/polyglot/Context;
           21   40     3       handler3  Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
           23   26     6            ctx  Lorg/graalvm/polyglot/Context;
           31   40     4  functionNames  Ljava/util/Set<Ljava/lang/String;>;
      Exception table:
        from    to  target  type
           3     4       5  any
           2     7       7  any
          13    14      15  any
          12    17      17  any
          23    24      25  any
          22    27      27  any
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testMultipleContextsExclusiveDifferentLogLevel();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=7, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
         0: .line 151
            new com.oracle.truffle.sl.test.SLLoggerTest$TestHandler
            dup
            invokespecial com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.<init>:()V
            astore 1 /* handler1 */
        start local 1 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler1
         1: .line 152
            aconst_null
            astore 2
            aconst_null
            astore 3
         2: iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            dup
            iconst_1
            ldc "com.oracle.truffle.sl.runtime.SLFunction"
            aastore
            dup
            iconst_2
            ldc "FINE"
            aastore
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.createLoggingOptions:([Ljava/lang/String;)Ljava/util/Map;
            invokevirtual org.graalvm.polyglot.Context$Builder.options:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context$Builder;
            aload 1 /* handler1 */
            invokevirtual org.graalvm.polyglot.Context$Builder.logHandler:(Ljava/util/logging/Handler;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 4 /* ctx */
        start local 4 // org.graalvm.polyglot.Context ctx
         3: .line 153
            aload 4 /* ctx */
            getstatic com.oracle.truffle.sl.test.SLLoggerTest.ADD_SL:Lorg/graalvm/polyglot/Source;
            iconst_2
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;Lorg/graalvm/polyglot/Source;I)V
         4: .line 154
            aload 4 /* ctx */
            ifnull 10
            aload 4 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 10
      StackMap locals: com.oracle.truffle.sl.test.SLLoggerTest com.oracle.truffle.sl.test.SLLoggerTest$TestHandler java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
      StackMap stack: java.lang.Throwable
         5: astore 2
            aload 4 /* ctx */
            ifnull 6
            aload 4 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 4 // org.graalvm.polyglot.Context ctx
      StackMap locals:
      StackMap stack:
         6: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: astore 3
            aload 2
            ifnonnull 8
            aload 3
            astore 2
            goto 9
      StackMap locals:
      StackMap stack:
         8: aload 2
            aload 3
            if_acmpeq 9
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
         9: aload 2
            athrow
        10: .line 155
      StackMap locals:
      StackMap stack:
            new com.oracle.truffle.sl.test.SLLoggerTest$TestHandler
            dup
            invokespecial com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.<init>:()V
            astore 2 /* handler2 */
        start local 2 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler2
        11: .line 156
            aconst_null
            astore 3
            aconst_null
            astore 4
        12: iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 2 /* handler2 */
            invokevirtual org.graalvm.polyglot.Context$Builder.logHandler:(Ljava/util/logging/Handler;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 5 /* ctx */
        start local 5 // org.graalvm.polyglot.Context ctx
        13: .line 157
            aload 5 /* ctx */
            getstatic com.oracle.truffle.sl.test.SLLoggerTest.MUL_SL:Lorg/graalvm/polyglot/Source;
            iconst_1
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;Lorg/graalvm/polyglot/Source;I)V
        14: .line 158
            aload 5 /* ctx */
            ifnull 20
            aload 5 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 20
      StackMap locals: com.oracle.truffle.sl.test.SLLoggerTest com.oracle.truffle.sl.test.SLLoggerTest$TestHandler com.oracle.truffle.sl.test.SLLoggerTest$TestHandler java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
      StackMap stack: java.lang.Throwable
        15: astore 3
            aload 5 /* ctx */
            ifnull 16
            aload 5 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 5 // org.graalvm.polyglot.Context ctx
      StackMap locals:
      StackMap stack:
        16: aload 3
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        17: astore 4
            aload 3
            ifnonnull 18
            aload 4
            astore 3
            goto 19
      StackMap locals:
      StackMap stack:
        18: aload 3
            aload 4
            if_acmpeq 19
            aload 3
            aload 4
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        19: aload 3
            athrow
        20: .line 159
      StackMap locals:
      StackMap stack:
            new com.oracle.truffle.sl.test.SLLoggerTest$TestHandler
            dup
            invokespecial com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.<init>:()V
            astore 3 /* handler3 */
        start local 3 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler3
        21: .line 160
            aconst_null
            astore 4
            aconst_null
            astore 5
        22: iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            dup
            iconst_1
            ldc "com.oracle.truffle.sl.runtime.SLFunction"
            aastore
            dup
            iconst_2
            ldc "FINE"
            aastore
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.createLoggingOptions:([Ljava/lang/String;)Ljava/util/Map;
            invokevirtual org.graalvm.polyglot.Context$Builder.options:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context$Builder;
            aload 3 /* handler3 */
            invokevirtual org.graalvm.polyglot.Context$Builder.logHandler:(Ljava/util/logging/Handler;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 6 /* ctx */
        start local 6 // org.graalvm.polyglot.Context ctx
        23: .line 161
            aload 6 /* ctx */
            getstatic com.oracle.truffle.sl.test.SLLoggerTest.ADD_SL:Lorg/graalvm/polyglot/Source;
            iconst_2
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;Lorg/graalvm/polyglot/Source;I)V
        24: .line 162
            aload 6 /* ctx */
            ifnull 30
            aload 6 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 30
      StackMap locals: com.oracle.truffle.sl.test.SLLoggerTest com.oracle.truffle.sl.test.SLLoggerTest$TestHandler com.oracle.truffle.sl.test.SLLoggerTest$TestHandler com.oracle.truffle.sl.test.SLLoggerTest$TestHandler java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
      StackMap stack: java.lang.Throwable
        25: astore 4
            aload 6 /* ctx */
            ifnull 26
            aload 6 /* ctx */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 6 // org.graalvm.polyglot.Context ctx
      StackMap locals:
      StackMap stack:
        26: aload 4
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        27: astore 5
            aload 4
            ifnonnull 28
            aload 5
            astore 4
            goto 29
      StackMap locals:
      StackMap stack:
        28: aload 4
            aload 5
            if_acmpeq 29
            aload 4
            aload 5
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        29: aload 4
            athrow
        30: .line 163
      StackMap locals:
      StackMap stack:
            aload 1 /* handler1 */
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            astore 4 /* functionNames */
        start local 4 // java.util.Set functionNames
        31: .line 164
            aload 4 /* functionNames */
            ldc "add"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        32: .line 165
            aload 4 /* functionNames */
            ldc "mul"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        33: .line 166
            aload 2 /* handler2 */
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            astore 4 /* functionNames */
        34: .line 167
            aload 4 /* functionNames */
            invokeinterface java.util.Set.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        35: .line 168
            aload 3 /* handler3 */
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            astore 4 /* functionNames */
        36: .line 169
            aload 4 /* functionNames */
            ldc "add"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        37: .line 170
            aload 4 /* functionNames */
            ldc "mul"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        38: .line 171
            return
        end local 4 // java.util.Set functionNames
        end local 3 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler3
        end local 2 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler2
        end local 1 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler1
        end local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   39     0           this  Lcom/oracle/truffle/sl/test/SLLoggerTest;
            1   39     1       handler1  Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
            3    6     4            ctx  Lorg/graalvm/polyglot/Context;
           11   39     2       handler2  Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
           13   16     5            ctx  Lorg/graalvm/polyglot/Context;
           21   39     3       handler3  Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
           23   26     6            ctx  Lorg/graalvm/polyglot/Context;
           31   39     4  functionNames  Ljava/util/Set<Ljava/lang/String;>;
      Exception table:
        from    to  target  type
           3     4       5  any
           2     7       7  any
          13    14      15  any
          12    17      17  any
          23    24      25  any
          22    27      27  any
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testMultipleContextsNestedFineLevel();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=13, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
         0: .line 175
            new com.oracle.truffle.sl.test.SLLoggerTest$TestHandler
            dup
            invokespecial com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.<init>:()V
            astore 1 /* handler1 */
        start local 1 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler1
         1: .line 176
            new com.oracle.truffle.sl.test.SLLoggerTest$TestHandler
            dup
            invokespecial com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.<init>:()V
            astore 2 /* handler2 */
        start local 2 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler2
         2: .line 177
            new com.oracle.truffle.sl.test.SLLoggerTest$TestHandler
            dup
            invokespecial com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.<init>:()V
            astore 3 /* handler3 */
        start local 3 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler3
         3: .line 178
            aconst_null
            astore 4
            aconst_null
            astore 5
         4: iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            dup
            iconst_1
            ldc "com.oracle.truffle.sl.runtime.SLFunction"
            aastore
            dup
            iconst_2
            ldc "FINE"
            aastore
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.createLoggingOptions:([Ljava/lang/String;)Ljava/util/Map;
            invokevirtual org.graalvm.polyglot.Context$Builder.options:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context$Builder;
            aload 1 /* handler1 */
            invokevirtual org.graalvm.polyglot.Context$Builder.logHandler:(Ljava/util/logging/Handler;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 6 /* ctx1 */
        start local 6 // org.graalvm.polyglot.Context ctx1
         5: .line 179
            aconst_null
            astore 7
            aconst_null
            astore 8
         6: iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            dup
            iconst_1
            ldc "com.oracle.truffle.sl.runtime.SLFunction"
            aastore
            dup
            iconst_2
            ldc "FINE"
            aastore
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.createLoggingOptions:([Ljava/lang/String;)Ljava/util/Map;
            invokevirtual org.graalvm.polyglot.Context$Builder.options:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context$Builder;
            aload 2 /* handler2 */
            invokevirtual org.graalvm.polyglot.Context$Builder.logHandler:(Ljava/util/logging/Handler;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 9 /* ctx2 */
        start local 9 // org.graalvm.polyglot.Context ctx2
         7: .line 180
            aconst_null
            astore 10
            aconst_null
            astore 11
         8: iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            dup
            iconst_1
            ldc "com.oracle.truffle.sl.runtime.SLFunction"
            aastore
            dup
            iconst_2
            ldc "FINE"
            aastore
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.createLoggingOptions:([Ljava/lang/String;)Ljava/util/Map;
            invokevirtual org.graalvm.polyglot.Context$Builder.options:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context$Builder;
            aload 3 /* handler3 */
            invokevirtual org.graalvm.polyglot.Context$Builder.logHandler:(Ljava/util/logging/Handler;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 12 /* ctx3 */
        start local 12 // org.graalvm.polyglot.Context ctx3
         9: .line 181
            aload 6 /* ctx1 */
            getstatic com.oracle.truffle.sl.test.SLLoggerTest.ADD_SL:Lorg/graalvm/polyglot/Source;
            iconst_2
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;Lorg/graalvm/polyglot/Source;I)V
        10: .line 182
            aload 9 /* ctx2 */
            getstatic com.oracle.truffle.sl.test.SLLoggerTest.MUL_SL:Lorg/graalvm/polyglot/Source;
            iconst_1
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;Lorg/graalvm/polyglot/Source;I)V
        11: .line 183
            aload 12 /* ctx3 */
            getstatic com.oracle.truffle.sl.test.SLLoggerTest.ADD_SL:Lorg/graalvm/polyglot/Source;
            iconst_2
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;Lorg/graalvm/polyglot/Source;I)V
        12: .line 184
            aload 12 /* ctx3 */
            ifnull 18
            aload 12 /* ctx3 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 18
      StackMap locals: com.oracle.truffle.sl.test.SLLoggerTest com.oracle.truffle.sl.test.SLLoggerTest$TestHandler com.oracle.truffle.sl.test.SLLoggerTest$TestHandler com.oracle.truffle.sl.test.SLLoggerTest$TestHandler java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
      StackMap stack: java.lang.Throwable
        13: astore 10
            aload 12 /* ctx3 */
            ifnull 14
            aload 12 /* ctx3 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 12 // org.graalvm.polyglot.Context ctx3
      StackMap locals:
      StackMap stack:
        14: aload 10
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        15: astore 11
            aload 10
            ifnonnull 16
            aload 11
            astore 10
            goto 17
      StackMap locals:
      StackMap stack:
        16: aload 10
            aload 11
            if_acmpeq 17
            aload 10
            aload 11
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        17: aload 10
            athrow
        18: .line 185
      StackMap locals:
      StackMap stack:
            aload 9 /* ctx2 */
            ifnull 24
            aload 9 /* ctx2 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 24
      StackMap locals:
      StackMap stack: java.lang.Throwable
        19: astore 7
            aload 9 /* ctx2 */
            ifnull 20
            aload 9 /* ctx2 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 9 // org.graalvm.polyglot.Context ctx2
      StackMap locals:
      StackMap stack:
        20: aload 7
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        21: astore 8
            aload 7
            ifnonnull 22
            aload 8
            astore 7
            goto 23
      StackMap locals:
      StackMap stack:
        22: aload 7
            aload 8
            if_acmpeq 23
            aload 7
            aload 8
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        23: aload 7
            athrow
        24: .line 186
      StackMap locals:
      StackMap stack:
            aload 6 /* ctx1 */
            ifnull 30
            aload 6 /* ctx1 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 30
      StackMap locals:
      StackMap stack: java.lang.Throwable
        25: astore 4
            aload 6 /* ctx1 */
            ifnull 26
            aload 6 /* ctx1 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 6 // org.graalvm.polyglot.Context ctx1
      StackMap locals:
      StackMap stack:
        26: aload 4
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        27: astore 5
            aload 4
            ifnonnull 28
            aload 5
            astore 4
            goto 29
      StackMap locals:
      StackMap stack:
        28: aload 4
            aload 5
            if_acmpeq 29
            aload 4
            aload 5
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        29: aload 4
            athrow
        30: .line 187
      StackMap locals:
      StackMap stack:
            aload 1 /* handler1 */
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            astore 4 /* functionNames */
        start local 4 // java.util.Set functionNames
        31: .line 188
            aload 4 /* functionNames */
            ldc "add"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        32: .line 189
            aload 4 /* functionNames */
            ldc "mul"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        33: .line 190
            aload 2 /* handler2 */
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            astore 4 /* functionNames */
        34: .line 191
            aload 4 /* functionNames */
            ldc "add"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        35: .line 192
            aload 4 /* functionNames */
            ldc "mul"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        36: .line 193
            aload 3 /* handler3 */
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            astore 4 /* functionNames */
        37: .line 194
            aload 4 /* functionNames */
            ldc "add"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        38: .line 195
            aload 4 /* functionNames */
            ldc "mul"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        39: .line 196
            return
        end local 4 // java.util.Set functionNames
        end local 3 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler3
        end local 2 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler2
        end local 1 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler1
        end local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   40     0           this  Lcom/oracle/truffle/sl/test/SLLoggerTest;
            1   40     1       handler1  Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
            2   40     2       handler2  Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
            3   40     3       handler3  Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
            5   26     6           ctx1  Lorg/graalvm/polyglot/Context;
            7   20     9           ctx2  Lorg/graalvm/polyglot/Context;
            9   14    12           ctx3  Lorg/graalvm/polyglot/Context;
           31   40     4  functionNames  Ljava/util/Set<Ljava/lang/String;>;
      Exception table:
        from    to  target  type
           9    12      13  any
           8    15      15  any
           7    18      19  any
           6    21      21  any
           5    24      25  any
           4    27      27  any
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testMultipleContextsNestedDifferentLogLevel();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=13, args_size=1
        start local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
         0: .line 200
            new com.oracle.truffle.sl.test.SLLoggerTest$TestHandler
            dup
            invokespecial com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.<init>:()V
            astore 1 /* handler1 */
        start local 1 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler1
         1: .line 201
            new com.oracle.truffle.sl.test.SLLoggerTest$TestHandler
            dup
            invokespecial com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.<init>:()V
            astore 2 /* handler2 */
        start local 2 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler2
         2: .line 202
            new com.oracle.truffle.sl.test.SLLoggerTest$TestHandler
            dup
            invokespecial com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.<init>:()V
            astore 3 /* handler3 */
        start local 3 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler3
         3: .line 203
            aconst_null
            astore 4
            aconst_null
            astore 5
         4: iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            dup
            iconst_1
            ldc "com.oracle.truffle.sl.runtime.SLFunction"
            aastore
            dup
            iconst_2
            ldc "FINE"
            aastore
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.createLoggingOptions:([Ljava/lang/String;)Ljava/util/Map;
            invokevirtual org.graalvm.polyglot.Context$Builder.options:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context$Builder;
            aload 1 /* handler1 */
            invokevirtual org.graalvm.polyglot.Context$Builder.logHandler:(Ljava/util/logging/Handler;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 6 /* ctx1 */
        start local 6 // org.graalvm.polyglot.Context ctx1
         5: .line 204
            aconst_null
            astore 7
            aconst_null
            astore 8
         6: iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            dup
            iconst_1
            ldc "com.oracle.truffle.sl.runtime.SLFunction"
            aastore
            dup
            iconst_2
            ldc "FINE"
            aastore
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.createLoggingOptions:([Ljava/lang/String;)Ljava/util/Map;
            invokevirtual org.graalvm.polyglot.Context$Builder.options:(Ljava/util/Map;)Lorg/graalvm/polyglot/Context$Builder;
            aload 2 /* handler2 */
            invokevirtual org.graalvm.polyglot.Context$Builder.logHandler:(Ljava/util/logging/Handler;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 9 /* ctx2 */
        start local 9 // org.graalvm.polyglot.Context ctx2
         7: .line 205
            aconst_null
            astore 10
            aconst_null
            astore 11
         8: iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "sl"
            aastore
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 3 /* handler3 */
            invokevirtual org.graalvm.polyglot.Context$Builder.logHandler:(Ljava/util/logging/Handler;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 12 /* ctx3 */
        start local 12 // org.graalvm.polyglot.Context ctx3
         9: .line 206
            aload 6 /* ctx1 */
            getstatic com.oracle.truffle.sl.test.SLLoggerTest.ADD_SL:Lorg/graalvm/polyglot/Source;
            iconst_2
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;Lorg/graalvm/polyglot/Source;I)V
        10: .line 207
            aload 9 /* ctx2 */
            getstatic com.oracle.truffle.sl.test.SLLoggerTest.MUL_SL:Lorg/graalvm/polyglot/Source;
            iconst_1
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;Lorg/graalvm/polyglot/Source;I)V
        11: .line 208
            aload 12 /* ctx3 */
            getstatic com.oracle.truffle.sl.test.SLLoggerTest.ADD_SL:Lorg/graalvm/polyglot/Source;
            iconst_2
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;Lorg/graalvm/polyglot/Source;I)V
        12: .line 209
            aload 12 /* ctx3 */
            ifnull 18
            aload 12 /* ctx3 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 18
      StackMap locals: com.oracle.truffle.sl.test.SLLoggerTest com.oracle.truffle.sl.test.SLLoggerTest$TestHandler com.oracle.truffle.sl.test.SLLoggerTest$TestHandler com.oracle.truffle.sl.test.SLLoggerTest$TestHandler java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
      StackMap stack: java.lang.Throwable
        13: astore 10
            aload 12 /* ctx3 */
            ifnull 14
            aload 12 /* ctx3 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 12 // org.graalvm.polyglot.Context ctx3
      StackMap locals:
      StackMap stack:
        14: aload 10
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        15: astore 11
            aload 10
            ifnonnull 16
            aload 11
            astore 10
            goto 17
      StackMap locals:
      StackMap stack:
        16: aload 10
            aload 11
            if_acmpeq 17
            aload 10
            aload 11
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        17: aload 10
            athrow
        18: .line 210
      StackMap locals:
      StackMap stack:
            aload 9 /* ctx2 */
            ifnull 24
            aload 9 /* ctx2 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 24
      StackMap locals:
      StackMap stack: java.lang.Throwable
        19: astore 7
            aload 9 /* ctx2 */
            ifnull 20
            aload 9 /* ctx2 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 9 // org.graalvm.polyglot.Context ctx2
      StackMap locals:
      StackMap stack:
        20: aload 7
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        21: astore 8
            aload 7
            ifnonnull 22
            aload 8
            astore 7
            goto 23
      StackMap locals:
      StackMap stack:
        22: aload 7
            aload 8
            if_acmpeq 23
            aload 7
            aload 8
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        23: aload 7
            athrow
        24: .line 211
      StackMap locals:
      StackMap stack:
            aload 6 /* ctx1 */
            ifnull 30
            aload 6 /* ctx1 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 30
      StackMap locals:
      StackMap stack: java.lang.Throwable
        25: astore 4
            aload 6 /* ctx1 */
            ifnull 26
            aload 6 /* ctx1 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 6 // org.graalvm.polyglot.Context ctx1
      StackMap locals:
      StackMap stack:
        26: aload 4
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        27: astore 5
            aload 4
            ifnonnull 28
            aload 5
            astore 4
            goto 29
      StackMap locals:
      StackMap stack:
        28: aload 4
            aload 5
            if_acmpeq 29
            aload 4
            aload 5
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        29: aload 4
            athrow
        30: .line 212
      StackMap locals:
      StackMap stack:
            aload 1 /* handler1 */
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            astore 4 /* functionNames */
        start local 4 // java.util.Set functionNames
        31: .line 213
            aload 4 /* functionNames */
            ldc "add"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        32: .line 214
            aload 4 /* functionNames */
            ldc "mul"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        33: .line 215
            aload 2 /* handler2 */
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            astore 4 /* functionNames */
        34: .line 216
            aload 4 /* functionNames */
            ldc "add"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertFalse:(Z)V
        35: .line 217
            aload 4 /* functionNames */
            ldc "mul"
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        36: .line 218
            aload 3 /* handler3 */
            invokevirtual com.oracle.truffle.sl.test.SLLoggerTest$TestHandler.getRecords:()Ljava/util/List;
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.functionNames:(Ljava/util/List;)Ljava/util/Set;
            astore 4 /* functionNames */
        37: .line 219
            aload 4 /* functionNames */
            invokeinterface java.util.Set.isEmpty:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        38: .line 220
            return
        end local 4 // java.util.Set functionNames
        end local 3 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler3
        end local 2 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler2
        end local 1 // com.oracle.truffle.sl.test.SLLoggerTest$TestHandler handler1
        end local 0 // com.oracle.truffle.sl.test.SLLoggerTest this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   39     0           this  Lcom/oracle/truffle/sl/test/SLLoggerTest;
            1   39     1       handler1  Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
            2   39     2       handler2  Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
            3   39     3       handler3  Lcom/oracle/truffle/sl/test/SLLoggerTest$TestHandler;
            5   26     6           ctx1  Lorg/graalvm/polyglot/Context;
            7   20     9           ctx2  Lorg/graalvm/polyglot/Context;
            9   14    12           ctx3  Lorg/graalvm/polyglot/Context;
           31   39     4  functionNames  Ljava/util/Set<Ljava/lang/String;>;
      Exception table:
        from    to  target  type
           9    12      13  any
           8    15      15  any
           7    18      19  any
           6    21      21  any
           5    24      25  any
           4    27      27  any
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private static void executeSlScript(org.graalvm.polyglot.Context);
    descriptor: (Lorg/graalvm/polyglot/Context;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.Context context
         0: .line 223
            aload 0 /* context */
            getstatic com.oracle.truffle.sl.test.SLLoggerTest.ADD_SL:Lorg/graalvm/polyglot/Source;
            iconst_2
            invokestatic com.oracle.truffle.sl.test.SLLoggerTest.executeSlScript:(Lorg/graalvm/polyglot/Context;Lorg/graalvm/polyglot/Source;I)V
         1: .line 224
            return
        end local 0 // org.graalvm.polyglot.Context context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0  context  Lorg/graalvm/polyglot/Context;
    MethodParameters:
         Name  Flags
      context  final

  private static void executeSlScript(org.graalvm.polyglot.Context, org.graalvm.polyglot.Source, int);
    descriptor: (Lorg/graalvm/polyglot/Context;Lorg/graalvm/polyglot/Source;I)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // org.graalvm.polyglot.Context context
        start local 1 // org.graalvm.polyglot.Source src
        start local 2 // int expectedResult
         0: .line 227
            aload 0 /* context */
            aload 1 /* src */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            astore 3 /* res */
        start local 3 // org.graalvm.polyglot.Value res
         1: .line 228
            aload 3 /* res */
            invokevirtual org.graalvm.polyglot.Value.isNumber:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
         2: .line 229
            iload 2 /* expectedResult */
            i2l
            aload 3 /* res */
            invokevirtual org.graalvm.polyglot.Value.asInt:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         3: .line 230
            return
        end local 3 // org.graalvm.polyglot.Value res
        end local 2 // int expectedResult
        end local 1 // org.graalvm.polyglot.Source src
        end local 0 // org.graalvm.polyglot.Context context
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    4     0         context  Lorg/graalvm/polyglot/Context;
            0    4     1             src  Lorg/graalvm/polyglot/Source;
            0    4     2  expectedResult  I
            1    4     3             res  Lorg/graalvm/polyglot/Value;
    MethodParameters:
                Name  Flags
      context         final
      src             final
      expectedResult  final

  private static java.util.Map<java.lang.String, java.lang.String> createLoggingOptions(java.lang.String[]);
    descriptor: ([Ljava/lang/String;)Ljava/util/Map;
    flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
    Code:
      stack=8, locals=3, args_size=1
        start local 0 // java.lang.String[] kvs
         0: .line 233
            aload 0 /* kvs */
            arraylength
            iconst_3
            irem
            ifeq 2
         1: .line 234
            new java.lang.IllegalArgumentException
            dup
            ldc "Lang, Key, Val length has to be divisible by 3."
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 236
      StackMap locals:
      StackMap stack:
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 1 /* options */
        start local 1 // java.util.Map options
         3: .line 237
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         4: goto 7
         5: .line 238
      StackMap locals: java.util.Map int
      StackMap stack:
            aload 1 /* options */
            ldc "log.%s.%s.level"
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* kvs */
            iload 2 /* i */
            aaload
            aastore
            dup
            iconst_1
            aload 0 /* kvs */
            iload 2 /* i */
            iconst_1
            iadd
            aaload
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            aload 0 /* kvs */
            iload 2 /* i */
            iconst_2
            iadd
            aaload
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         6: .line 237
            iinc 2 /* i */ 3
      StackMap locals:
      StackMap stack:
         7: iload 2 /* i */
            aload 0 /* kvs */
            arraylength
            if_icmplt 5
        end local 2 // int i
         8: .line 240
            aload 1 /* options */
            areturn
        end local 1 // java.util.Map options
        end local 0 // java.lang.String[] kvs
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    9     0      kvs  [Ljava/lang/String;
            3    9     1  options  Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
            4    8     2        i  I
    Signature: ([Ljava/lang/String;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
    MethodParameters:
      Name  Flags
      kvs   

  private static java.util.Set<java.lang.String> functionNames(java.util.List<? extends java.util.logging.LogRecord>);
    descriptor: (Ljava/util/List;)Ljava/util/Set;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.List records
         0: .line 244
            aload 0 /* records */
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
            invokedynamic test()Ljava/util/function/Predicate;
              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;)Z
                  com/oracle/truffle/sl/test/SLLoggerTest.lambda$0(Ljava/util/logging/LogRecord;)Z (6)
                  (Ljava/util/logging/LogRecord;)Z
            invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
            invokedynamic apply()Ljava/util/function/Function;
              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;)Ljava/lang/Object;
                  com/oracle/truffle/sl/test/SLLoggerTest.lambda$1(Ljava/util/logging/LogRecord;)Ljava/lang/String; (6)
                  (Ljava/util/logging/LogRecord;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
            invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.util.Set
            areturn
        end local 0 // java.util.List records
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  records  Ljava/util/List<+Ljava/util/logging/LogRecord;>;
    Signature: (Ljava/util/List<+Ljava/util/logging/LogRecord;>;)Ljava/util/Set<Ljava/lang/String;>;
    MethodParameters:
         Name  Flags
      records  final

  private static boolean lambda$0(java.util.logging.LogRecord);
    descriptor: (Ljava/util/logging/LogRecord;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.logging.LogRecord lr
         0: .line 244
            ldc "sl.com.oracle.truffle.sl.runtime.SLFunction"
            aload 0 /* lr */
            invokevirtual java.util.logging.LogRecord.getLoggerName:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ireturn
        end local 0 // java.util.logging.LogRecord lr
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    lr  Ljava/util/logging/LogRecord;

  private static java.lang.String lambda$1(java.util.logging.LogRecord);
    descriptor: (Ljava/util/logging/LogRecord;)Ljava/lang/String;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.logging.LogRecord lr
         0: .line 244
            aload 0 /* lr */
            invokevirtual java.util.logging.LogRecord.getParameters:()[Ljava/lang/Object;
            iconst_0
            aaload
            checkcast java.lang.String
            areturn
        end local 0 // java.util.logging.LogRecord lr
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0    lr  Ljava/util/logging/LogRecord;
}
SourceFile: "SLLoggerTest.java"
NestMembers:
  com.oracle.truffle.sl.test.SLLoggerTest$TestHandler
InnerClasses:
  private final TestHandler = com.oracle.truffle.sl.test.SLLoggerTest$TestHandler of com.oracle.truffle.sl.test.SLLoggerTest
  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
  public Builder = org.graalvm.polyglot.Source$Builder of org.graalvm.polyglot.Source