abstract class com.oracle.truffle.polyglot.HostClassLoader$Resource
  minor version: 0
  major version: 59
  flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
  this_class: com.oracle.truffle.polyglot.HostClassLoader$Resource
  super_class: java.lang.Object
{
  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.polyglot.HostClassLoader$Resource this
         0: .line 223
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.oracle.truffle.polyglot.HostClassLoader$Resource this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/polyglot/HostClassLoader$Resource;

  abstract java.net.URL getURL();
    descriptor: ()Ljava/net/URL;
    flags: (0x0400) ACC_ABSTRACT

  abstract java.net.URL getOwner();
    descriptor: ()Ljava/net/URL;
    flags: (0x0400) ACC_ABSTRACT

  abstract long getLength();
    descriptor: ()J
    flags: (0x0400) ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException

  abstract java.io.InputStream getInputStream();
    descriptor: ()Ljava/io/InputStream;
    flags: (0x0400) ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException

  byte[] getContent();
    descriptor: ()[B
    flags: (0x0000) 
    Code:
      stack=4, locals=11, args_size=1
        start local 0 // com.oracle.truffle.polyglot.HostClassLoader$Resource this
         0: .line 234
            aload 0 /* this */
            invokevirtual com.oracle.truffle.polyglot.HostClassLoader$Resource.getLength:()J
            lstore 1 /* lenl */
        start local 1 // long lenl
         1: .line 235
            lload 1 /* lenl */
            ldc 2147483647
            lcmp
            ifle 3
         2: .line 236
            new java.io.IOException
            dup
            ldc "Invalid class file size."
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 240
      StackMap locals: long
      StackMap stack:
            lload 1 /* lenl */
            ldc -1
            lcmp
            ifne 7
         4: .line 241
            ldc 2147483647
            istore 4 /* len */
        start local 4 // int len
         5: .line 242
            sipush 4096
            newarray 8
            astore 3 /* res */
        start local 3 // byte[] res
         6: .line 243
            goto 9
        end local 4 // int len
        end local 3 // byte[] res
         7: .line 244
      StackMap locals:
      StackMap stack:
            lload 1 /* lenl */
            l2i
            istore 4 /* len */
        start local 4 // int len
         8: .line 245
            iload 4 /* len */
            newarray 8
            astore 3 /* res */
        start local 3 // byte[] res
         9: .line 247
      StackMap locals: byte[] int
      StackMap stack:
            aconst_null
            astore 5
            aconst_null
            astore 6
        10: aload 0 /* this */
            invokevirtual com.oracle.truffle.polyglot.HostClassLoader$Resource.getInputStream:()Ljava/io/InputStream;
            astore 7 /* in */
        start local 7 // java.io.InputStream in
        11: .line 248
            iconst_0
            istore 8 /* pos */
        start local 8 // int pos
        12: .line 249
            goto 27
        13: .line 251
      StackMap locals: com.oracle.truffle.polyglot.HostClassLoader$Resource long byte[] int java.lang.Throwable java.lang.Throwable java.io.InputStream int
      StackMap stack:
            iload 8 /* pos */
            aload 3 /* res */
            arraylength
            if_icmpne 18
        14: .line 252
            iload 4 /* len */
            iload 8 /* pos */
            isub
            aload 3 /* res */
            arraylength
            iconst_1
            iadd
            bipush 12
            ishl
            invokestatic java.lang.Math.min:(II)I
            istore 9 /* toRead */
        start local 9 // int toRead
        15: .line 253
            iload 9 /* toRead */
            ifle 19
        16: .line 254
            aload 3 /* res */
            iload 8 /* pos */
            iload 9 /* toRead */
            iadd
            invokestatic java.util.Arrays.copyOf:([BI)[B
            astore 3 /* res */
        17: .line 256
            goto 19
        end local 9 // int toRead
        18: .line 257
      StackMap locals:
      StackMap stack:
            aload 3 /* res */
            arraylength
            iload 8 /* pos */
            isub
            istore 9 /* toRead */
        start local 9 // int toRead
        19: .line 259
      StackMap locals: int
      StackMap stack:
            aload 7 /* in */
            aload 3 /* res */
            iload 8 /* pos */
            iload 9 /* toRead */
            invokevirtual java.io.InputStream.read:([BII)I
            istore 10 /* read */
        start local 10 // int read
        20: .line 260
            iload 10 /* read */
            ifge 26
        21: .line 261
            iload 4 /* len */
            ldc 2147483647
            if_icmpne 25
        22: .line 262
            aload 3 /* res */
            arraylength
            iload 8 /* pos */
            if_icmpeq 28
        23: .line 263
            aload 3 /* res */
            iload 8 /* pos */
            invokestatic java.util.Arrays.copyOf:([BI)[B
            astore 3 /* res */
        24: .line 265
            goto 28
        25: .line 267
      StackMap locals: int
      StackMap stack:
            new java.io.EOFException
            dup
            ldc "Unexpected EOF"
            invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
            athrow
        26: .line 270
      StackMap locals:
      StackMap stack:
            iload 8 /* pos */
            iload 10 /* read */
            iadd
            istore 8 /* pos */
        end local 10 // int read
        end local 9 // int toRead
        27: .line 249
      StackMap locals:
      StackMap stack:
            iload 8 /* pos */
            iload 4 /* len */
            if_icmplt 13
        28: .line 272
      StackMap locals:
      StackMap stack:
            aload 3 /* res */
        29: .line 273
            aload 7 /* in */
            ifnull 30
            aload 7 /* in */
            invokevirtual java.io.InputStream.close:()V
        30: .line 272
      StackMap locals:
      StackMap stack: byte[]
            areturn
        end local 8 // int pos
      StackMap locals: com.oracle.truffle.polyglot.HostClassLoader$Resource long byte[] int java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack: java.lang.Throwable
        31: astore 5
        32: .line 273
            aload 7 /* in */
            ifnull 33
            aload 7 /* in */
            invokevirtual java.io.InputStream.close:()V
        end local 7 // java.io.InputStream in
      StackMap locals:
      StackMap stack:
        33: aload 5
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        34: astore 6
            aload 5
            ifnonnull 35
            aload 6
            astore 5
            goto 36
      StackMap locals:
      StackMap stack:
        35: aload 5
            aload 6
            if_acmpeq 36
            aload 5
            aload 6
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        36: aload 5
            athrow
        end local 4 // int len
        end local 3 // byte[] res
        end local 1 // long lenl
        end local 0 // com.oracle.truffle.polyglot.HostClassLoader$Resource this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   37     0    this  Lcom/oracle/truffle/polyglot/HostClassLoader$Resource;
            1   37     1    lenl  J
            6    7     3     res  [B
            9   37     3     res  [B
            5    7     4     len  I
            8   37     4     len  I
           11   33     7      in  Ljava/io/InputStream;
           12   31     8     pos  I
           15   18     9  toRead  I
           19   27     9  toRead  I
           20   27    10    read  I
      Exception table:
        from    to  target  type
          11    29      31  any
          10    30      34  any
          31    34      34  any
    Exceptions:
      throws java.io.IOException

  static java.net.URL urlOrNull(java.net.URI);
    descriptor: (Ljava/net/URI;)Ljava/net/URL;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // java.net.URI uri
         0: .line 278
            aload 0 /* uri */
            invokevirtual java.net.URI.toURL:()Ljava/net/URL;
         1: areturn
         2: .line 279
      StackMap locals:
      StackMap stack: java.net.MalformedURLException
            pop
         3: .line 280
            aconst_null
            areturn
        end local 0 // java.net.URI uri
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0   uri  Ljava/net/URI;
      Exception table:
        from    to  target  type
           0     1       2  Class java.net.MalformedURLException
    MethodParameters:
      Name  Flags
      uri   
}
SourceFile: "HostClassLoader.java"
NestHost: com.oracle.truffle.polyglot.HostClassLoader
InnerClasses:
  private abstract Resource = com.oracle.truffle.polyglot.HostClassLoader$Resource of com.oracle.truffle.polyglot.HostClassLoader