public class sun.invoke.anon.AnonymousClassLoader
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: sun.invoke.anon.AnonymousClassLoader
  super_class: java.lang.Object
{
  final java.lang.Class<?> hostClass;
    descriptor: Ljava/lang/Class;
    flags: (0x0010) ACC_FINAL
    Signature: Ljava/lang/Class<*>;

  private static int fakeNameCounter;
    descriptor: I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

  private static sun.misc.Unsafe unsafe;
    descriptor: Lsun/misc/Unsafe;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

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

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=2, args_size=0
         0: .line 189
            ldc 99999
            putstatic sun.invoke.anon.AnonymousClassLoader.fakeNameCounter:I
         1: .line 192
            invokestatic sun.misc.Unsafe.getUnsafe:()Lsun/misc/Unsafe;
            putstatic sun.invoke.anon.AnonymousClassLoader.unsafe:Lsun/misc/Unsafe;
         2: .line 197
            aconst_null
            astore 0 /* dac */
        start local 0 // java.lang.reflect.Method dac
         3: .line 198
            getstatic sun.invoke.anon.AnonymousClassLoader.unsafe:Lsun/misc/Unsafe;
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            astore 1 /* unsafeClass */
        start local 1 // java.lang.Class unsafeClass
         4: .line 200
            aload 1 /* unsafeClass */
            ldc "defineAnonymousClass"
            iconst_3
            anewarray java.lang.Class
            dup
            iconst_0
         5: .line 201
            ldc Ljava/lang/Class;
            aastore
            dup
            iconst_1
         6: .line 202
            ldc [B
            aastore
            dup
            iconst_2
         7: .line 203
            ldc [Ljava/lang/Object;
            aastore
         8: .line 200
            invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            astore 0 /* dac */
         9: .line 204
            goto 12
      StackMap locals: java.lang.reflect.Method java.lang.Class
      StackMap stack: java.lang.Exception
        10: pop
        11: .line 205
            aconst_null
            astore 0 /* dac */
        12: .line 207
      StackMap locals:
      StackMap stack:
            aload 0 /* dac */
            putstatic sun.invoke.anon.AnonymousClassLoader.defineAnonymousClass:Ljava/lang/reflect/Method;
        end local 1 // java.lang.Class unsafeClass
        end local 0 // java.lang.reflect.Method dac
        13: .line 208
            return
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            3   13     0          dac  Ljava/lang/reflect/Method;
            4   13     1  unsafeClass  Ljava/lang/Class<+Lsun/misc/Unsafe;>;
      Exception table:
        from    to  target  type
           4     9      10  Class java.lang.Exception

  private void <init>(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // sun.invoke.anon.AnonymousClassLoader this
        start local 1 // java.lang.Class hostClass
         0: .line 77
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 78
            aload 0 /* this */
            aload 1 /* hostClass */
            putfield sun.invoke.anon.AnonymousClassLoader.hostClass:Ljava/lang/Class;
         2: .line 79
            return
        end local 1 // java.lang.Class hostClass
        end local 0 // sun.invoke.anon.AnonymousClassLoader this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lsun/invoke/anon/AnonymousClassLoader;
            0    3     1  hostClass  Ljava/lang/Class<*>;
    Signature: (Ljava/lang/Class<*>;)V
    MethodParameters:
           Name  Flags
      hostClass  

  public static sun.invoke.anon.AnonymousClassLoader make(sun.misc.Unsafe, java.lang.Class<?>);
    descriptor: (Lsun/misc/Unsafe;Ljava/lang/Class;)Lsun/invoke/anon/AnonymousClassLoader;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.misc.Unsafe unsafe
        start local 1 // java.lang.Class hostClass
         0: .line 82
            aload 0 /* unsafe */
            ifnonnull 1
            new java.lang.NullPointerException
            dup
            invokespecial java.lang.NullPointerException.<init>:()V
            athrow
         1: .line 83
      StackMap locals:
      StackMap stack:
            new sun.invoke.anon.AnonymousClassLoader
            dup
            aload 1 /* hostClass */
            invokespecial sun.invoke.anon.AnonymousClassLoader.<init>:(Ljava/lang/Class;)V
            areturn
        end local 1 // java.lang.Class hostClass
        end local 0 // sun.misc.Unsafe unsafe
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0     unsafe  Lsun/misc/Unsafe;
            0    2     1  hostClass  Ljava/lang/Class<*>;
    Signature: (Lsun/misc/Unsafe;Ljava/lang/Class<*>;)Lsun/invoke/anon/AnonymousClassLoader;
    MethodParameters:
           Name  Flags
      unsafe     
      hostClass  

  public java.lang.Class<?> loadClass(byte[]);
    descriptor: ([B)Ljava/lang/Class;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // sun.invoke.anon.AnonymousClassLoader this
        start local 1 // byte[] classFile
         0: .line 87
            getstatic sun.invoke.anon.AnonymousClassLoader.defineAnonymousClass:Ljava/lang/reflect/Method;
            ifnonnull 5
         1: .line 90
            aload 0 /* this */
            new sun.invoke.anon.ConstantPoolParser
            dup
            aload 1 /* classFile */
            invokespecial sun.invoke.anon.ConstantPoolParser.<init>:([B)V
            invokevirtual sun.invoke.anon.ConstantPoolParser.createPatch:()Lsun/invoke/anon/ConstantPoolPatch;
            invokevirtual sun.invoke.anon.AnonymousClassLoader.fakeLoadClass:(Lsun/invoke/anon/ConstantPoolPatch;)Ljava/lang/Class;
         2: areturn
         3: .line 91
      StackMap locals:
      StackMap stack: sun.invoke.anon.InvalidConstantPoolFormatException
            astore 2 /* ee */
        start local 2 // sun.invoke.anon.InvalidConstantPoolFormatException ee
         4: .line 92
            new java.lang.IllegalArgumentException
            dup
            aload 2 /* ee */
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // sun.invoke.anon.InvalidConstantPoolFormatException ee
         5: .line 95
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* classFile */
            aconst_null
            invokevirtual sun.invoke.anon.AnonymousClassLoader.loadClass:([B[Ljava/lang/Object;)Ljava/lang/Class;
            areturn
        end local 1 // byte[] classFile
        end local 0 // sun.invoke.anon.AnonymousClassLoader this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0       this  Lsun/invoke/anon/AnonymousClassLoader;
            0    6     1  classFile  [B
            4    5     2         ee  Lsun/invoke/anon/InvalidConstantPoolFormatException;
      Exception table:
        from    to  target  type
           1     2       3  Class sun.invoke.anon.InvalidConstantPoolFormatException
    Signature: ([B)Ljava/lang/Class<*>;
    MethodParameters:
           Name  Flags
      classFile  

  public java.lang.Class<?> loadClass(sun.invoke.anon.ConstantPoolPatch);
    descriptor: (Lsun/invoke/anon/ConstantPoolPatch;)Ljava/lang/Class;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // sun.invoke.anon.AnonymousClassLoader this
        start local 1 // sun.invoke.anon.ConstantPoolPatch classPatch
         0: .line 99
            getstatic sun.invoke.anon.AnonymousClassLoader.defineAnonymousClass:Ljava/lang/reflect/Method;
            ifnonnull 2
         1: .line 101
            aload 0 /* this */
            aload 1 /* classPatch */
            invokevirtual sun.invoke.anon.AnonymousClassLoader.fakeLoadClass:(Lsun/invoke/anon/ConstantPoolPatch;)Ljava/lang/Class;
            areturn
         2: .line 103
      StackMap locals:
      StackMap stack:
            aload 1 /* classPatch */
            getfield sun.invoke.anon.ConstantPoolPatch.patchArray:[Ljava/lang/Object;
            astore 2 /* patches */
        start local 2 // java.lang.Object[] patches
         3: .line 107
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         4: goto 15
         5: .line 108
      StackMap locals: java.lang.Object[] int
      StackMap stack:
            aload 2 /* patches */
            iload 3 /* i */
            aaload
            astore 4 /* value */
        start local 4 // java.lang.Object value
         6: .line 109
            aload 4 /* value */
            ifnull 14
         7: .line 110
            aload 1 /* classPatch */
            iload 3 /* i */
            invokevirtual sun.invoke.anon.ConstantPoolPatch.getTag:(I)B
            istore 5 /* tag */
        start local 5 // byte tag
         8: .line 111
            iload 5 /* tag */
            tableswitch { // 7 - 12
                    7: 9
                    8: 14
                    9: 14
                   10: 14
                   11: 14
                   12: 14
              default: 14
          }
         9: .line 113
      StackMap locals: java.lang.Object int
      StackMap stack:
            aload 4 /* value */
            instanceof java.lang.String
            ifeq 14
        10: .line 114
            aload 2 /* patches */
            aload 1 /* classPatch */
            getfield sun.invoke.anon.ConstantPoolPatch.patchArray:[Ljava/lang/Object;
            if_acmpne 12
        11: .line 115
            aload 2 /* patches */
            invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
            checkcast java.lang.Object[]
            astore 2 /* patches */
        12: .line 116
      StackMap locals:
      StackMap stack:
            aload 2 /* patches */
            iload 3 /* i */
            aload 4 /* value */
            checkcast java.lang.String
            bipush 46
            bipush 47
            invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
            aastore
        13: .line 118
            goto 14
        end local 5 // byte tag
        end local 4 // java.lang.Object value
        14: .line 107
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
        15: iload 3 /* i */
            aload 2 /* patches */
            arraylength
            if_icmplt 5
        end local 3 // int i
        16: .line 130
            aload 0 /* this */
            aload 1 /* classPatch */
            getfield sun.invoke.anon.ConstantPoolPatch.outer:Lsun/invoke/anon/ConstantPoolParser;
            getfield sun.invoke.anon.ConstantPoolParser.classFile:[B
            aload 1 /* classPatch */
            getfield sun.invoke.anon.ConstantPoolPatch.patchArray:[Ljava/lang/Object;
            invokevirtual sun.invoke.anon.AnonymousClassLoader.loadClass:([B[Ljava/lang/Object;)Ljava/lang/Class;
            areturn
        end local 2 // java.lang.Object[] patches
        end local 1 // sun.invoke.anon.ConstantPoolPatch classPatch
        end local 0 // sun.invoke.anon.AnonymousClassLoader this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   17     0        this  Lsun/invoke/anon/AnonymousClassLoader;
            0   17     1  classPatch  Lsun/invoke/anon/ConstantPoolPatch;
            3   17     2     patches  [Ljava/lang/Object;
            4   16     3           i  I
            6   14     4       value  Ljava/lang/Object;
            8   14     5         tag  B
    Signature: (Lsun/invoke/anon/ConstantPoolPatch;)Ljava/lang/Class<*>;
    MethodParameters:
            Name  Flags
      classPatch  

  private java.lang.Class<?> loadClass(byte[], []);
    descriptor: ([B[Ljava/lang/Object;)Ljava/lang/Class;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // sun.invoke.anon.AnonymousClassLoader this
        start local 1 // byte[] classFile
        start local 2 // java.lang.Object[] patchArray
         0: .line 136
            getstatic sun.invoke.anon.AnonymousClassLoader.defineAnonymousClass:Ljava/lang/reflect/Method;
            getstatic sun.invoke.anon.AnonymousClassLoader.unsafe:Lsun/misc/Unsafe;
            iconst_3
            anewarray java.lang.Object
            dup
            iconst_0
         1: .line 137
            aload 0 /* this */
            getfield sun.invoke.anon.AnonymousClassLoader.hostClass:Ljava/lang/Class;
            aastore
            dup
            iconst_1
            aload 1 /* classFile */
            aastore
            dup
            iconst_2
            aload 2 /* patchArray */
            aastore
         2: .line 136
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
         3: .line 135
            checkcast java.lang.Class
         4: areturn
         5: .line 138
      StackMap locals:
      StackMap stack: java.lang.Exception
            astore 3 /* ex */
        start local 3 // java.lang.Exception ex
         6: .line 139
            aload 3 /* ex */
            invokestatic sun.invoke.anon.AnonymousClassLoader.throwReflectedException:(Ljava/lang/Exception;)V
         7: .line 140
            new java.lang.RuntimeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "error loading into "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield sun.invoke.anon.AnonymousClassLoader.hostClass:Ljava/lang/Class;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 3 /* ex */
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.lang.Exception ex
        end local 2 // java.lang.Object[] patchArray
        end local 1 // byte[] classFile
        end local 0 // sun.invoke.anon.AnonymousClassLoader this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0        this  Lsun/invoke/anon/AnonymousClassLoader;
            0    8     1   classFile  [B
            0    8     2  patchArray  [Ljava/lang/Object;
            6    8     3          ex  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     4       5  Class java.lang.Exception
    Signature: ([B[Ljava/lang/Object;)Ljava/lang/Class<*>;
    MethodParameters:
            Name  Flags
      classFile   
      patchArray  

  private static void throwReflectedException(java.lang.Exception);
    descriptor: (Ljava/lang/Exception;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // java.lang.Exception ex
         0: .line 145
            aload 0 /* ex */
            instanceof java.lang.reflect.InvocationTargetException
            ifeq 5
         1: .line 146
            aload 0 /* ex */
            checkcast java.lang.reflect.InvocationTargetException
            invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
            astore 1 /* tex */
        start local 1 // java.lang.Throwable tex
         2: .line 147
            aload 1 /* tex */
            instanceof java.lang.Error
            ifeq 4
         3: .line 148
            aload 1 /* tex */
            checkcast java.lang.Error
            athrow
         4: .line 149
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 1 /* tex */
            checkcast java.lang.Exception
            astore 0 /* ex */
        end local 1 // java.lang.Throwable tex
         5: .line 151
      StackMap locals:
      StackMap stack:
            aload 0 /* ex */
            instanceof java.lang.RuntimeException
            ifeq 7
         6: .line 152
            aload 0 /* ex */
            checkcast java.lang.RuntimeException
            athrow
         7: .line 154
      StackMap locals:
      StackMap stack:
            return
        end local 0 // java.lang.Exception ex
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0    ex  Ljava/lang/Exception;
            2    5     1   tex  Ljava/lang/Throwable;
    MethodParameters:
      Name  Flags
      ex    

  private java.lang.Class<?> fakeLoadClass(sun.invoke.anon.ConstantPoolPatch);
    descriptor: (Lsun/invoke/anon/ConstantPoolPatch;)Ljava/lang/Class;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // sun.invoke.anon.AnonymousClassLoader this
        start local 1 // sun.invoke.anon.ConstantPoolPatch classPatch
         0: .line 171
            new java.lang.UnsupportedOperationException
            dup
            ldc "NYI"
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
            athrow
        end local 1 // sun.invoke.anon.ConstantPoolPatch classPatch
        end local 0 // sun.invoke.anon.AnonymousClassLoader this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     0        this  Lsun/invoke/anon/AnonymousClassLoader;
            0    1     1  classPatch  Lsun/invoke/anon/ConstantPoolPatch;
    Signature: (Lsun/invoke/anon/ConstantPoolPatch;)Ljava/lang/Class<*>;
    MethodParameters:
            Name  Flags
      classPatch  

  private static void noJVMSupport();
    descriptor: ()V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=0, args_size=0
         0: .line 211
            new java.lang.UnsupportedOperationException
            dup
            ldc "no JVM support for anonymous classes"
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
            athrow
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static native java.lang.Class<?> loadClassInternal(java.lang.Class<?>, byte[], []);
    descriptor: (Ljava/lang/Class;[B[Ljava/lang/Object;)Ljava/lang/Class;
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
    Signature: (Ljava/lang/Class<*>;[B[Ljava/lang/Object;)Ljava/lang/Class<*>;
    MethodParameters:
            Name  Flags
      hostClass   
      classFile   
      patchArray  

  public static byte[] readClassFile(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)[B
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=6, args_size=1
        start local 0 // java.lang.Class templateClass
         0: .line 220
            aload 0 /* templateClass */
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            astore 1 /* templateName */
        start local 1 // java.lang.String templateName
         1: .line 221
            aload 1 /* templateName */
            bipush 46
            invokevirtual java.lang.String.lastIndexOf:(I)I
            istore 2 /* lastDot */
        start local 2 // int lastDot
         2: .line 222
            aload 0 /* templateClass */
            new java.lang.StringBuilder
            dup
            aload 1 /* templateName */
            iload 2 /* lastDot */
            iconst_1
            iadd
            invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ".class"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual java.lang.Class.getResource:(Ljava/lang/String;)Ljava/net/URL;
            astore 3 /* url */
        start local 3 // java.net.URL url
         3: .line 223
            aload 3 /* url */
            invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
            astore 4 /* connection */
        start local 4 // java.net.URLConnection connection
         4: .line 224
            aload 4 /* connection */
            invokevirtual java.net.URLConnection.getContentLength:()I
            istore 5 /* contentLength */
        start local 5 // int contentLength
         5: .line 225
            iload 5 /* contentLength */
            ifge 7
         6: .line 226
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "invalid content length "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 5 /* contentLength */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 228
      StackMap locals: java.lang.Class java.lang.String int java.net.URL java.net.URLConnection int
      StackMap stack:
            aload 4 /* connection */
            invokevirtual java.net.URLConnection.getInputStream:()Ljava/io/InputStream;
            iload 5 /* contentLength */
            iconst_1
            invokestatic sun.misc.IOUtils.readFully:(Ljava/io/InputStream;IZ)[B
            areturn
        end local 5 // int contentLength
        end local 4 // java.net.URLConnection connection
        end local 3 // java.net.URL url
        end local 2 // int lastDot
        end local 1 // java.lang.String templateName
        end local 0 // java.lang.Class templateClass
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    8     0  templateClass  Ljava/lang/Class<*>;
            1    8     1   templateName  Ljava/lang/String;
            2    8     2        lastDot  I
            3    8     3            url  Ljava/net/URL;
            4    8     4     connection  Ljava/net/URLConnection;
            5    8     5  contentLength  I
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/lang/Class<*>;)[B
    MethodParameters:
               Name  Flags
      templateClass  
}
SourceFile: "AnonymousClassLoader.java"