class jdk.internal.module.SystemModuleFinders$SystemModuleReader implements java.lang.module.ModuleReader
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.internal.module.SystemModuleFinders$SystemModuleReader
  super_class: java.lang.Object
{
  private final java.lang.String module;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private volatile boolean closed;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private static void checkPermissionToConnect(java.net.URI);
    descriptor: (Ljava/net/URI;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // java.net.URI uri
         0: .line 402
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 1 /* sm */
        start local 1 // java.lang.SecurityManager sm
         1: .line 403
            aload 1 /* sm */
            ifnull 7
         2: .line 405
            aload 0 /* uri */
            invokevirtual java.net.URI.toURL:()Ljava/net/URL;
            invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
            astore 2 /* uc */
        start local 2 // java.net.URLConnection uc
         3: .line 406
            aload 1 /* sm */
            aload 2 /* uc */
            invokevirtual java.net.URLConnection.getPermission:()Ljava/security/Permission;
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
        end local 2 // java.net.URLConnection uc
         4: .line 407
            goto 7
      StackMap locals: java.net.URI java.lang.SecurityManager
      StackMap stack: java.io.IOException
         5: astore 2 /* ioe */
        start local 2 // java.io.IOException ioe
         6: .line 408
            new java.io.UncheckedIOException
            dup
            aload 2 /* ioe */
            invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
            athrow
        end local 2 // java.io.IOException ioe
         7: .line 411
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.SecurityManager sm
        end local 0 // java.net.URI uri
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0   uri  Ljava/net/URI;
            1    8     1    sm  Ljava/lang/SecurityManager;
            3    4     2    uc  Ljava/net/URLConnection;
            6    7     2   ioe  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2     4       5  Class java.io.IOException
    MethodParameters:
      Name  Flags
      uri   

  void <init>(java.lang.String, java.net.URI);
    descriptor: (Ljava/lang/String;Ljava/net/URI;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
        start local 1 // java.lang.String module
        start local 2 // java.net.URI uri
         0: .line 413
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 414
            aload 2 /* uri */
            invokestatic jdk.internal.module.SystemModuleFinders$SystemModuleReader.checkPermissionToConnect:(Ljava/net/URI;)V
         2: .line 415
            aload 0 /* this */
            aload 1 /* module */
            putfield jdk.internal.module.SystemModuleFinders$SystemModuleReader.module:Ljava/lang/String;
         3: .line 416
            return
        end local 2 // java.net.URI uri
        end local 1 // java.lang.String module
        end local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Ljdk/internal/module/SystemModuleFinders$SystemModuleReader;
            0    4     1  module  Ljava/lang/String;
            0    4     2     uri  Ljava/net/URI;
    MethodParameters:
        Name  Flags
      module  
      uri     

  private jdk.internal.jimage.ImageLocation findImageLocation(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
        start local 1 // java.lang.String name
         0: .line 423
            aload 1 /* name */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 424
            aload 0 /* this */
            getfield jdk.internal.module.SystemModuleFinders$SystemModuleReader.closed:Z
            ifeq 3
         2: .line 425
            new java.io.IOException
            dup
            ldc "ModuleReader is closed"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 426
      StackMap locals:
      StackMap stack:
            invokestatic jdk.internal.module.SystemModuleFinders$SystemImage.reader:()Ljdk/internal/jimage/ImageReader;
            astore 2 /* imageReader */
        start local 2 // jdk.internal.jimage.ImageReader imageReader
         4: .line 427
            aload 2 /* imageReader */
            ifnull 6
         5: .line 428
            aload 2 /* imageReader */
            aload 0 /* this */
            getfield jdk.internal.module.SystemModuleFinders$SystemModuleReader.module:Ljava/lang/String;
            aload 1 /* name */
            invokevirtual jdk.internal.jimage.ImageReader.findLocation:(Ljava/lang/String;Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation;
            areturn
         6: .line 431
      StackMap locals: jdk.internal.jimage.ImageReader
      StackMap stack:
            aconst_null
            areturn
        end local 2 // jdk.internal.jimage.ImageReader imageReader
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    7     0         this  Ljdk/internal/module/SystemModuleFinders$SystemModuleReader;
            0    7     1         name  Ljava/lang/String;
            4    7     2  imageReader  Ljdk/internal/jimage/ImageReader;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      name  

  public java.util.Optional<java.net.URI> find(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/util/Optional;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
        start local 1 // java.lang.String name
         0: .line 437
            aload 0 /* this */
            aload 1 /* name */
            invokevirtual jdk.internal.module.SystemModuleFinders$SystemModuleReader.findImageLocation:(Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation;
            astore 2 /* location */
        start local 2 // jdk.internal.jimage.ImageLocation location
         1: .line 438
            aload 2 /* location */
            ifnull 4
         2: .line 439
            new java.lang.StringBuilder
            dup
            ldc "jrt:/"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield jdk.internal.module.SystemModuleFinders$SystemModuleReader.module:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "/"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
            astore 3 /* u */
        start local 3 // java.net.URI u
         3: .line 440
            aload 3 /* u */
            invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
            areturn
        end local 3 // java.net.URI u
         4: .line 442
      StackMap locals: jdk.internal.jimage.ImageLocation
      StackMap stack:
            invokestatic java.util.Optional.empty:()Ljava/util/Optional;
            areturn
        end local 2 // jdk.internal.jimage.ImageLocation location
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Ljdk/internal/module/SystemModuleFinders$SystemModuleReader;
            0    5     1      name  Ljava/lang/String;
            1    5     2  location  Ljdk/internal/jimage/ImageLocation;
            3    4     3         u  Ljava/net/URI;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljava/net/URI;>;
    MethodParameters:
      Name  Flags
      name  

  public java.util.Optional<java.io.InputStream> open(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/util/Optional;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
        start local 1 // java.lang.String name
         0: .line 448
            aload 0 /* this */
            aload 1 /* name */
            invokevirtual jdk.internal.module.SystemModuleFinders$SystemModuleReader.read:(Ljava/lang/String;)Ljava/util/Optional;
            aload 0 /* this */
            invokedynamic apply(Ljdk/internal/module/SystemModuleFinders$SystemModuleReader;)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;
                  jdk/internal/module/SystemModuleFinders$SystemModuleReader.toInputStream(Ljava/nio/ByteBuffer;)Ljava/io/InputStream; (7)
                  (Ljava/nio/ByteBuffer;)Ljava/io/InputStream;
            invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
            areturn
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/module/SystemModuleFinders$SystemModuleReader;
            0    1     1  name  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljava/io/InputStream;>;
    MethodParameters:
      Name  Flags
      name  

  private java.io.InputStream toInputStream(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)Ljava/io/InputStream;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
        start local 1 // java.nio.ByteBuffer bb
         0: .line 453
            aload 1 /* bb */
            invokevirtual java.nio.ByteBuffer.remaining:()I
            istore 2 /* rem */
        start local 2 // int rem
         1: .line 454
            iload 2 /* rem */
            newarray 8
            astore 3 /* bytes */
        start local 3 // byte[] bytes
         2: .line 455
            aload 1 /* bb */
            aload 3 /* bytes */
            invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
            pop
         3: .line 456
            new java.io.ByteArrayInputStream
            dup
            aload 3 /* bytes */
            invokespecial java.io.ByteArrayInputStream.<init>:([B)V
            astore 5
         4: .line 458
            aload 0 /* this */
            aload 1 /* bb */
            invokevirtual jdk.internal.module.SystemModuleFinders$SystemModuleReader.release:(Ljava/nio/ByteBuffer;)V
         5: .line 456
            aload 5
            areturn
        end local 3 // byte[] bytes
        end local 2 // int rem
         6: .line 457
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 4
         7: .line 458
            aload 0 /* this */
            aload 1 /* bb */
            invokevirtual jdk.internal.module.SystemModuleFinders$SystemModuleReader.release:(Ljava/nio/ByteBuffer;)V
         8: .line 459
            aload 4
            athrow
        end local 1 // java.nio.ByteBuffer bb
        end local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    9     0   this  Ljdk/internal/module/SystemModuleFinders$SystemModuleReader;
            0    9     1     bb  Ljava/nio/ByteBuffer;
            1    6     2    rem  I
            2    6     3  bytes  [B
      Exception table:
        from    to  target  type
           0     4       6  any
    MethodParameters:
      Name  Flags
      bb    

  public java.util.Optional<java.nio.ByteBuffer> read(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/util/Optional;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
        start local 1 // java.lang.String name
         0: .line 464
            aload 0 /* this */
            aload 1 /* name */
            invokevirtual jdk.internal.module.SystemModuleFinders$SystemModuleReader.findImageLocation:(Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation;
            astore 2 /* location */
        start local 2 // jdk.internal.jimage.ImageLocation location
         1: .line 465
            aload 2 /* location */
            ifnull 3
         2: .line 466
            invokestatic jdk.internal.module.SystemModuleFinders$SystemImage.reader:()Ljdk/internal/jimage/ImageReader;
            aload 2 /* location */
            invokevirtual jdk.internal.jimage.ImageReader.getResourceBuffer:(Ljdk/internal/jimage/ImageLocation;)Ljava/nio/ByteBuffer;
            invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
            areturn
         3: .line 468
      StackMap locals: jdk.internal.jimage.ImageLocation
      StackMap stack:
            invokestatic java.util.Optional.empty:()Ljava/util/Optional;
            areturn
        end local 2 // jdk.internal.jimage.ImageLocation location
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Ljdk/internal/module/SystemModuleFinders$SystemModuleReader;
            0    4     1      name  Ljava/lang/String;
            1    4     2  location  Ljdk/internal/jimage/ImageLocation;
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljava/nio/ByteBuffer;>;
    MethodParameters:
      Name  Flags
      name  

  public void release(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
        start local 1 // java.nio.ByteBuffer bb
         0: .line 474
            aload 1 /* bb */
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 475
            aload 1 /* bb */
            invokestatic jdk.internal.jimage.ImageReader.releaseByteBuffer:(Ljava/nio/ByteBuffer;)V
         2: .line 476
            return
        end local 1 // java.nio.ByteBuffer bb
        end local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Ljdk/internal/module/SystemModuleFinders$SystemModuleReader;
            0    3     1    bb  Ljava/nio/ByteBuffer;
    MethodParameters:
      Name  Flags
      bb    

  public java.util.stream.Stream<java.lang.String> list();
    descriptor: ()Ljava/util/stream/Stream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
         0: .line 480
            aload 0 /* this */
            getfield jdk.internal.module.SystemModuleFinders$SystemModuleReader.closed:Z
            ifeq 2
         1: .line 481
            new java.io.IOException
            dup
            ldc "ModuleReader is closed"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 483
      StackMap locals:
      StackMap stack:
            new jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator
            dup
            aload 0 /* this */
            getfield jdk.internal.module.SystemModuleFinders$SystemModuleReader.module:Ljava/lang/String;
            invokespecial jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.<init>:(Ljava/lang/String;)V
            astore 1 /* s */
        start local 1 // java.util.Spliterator s
         3: .line 484
            aload 1 /* s */
            iconst_0
            invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
            areturn
        end local 1 // java.util.Spliterator s
        end local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Ljdk/internal/module/SystemModuleFinders$SystemModuleReader;
            3    4     1     s  Ljava/util/Spliterator<Ljava/lang/String;>;
    Exceptions:
      throws java.io.IOException
    Signature: ()Ljava/util/stream/Stream<Ljava/lang/String;>;

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
         0: .line 490
            aload 0 /* this */
            iconst_1
            putfield jdk.internal.module.SystemModuleFinders$SystemModuleReader.closed:Z
         1: .line 491
            return
        end local 0 // jdk.internal.module.SystemModuleFinders$SystemModuleReader this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Ljdk/internal/module/SystemModuleFinders$SystemModuleReader;
}
SourceFile: "SystemModuleFinders.java"
NestHost: jdk.internal.module.SystemModuleFinders
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  private ModuleContentSpliterator = jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator of jdk.internal.module.SystemModuleFinders
  private SystemImage = jdk.internal.module.SystemModuleFinders$SystemImage of jdk.internal.module.SystemModuleFinders
  private SystemModuleReader = jdk.internal.module.SystemModuleFinders$SystemModuleReader of jdk.internal.module.SystemModuleFinders