public class sun.applet.AppletSecurity extends sun.awt.AWTSecurityManager
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.applet.AppletSecurity
  super_class: sun.awt.AWTSecurityManager
{
  private static final jdk.internal.misc.JavaNetURLClassLoaderAccess JNUCLA;
    descriptor: Ljdk/internal/misc/JavaNetURLClassLoaderAccess;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final jdk.internal.misc.JavaSecurityAccess JSA;
    descriptor: Ljdk/internal/misc/JavaSecurityAccess;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private java.util.HashSet<java.lang.String> restrictedPackages;
    descriptor: Ljava/util/HashSet;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/HashSet<Ljava/lang/String;>;

  private static final java.lang.StackWalker walker;
    descriptor: Ljava/lang/StackWalker;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private boolean inThreadGroupCheck;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 62
            invokestatic jdk.internal.misc.SharedSecrets.getJavaNetURLClassLoaderAccess:()Ljdk/internal/misc/JavaNetURLClassLoaderAccess;
         1: .line 61
            putstatic sun.applet.AppletSecurity.JNUCLA:Ljdk/internal/misc/JavaNetURLClassLoaderAccess;
         2: .line 63
            invokestatic jdk.internal.misc.SharedSecrets.getJavaSecurityAccess:()Ljdk/internal/misc/JavaSecurityAccess;
            putstatic sun.applet.AppletSecurity.JSA:Ljdk/internal/misc/JavaSecurityAccess;
         3: .line 113
            invokedynamic run()Ljava/security/PrivilegedAction;
              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;
                  sun/applet/AppletSecurity.lambda$0()Ljava/lang/StackWalker; (6)
                  ()Ljava/lang/StackWalker;
         4: .line 112
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            checkcast java.lang.StackWalker
         5: .line 111
            putstatic sun.applet.AppletSecurity.walker:Ljava/lang/StackWalker;
         6: .line 114
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.applet.AppletSecurity this
         0: .line 68
            aload 0 /* this */
            invokespecial sun.awt.AWTSecurityManager.<init>:()V
         1: .line 73
            aload 0 /* this */
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            putfield sun.applet.AppletSecurity.restrictedPackages:Ljava/util/HashSet;
         2: .line 307
            aload 0 /* this */
            iconst_0
            putfield sun.applet.AppletSecurity.inThreadGroupCheck:Z
         3: .line 69
            aload 0 /* this */
            invokevirtual sun.applet.AppletSecurity.reset:()V
         4: .line 70
            return
        end local 0 // sun.applet.AppletSecurity this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lsun/applet/AppletSecurity;

  public void reset();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // sun.applet.AppletSecurity this
         0: .line 81
            aload 0 /* this */
            getfield sun.applet.AppletSecurity.restrictedPackages:Ljava/util/HashSet;
            invokevirtual java.util.HashSet.clear:()V
         1: .line 83
            new sun.applet.AppletSecurity$1
            dup
            aload 0 /* this */
            invokespecial sun.applet.AppletSecurity$1.<init>:(Lsun/applet/AppletSecurity;)V
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            pop
         2: .line 109
            return
        end local 0 // sun.applet.AppletSecurity this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/applet/AppletSecurity;

  private static java.lang.ClassLoader currentClassLoader();
    descriptor: ()Ljava/lang/ClassLoader;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=0
         0: .line 150
            getstatic sun.applet.AppletSecurity.walker:Ljava/lang/StackWalker;
            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;
                  sun/applet/AppletSecurity.lambda$1(Ljava/util/stream/Stream;)Ljava/util/Optional; (6)
                  (Ljava/util/stream/Stream;)Ljava/util/Optional;
            invokevirtual java.lang.StackWalker.walk:(Ljava/util/function/Function;)Ljava/lang/Object;
            checkcast java.util.Optional
         1: .line 153
            aconst_null
            invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.lang.StackWalker$StackFrame
         2: .line 149
            astore 0 /* f */
        start local 0 // java.lang.StackWalker$StackFrame f
         3: .line 155
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 1 /* sm */
        start local 1 // java.lang.SecurityManager sm
         4: .line 156
            aload 0 /* f */
            ifnull 9
            aload 1 /* sm */
            ifnull 9
         5: .line 158
            aload 1 /* sm */
            new java.security.AllPermission
            dup
            invokespecial java.security.AllPermission.<init>:()V
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
         6: .line 159
            goto 9
      StackMap locals: java.lang.StackWalker$StackFrame java.lang.SecurityManager
      StackMap stack: java.lang.SecurityException
         7: pop
         8: .line 160
            aload 0 /* f */
            invokeinterface java.lang.StackWalker$StackFrame.getDeclaringClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            areturn
         9: .line 163
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 1 // java.lang.SecurityManager sm
        end local 0 // java.lang.StackWalker$StackFrame f
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            3   10     0     f  Ljava/lang/StackWalker$StackFrame;
            4   10     1    sm  Ljava/lang/SecurityManager;
      Exception table:
        from    to  target  type
           5     6       7  Class java.lang.SecurityException

  private static boolean isNonPrivileged(java.lang.StackWalker$StackFrame);
    descriptor: (Ljava/lang/StackWalker$StackFrame;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.lang.StackWalker$StackFrame f
         0: .line 171
            aload 0 /* f */
            invokeinterface java.lang.StackWalker$StackFrame.getDeclaringClass:()Ljava/lang/Class;
            astore 1 /* c */
        start local 1 // java.lang.Class c
         1: .line 172
            aload 1 /* c */
            ldc Ljava/security/AccessController;
            if_acmpne 4
         2: .line 173
            aload 0 /* f */
            invokeinterface java.lang.StackWalker$StackFrame.getMethodName:()Ljava/lang/String;
            ldc "doPrivileged"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 4
         3: .line 172
            iconst_1
            ireturn
      StackMap locals: java.lang.Class
      StackMap stack:
         4: iconst_0
            ireturn
        end local 1 // java.lang.Class c
        end local 0 // java.lang.StackWalker$StackFrame f
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0     f  Ljava/lang/StackWalker$StackFrame;
            1    5     1     c  Ljava/lang/Class<*>;
    MethodParameters:
      Name  Flags
      f     

  private static boolean isNonSystemFrame(java.lang.StackWalker$StackFrame);
    descriptor: (Ljava/lang/StackWalker$StackFrame;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // java.lang.StackWalker$StackFrame f
         0: .line 181
            invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
            astore 1 /* loader */
        start local 1 // java.lang.ClassLoader loader
         1: .line 182
            aload 0 /* f */
            invokeinterface java.lang.StackWalker$StackFrame.getDeclaringClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            astore 2 /* ld */
        start local 2 // java.lang.ClassLoader ld
         2: .line 183
            aload 2 /* ld */
            ifnull 3
            aload 2 /* ld */
            aload 1 /* loader */
            if_acmpne 6
      StackMap locals: java.lang.ClassLoader java.lang.ClassLoader
      StackMap stack:
         3: iconst_0
            ireturn
         4: .line 186
      StackMap locals:
      StackMap stack:
            aload 2 /* ld */
            aload 1 /* loader */
            if_acmpne 6
         5: .line 187
            iconst_0
            ireturn
         6: .line 185
      StackMap locals:
      StackMap stack:
            aload 1 /* loader */
            invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
            dup
            astore 1 /* loader */
            ifnonnull 4
         7: .line 189
            iconst_1
            ireturn
        end local 2 // java.lang.ClassLoader ld
        end local 1 // java.lang.ClassLoader loader
        end local 0 // java.lang.StackWalker$StackFrame f
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0       f  Ljava/lang/StackWalker$StackFrame;
            1    8     1  loader  Ljava/lang/ClassLoader;
            2    8     2      ld  Ljava/lang/ClassLoader;
    MethodParameters:
      Name  Flags
      f     

  private sun.applet.AppletClassLoader currentAppletClassLoader();
    descriptor: ()Lsun/applet/AppletClassLoader;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=6, args_size=1
        start local 0 // sun.applet.AppletSecurity this
         0: .line 198
            invokestatic sun.applet.AppletSecurity.currentClassLoader:()Ljava/lang/ClassLoader;
            astore 1 /* loader */
        start local 1 // java.lang.ClassLoader loader
         1: .line 200
            aload 1 /* loader */
            ifnull 2
            aload 1 /* loader */
            instanceof sun.applet.AppletClassLoader
            ifeq 3
         2: .line 201
      StackMap locals: java.lang.ClassLoader
      StackMap stack:
            aload 1 /* loader */
            checkcast sun.applet.AppletClassLoader
            areturn
         3: .line 204
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.applet.AppletSecurity.getClassContext:()[Ljava/lang/Class;
            astore 2 /* context */
        start local 2 // java.lang.Class[] context
         4: .line 205
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         5: goto 10
         6: .line 206
      StackMap locals: java.lang.Class[] int
      StackMap stack:
            aload 2 /* context */
            iload 3 /* i */
            aaload
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            astore 1 /* loader */
         7: .line 207
            aload 1 /* loader */
            instanceof sun.applet.AppletClassLoader
            ifeq 9
         8: .line 208
            aload 1 /* loader */
            checkcast sun.applet.AppletClassLoader
            areturn
         9: .line 205
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        10: iload 3 /* i */
            aload 2 /* context */
            arraylength
            if_icmplt 6
        end local 3 // int i
        11: .line 218
            iconst_0
            istore 3 /* i */
        start local 3 // int i
        12: goto 21
        13: .line 219
      StackMap locals:
      StackMap stack:
            aload 2 /* context */
            iload 3 /* i */
            aaload
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
            astore 4 /* currentLoader */
        start local 4 // java.lang.ClassLoader currentLoader
        14: .line 221
            aload 4 /* currentLoader */
            instanceof java.net.URLClassLoader
            ifeq 20
        15: .line 222
            aload 4 /* currentLoader */
            checkcast java.net.URLClassLoader
            astore 5 /* ld */
        start local 5 // java.net.URLClassLoader ld
        16: .line 224
            new sun.applet.AppletSecurity$2
            dup
            aload 0 /* this */
            aload 5 /* ld */
            invokespecial sun.applet.AppletSecurity$2.<init>:(Lsun/applet/AppletSecurity;Ljava/net/URLClassLoader;)V
        17: .line 223
            invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
            checkcast java.lang.ClassLoader
            astore 1 /* loader */
        18: .line 256
            aload 1 /* loader */
            ifnull 20
        19: .line 257
            aload 1 /* loader */
            checkcast sun.applet.AppletClassLoader
            areturn
        end local 5 // java.net.URLClassLoader ld
        end local 4 // java.lang.ClassLoader currentLoader
        20: .line 218
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        21: iload 3 /* i */
            aload 2 /* context */
            arraylength
            if_icmplt 13
        end local 3 // int i
        22: .line 263
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
            astore 1 /* loader */
        23: .line 264
            aload 1 /* loader */
            instanceof sun.applet.AppletClassLoader
            ifeq 25
        24: .line 265
            aload 1 /* loader */
            checkcast sun.applet.AppletClassLoader
            areturn
        25: .line 268
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 2 // java.lang.Class[] context
        end local 1 // java.lang.ClassLoader loader
        end local 0 // sun.applet.AppletSecurity this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   26     0           this  Lsun/applet/AppletSecurity;
            1   26     1         loader  Ljava/lang/ClassLoader;
            4   26     2        context  [Ljava/lang/Class;
            5   11     3              i  I
           12   22     3              i  I
           14   20     4  currentLoader  Ljava/lang/ClassLoader;
           16   20     5             ld  Ljava/net/URLClassLoader;

  protected boolean inThreadGroup(java.lang.ThreadGroup);
    descriptor: (Ljava/lang/ThreadGroup;)Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.applet.AppletSecurity this
        start local 1 // java.lang.ThreadGroup g
         0: .line 277
            aload 0 /* this */
            invokevirtual sun.applet.AppletSecurity.currentAppletClassLoader:()Lsun/applet/AppletClassLoader;
            ifnonnull 2
         1: .line 278
            iconst_0
            ireturn
         2: .line 280
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual sun.applet.AppletSecurity.getThreadGroup:()Ljava/lang/ThreadGroup;
            aload 1 /* g */
            invokevirtual java.lang.ThreadGroup.parentOf:(Ljava/lang/ThreadGroup;)Z
            ireturn
        end local 1 // java.lang.ThreadGroup g
        end local 0 // sun.applet.AppletSecurity this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/applet/AppletSecurity;
            0    3     1     g  Ljava/lang/ThreadGroup;
    MethodParameters:
      Name  Flags
      g     

  protected boolean inThreadGroup(java.lang.Thread);
    descriptor: (Ljava/lang/Thread;)Z
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.applet.AppletSecurity this
        start local 1 // java.lang.Thread thread
         0: .line 288
            aload 0 /* this */
            aload 1 /* thread */
            invokevirtual java.lang.Thread.getThreadGroup:()Ljava/lang/ThreadGroup;
            invokevirtual sun.applet.AppletSecurity.inThreadGroup:(Ljava/lang/ThreadGroup;)Z
            ireturn
        end local 1 // java.lang.Thread thread
        end local 0 // sun.applet.AppletSecurity this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lsun/applet/AppletSecurity;
            0    1     1  thread  Ljava/lang/Thread;
    MethodParameters:
        Name  Flags
      thread  

  public void checkAccess(java.lang.Thread);
    descriptor: (Ljava/lang/Thread;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.applet.AppletSecurity this
        start local 1 // java.lang.Thread t
         0: .line 302
            aload 1 /* t */
            invokevirtual java.lang.Thread.getState:()Ljava/lang/Thread$State;
            getstatic java.lang.Thread$State.TERMINATED:Ljava/lang/Thread$State;
            if_acmpeq 2
            aload 0 /* this */
            aload 1 /* t */
            invokevirtual sun.applet.AppletSecurity.inThreadGroup:(Ljava/lang/Thread;)Z
            ifne 2
         1: .line 303
            aload 0 /* this */
            getstatic sun.security.util.SecurityConstants.MODIFY_THREAD_PERMISSION:Ljava/lang/RuntimePermission;
            invokevirtual sun.applet.AppletSecurity.checkPermission:(Ljava/security/Permission;)V
         2: .line 305
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Thread t
        end local 0 // sun.applet.AppletSecurity this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lsun/applet/AppletSecurity;
            0    3     1     t  Ljava/lang/Thread;
    MethodParameters:
      Name  Flags
      t     

  public synchronized void checkAccess(java.lang.ThreadGroup);
    descriptor: (Ljava/lang/ThreadGroup;)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // sun.applet.AppletSecurity this
        start local 1 // java.lang.ThreadGroup g
         0: .line 314
            aload 0 /* this */
            getfield sun.applet.AppletSecurity.inThreadGroupCheck:Z
            ifeq 3
         1: .line 319
            aload 0 /* this */
            getstatic sun.security.util.SecurityConstants.MODIFY_THREADGROUP_PERMISSION:Ljava/lang/RuntimePermission;
            invokevirtual sun.applet.AppletSecurity.checkPermission:(Ljava/security/Permission;)V
         2: .line 320
            goto 11
         3: .line 322
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield sun.applet.AppletSecurity.inThreadGroupCheck:Z
         4: .line 323
            aload 0 /* this */
            aload 1 /* g */
            invokevirtual sun.applet.AppletSecurity.inThreadGroup:(Ljava/lang/ThreadGroup;)Z
            ifne 10
         5: .line 324
            aload 0 /* this */
            getstatic sun.security.util.SecurityConstants.MODIFY_THREADGROUP_PERMISSION:Ljava/lang/RuntimePermission;
            invokevirtual sun.applet.AppletSecurity.checkPermission:(Ljava/security/Permission;)V
         6: .line 326
            goto 10
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: astore 2
         8: .line 327
            aload 0 /* this */
            iconst_0
            putfield sun.applet.AppletSecurity.inThreadGroupCheck:Z
         9: .line 328
            aload 2
            athrow
        10: .line 327
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield sun.applet.AppletSecurity.inThreadGroupCheck:Z
        11: .line 330
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.ThreadGroup g
        end local 0 // sun.applet.AppletSecurity this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   12     0  this  Lsun/applet/AppletSecurity;
            0   12     1     g  Ljava/lang/ThreadGroup;
      Exception table:
        from    to  target  type
           3     7       7  any
    MethodParameters:
      Name  Flags
      g     

  public void checkPackageAccess(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=4, args_size=2
        start local 0 // sun.applet.AppletSecurity this
        start local 1 // java.lang.String pkgname
         0: .line 355
            aload 0 /* this */
            aload 1 /* pkgname */
            invokespecial sun.awt.AWTSecurityManager.checkPackageAccess:(Ljava/lang/String;)V
         1: .line 358
            aload 0 /* this */
            getfield sun.applet.AppletSecurity.restrictedPackages:Ljava/util/HashSet;
            invokevirtual java.util.HashSet.iterator:()Ljava/util/Iterator;
            astore 2 /* iter */
        start local 2 // java.util.Iterator iter
         2: goto 8
         3: .line 360
      StackMap locals: java.util.Iterator
      StackMap stack:
            aload 2 /* iter */
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 3 /* pkg */
        start local 3 // java.lang.String pkg
         4: .line 365
            aload 1 /* pkgname */
            aload 3 /* pkg */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 5
            aload 1 /* pkgname */
            new java.lang.StringBuilder
            dup
            aload 3 /* pkg */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 8
         5: .line 367
      StackMap locals: java.lang.String
      StackMap stack:
            aload 0 /* this */
            new java.lang.RuntimePermission
            dup
         6: .line 368
            new java.lang.StringBuilder
            dup
            ldc "accessClassInPackage."
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* pkgname */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
         7: .line 367
            invokevirtual sun.applet.AppletSecurity.checkPermission:(Ljava/security/Permission;)V
        end local 3 // java.lang.String pkg
         8: .line 358
      StackMap locals:
      StackMap stack:
            aload 2 /* iter */
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
        end local 2 // java.util.Iterator iter
         9: .line 371
            return
        end local 1 // java.lang.String pkgname
        end local 0 // sun.applet.AppletSecurity this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   10     0     this  Lsun/applet/AppletSecurity;
            0   10     1  pkgname  Ljava/lang/String;
            2    9     2     iter  Ljava/util/Iterator<Ljava/lang/String;>;
            4    8     3      pkg  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      pkgname  final

  public void checkAwtEventQueueAccess();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // sun.applet.AppletSecurity this
         0: .line 386
            invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
            astore 1 /* appContext */
        start local 1 // sun.awt.AppContext appContext
         1: .line 387
            aload 0 /* this */
            invokevirtual sun.applet.AppletSecurity.currentAppletClassLoader:()Lsun/applet/AppletClassLoader;
            astore 2 /* appletClassLoader */
        start local 2 // sun.applet.AppletClassLoader appletClassLoader
         2: .line 389
            aload 1 /* appContext */
            invokestatic sun.awt.AppContext.isMainContext:(Lsun/awt/AppContext;)Z
            ifeq 4
            aload 2 /* appletClassLoader */
            ifnull 4
         3: .line 393
            aload 0 /* this */
            getstatic sun.awt.AWTPermissions.CHECK_AWT_EVENTQUEUE_PERMISSION:Ljava/awt/AWTPermission;
            invokespecial sun.awt.AWTSecurityManager.checkPermission:(Ljava/security/Permission;)V
         4: .line 395
      StackMap locals: sun.awt.AppContext sun.applet.AppletClassLoader
      StackMap stack:
            return
        end local 2 // sun.applet.AppletClassLoader appletClassLoader
        end local 1 // sun.awt.AppContext appContext
        end local 0 // sun.applet.AppletSecurity this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    5     0               this  Lsun/applet/AppletSecurity;
            1    5     1         appContext  Lsun/awt/AppContext;
            2    5     2  appletClassLoader  Lsun/applet/AppletClassLoader;

  public java.lang.ThreadGroup getThreadGroup();
    descriptor: ()Ljava/lang/ThreadGroup;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=3, args_size=1
        start local 0 // sun.applet.AppletSecurity this
         0: .line 405
            aload 0 /* this */
            invokevirtual sun.applet.AppletSecurity.currentAppletClassLoader:()Lsun/applet/AppletClassLoader;
            astore 1 /* appletLoader */
        start local 1 // sun.applet.AppletClassLoader appletLoader
         1: .line 406
            aload 1 /* appletLoader */
            ifnonnull 2
            aconst_null
            goto 3
         2: .line 407
      StackMap locals: sun.applet.AppletClassLoader
      StackMap stack:
            aload 1 /* appletLoader */
            invokevirtual sun.applet.AppletClassLoader.getThreadGroup:()Ljava/lang/ThreadGroup;
         3: .line 406
      StackMap locals:
      StackMap stack: java.lang.ThreadGroup
            astore 2 /* loaderGroup */
        start local 2 // java.lang.ThreadGroup loaderGroup
         4: .line 408
            aload 2 /* loaderGroup */
            ifnull 6
         5: .line 409
            aload 2 /* loaderGroup */
            areturn
         6: .line 411
      StackMap locals: java.lang.ThreadGroup
      StackMap stack:
            aload 0 /* this */
            invokespecial sun.awt.AWTSecurityManager.getThreadGroup:()Ljava/lang/ThreadGroup;
            areturn
        end local 2 // java.lang.ThreadGroup loaderGroup
        end local 1 // sun.applet.AppletClassLoader appletLoader
        end local 0 // sun.applet.AppletSecurity this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    7     0          this  Lsun/applet/AppletSecurity;
            1    7     1  appletLoader  Lsun/applet/AppletClassLoader;
            4    7     2   loaderGroup  Ljava/lang/ThreadGroup;

  public sun.awt.AppContext getAppContext();
    descriptor: ()Lsun/awt/AppContext;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // sun.applet.AppletSecurity this
         0: .line 428
            aload 0 /* this */
            invokevirtual sun.applet.AppletSecurity.currentAppletClassLoader:()Lsun/applet/AppletClassLoader;
            astore 1 /* appletLoader */
        start local 1 // sun.applet.AppletClassLoader appletLoader
         1: .line 430
            aload 1 /* appletLoader */
            ifnonnull 3
         2: .line 431
            aconst_null
            areturn
         3: .line 433
      StackMap locals: sun.applet.AppletClassLoader
      StackMap stack:
            aload 1 /* appletLoader */
            invokevirtual sun.applet.AppletClassLoader.getAppContext:()Lsun/awt/AppContext;
            astore 2 /* context */
        start local 2 // sun.awt.AppContext context
         4: .line 437
            aload 2 /* context */
            ifnonnull 6
         5: .line 438
            new java.lang.SecurityException
            dup
            ldc "Applet classloader has invalid AppContext"
            invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 441
      StackMap locals: sun.awt.AppContext
      StackMap stack:
            aload 2 /* context */
            areturn
        end local 2 // sun.awt.AppContext context
        end local 1 // sun.applet.AppletClassLoader appletLoader
        end local 0 // sun.applet.AppletSecurity this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    7     0          this  Lsun/applet/AppletSecurity;
            1    7     1  appletLoader  Lsun/applet/AppletClassLoader;
            4    7     2       context  Lsun/awt/AppContext;

  private static java.lang.StackWalker lambda$0();
    descriptor: ()Ljava/lang/StackWalker;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 114
            getstatic java.lang.StackWalker$Option.RETAIN_CLASS_REFERENCE:Ljava/lang/StackWalker$Option;
            invokestatic java.lang.StackWalker.getInstance:(Ljava/lang/StackWalker$Option;)Ljava/lang/StackWalker;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.util.Optional lambda$1(java.util.stream.Stream);
    descriptor: (Ljava/util/stream/Stream;)Ljava/util/Optional;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // java.util.stream.Stream s
         0: .line 150
            aload 0 /* s */
            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
                  sun/applet/AppletSecurity.isNonPrivileged(Ljava/lang/StackWalker$StackFrame;)Z (6)
                  (Ljava/lang/StackWalker$StackFrame;)Z
            invokeinterface java.util.stream.Stream.takeWhile:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
         1: .line 151
            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
                  sun/applet/AppletSecurity.isNonSystemFrame(Ljava/lang/StackWalker$StackFrame;)Z (6)
                  (Ljava/lang/StackWalker$StackFrame;)Z
            invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
         2: .line 152
            invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
            areturn
        end local 0 // java.util.stream.Stream s
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0     s  Ljava/util/stream/Stream<Ljava/lang/StackWalker$StackFrame;>;
}
SourceFile: "AppletSecurity.java"
NestMembers:
  sun.applet.AppletSecurity$1  sun.applet.AppletSecurity$2
InnerClasses:
  public final Option = java.lang.StackWalker$Option of java.lang.StackWalker
  public abstract StackFrame = java.lang.StackWalker$StackFrame of java.lang.StackWalker
  public final State = java.lang.Thread$State of java.lang.Thread
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  sun.applet.AppletSecurity$1
  sun.applet.AppletSecurity$2