final class jdk.nashorn.tools.jjs.JrtPackagesHelper extends jdk.nashorn.tools.jjs.PackagesHelper
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.nashorn.tools.jjs.JrtPackagesHelper
  super_class: jdk.nashorn.tools.jjs.PackagesHelper
{
  private final java.nio.file.FileSystem jrtfs;
    descriptor: Ljava/nio/file/FileSystem;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  void <init>(jdk.nashorn.internal.runtime.Context);
    descriptor: (Ljdk/nashorn/internal/runtime/Context;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // jdk.nashorn.tools.jjs.JrtPackagesHelper this
        start local 1 // jdk.nashorn.internal.runtime.Context context
         0: .line 51
            aload 0 /* this */
            aload 1 /* context */
            invokespecial jdk.nashorn.tools.jjs.PackagesHelper.<init>:(Ljdk/nashorn/internal/runtime/Context;)V
         1: .line 52
            aload 0 /* this */
            ldc "jrt:/"
            invokestatic java.net.URI.create:(Ljava/lang/String;)Ljava/net/URI;
            invokestatic java.nio.file.FileSystems.getFileSystem:(Ljava/net/URI;)Ljava/nio/file/FileSystem;
            putfield jdk.nashorn.tools.jjs.JrtPackagesHelper.jrtfs:Ljava/nio/file/FileSystem;
         2: .line 53
            return
        end local 1 // jdk.nashorn.internal.runtime.Context context
        end local 0 // jdk.nashorn.tools.jjs.JrtPackagesHelper this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Ljdk/nashorn/tools/jjs/JrtPackagesHelper;
            0    3     1  context  Ljdk/nashorn/internal/runtime/Context;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
         Name  Flags
      context  final

  void close();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // jdk.nashorn.tools.jjs.JrtPackagesHelper this
         0: .line 57
            return
        end local 0 // jdk.nashorn.tools.jjs.JrtPackagesHelper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/tools/jjs/JrtPackagesHelper;
    Exceptions:
      throws java.io.IOException

  java.util.Set<java.lang.String> listPackage(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/util/Set;
    flags: (0x0000) 
    Code:
      stack=4, locals=18, args_size=2
        start local 0 // jdk.nashorn.tools.jjs.JrtPackagesHelper this
        start local 1 // java.lang.String pkg
         0: .line 61
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 2 /* props */
        start local 2 // java.util.Set props
         1: .line 63
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.JrtPackagesHelper.jrtfs:Ljava/nio/file/FileSystem;
            new java.lang.StringBuilder
            dup
            ldc "/packages/"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* pkg */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.String
            invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            astore 3 /* pkgDir */
        start local 3 // java.nio.file.Path pkgDir
         2: .line 64
            aload 3 /* pkgDir */
            iconst_0
            anewarray java.nio.file.LinkOption
            invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
            ifeq 35
         3: .line 65
            aload 1 /* pkg */
            bipush 46
            bipush 47
            invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
            astore 4 /* pkgSlashName */
        start local 4 // java.lang.String pkgSlashName
         4: .line 66
            aconst_null
            astore 5
            aconst_null
            astore 6
         5: aload 3 /* pkgDir */
            invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
            astore 7 /* ds */
        start local 7 // java.nio.file.DirectoryStream ds
         6: .line 68
            aload 7 /* ds */
            invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
            astore 9
            goto 28
      StackMap locals: jdk.nashorn.tools.jjs.JrtPackagesHelper java.lang.String java.util.Set java.nio.file.Path java.lang.String java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
      StackMap stack:
         7: aload 9
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.nio.file.Path
            astore 8 /* mod */
        start local 8 // java.nio.file.Path mod
         8: .line 70
            aload 0 /* this */
            getfield jdk.nashorn.tools.jjs.JrtPackagesHelper.jrtfs:Ljava/nio/file/FileSystem;
            new java.lang.StringBuilder
            dup
            aload 8 /* mod */
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            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;
            aload 4 /* pkgSlashName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            iconst_0
            anewarray java.lang.String
            invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
            astore 10 /* pkgUnderMod */
        start local 10 // java.nio.file.Path pkgUnderMod
         9: .line 71
            aconst_null
            astore 11
            aconst_null
            astore 12
        10: aload 10 /* pkgUnderMod */
            invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
            astore 13 /* ds2 */
        start local 13 // java.nio.file.DirectoryStream ds2
        11: .line 72
            aload 13 /* ds2 */
            invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
            astore 15
            goto 21
      StackMap locals: jdk.nashorn.tools.jjs.JrtPackagesHelper java.lang.String java.util.Set java.nio.file.Path java.lang.String java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.nio.file.Path java.util.Iterator java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
      StackMap stack:
        12: aload 15
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.nio.file.Path
            astore 14 /* p */
        start local 14 // java.nio.file.Path p
        13: .line 73
            aload 14 /* p */
            invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
            invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
            astore 16 /* str */
        start local 16 // java.lang.String str
        14: .line 75
            aload 16 /* str */
            ldc ".class"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 19
        15: .line 76
            aload 16 /* str */
            iconst_0
            aload 16 /* str */
            invokevirtual java.lang.String.length:()I
            ldc ".class"
            invokevirtual java.lang.String.length:()I
            isub
            invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
            astore 17 /* clsName */
        start local 17 // java.lang.String clsName
        16: .line 77
            aload 17 /* clsName */
            bipush 36
            invokevirtual java.lang.String.indexOf:(I)I
            iconst_m1
            if_icmpne 21
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            aload 1 /* 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;
            aload 17 /* clsName */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual jdk.nashorn.tools.jjs.JrtPackagesHelper.isClassAccessible:(Ljava/lang/String;)Z
            ifeq 21
        17: .line 78
            aload 2 /* props */
            aload 16 /* str */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        end local 17 // java.lang.String clsName
        18: .line 80
            goto 21
      StackMap locals: jdk.nashorn.tools.jjs.JrtPackagesHelper java.lang.String java.util.Set java.nio.file.Path java.lang.String java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.nio.file.Path java.util.Iterator java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.nio.file.Path java.util.Iterator java.lang.String
      StackMap stack:
        19: aload 0 /* this */
            new java.lang.StringBuilder
            dup
            aload 1 /* 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;
            aload 16 /* str */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual jdk.nashorn.tools.jjs.JrtPackagesHelper.isPackageAccessible:(Ljava/lang/String;)Z
            ifeq 21
        20: .line 81
            aload 2 /* props */
            aload 16 /* str */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        end local 16 // java.lang.String str
        end local 14 // java.nio.file.Path p
        21: .line 72
      StackMap locals: jdk.nashorn.tools.jjs.JrtPackagesHelper java.lang.String java.util.Set java.nio.file.Path java.lang.String java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.nio.file.Path java.util.Iterator java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
      StackMap stack:
            aload 15
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 12
        22: .line 84
            aload 13 /* ds2 */
            ifnull 28
            aload 13 /* ds2 */
            invokeinterface java.nio.file.DirectoryStream.close:()V
            goto 28
      StackMap locals: jdk.nashorn.tools.jjs.JrtPackagesHelper java.lang.String java.util.Set java.nio.file.Path java.lang.String java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.nio.file.Path java.util.Iterator java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
      StackMap stack: java.lang.Throwable
        23: astore 11
            aload 13 /* ds2 */
            ifnull 24
            aload 13 /* ds2 */
            invokeinterface java.nio.file.DirectoryStream.close:()V
        end local 13 // java.nio.file.DirectoryStream ds2
      StackMap locals:
      StackMap stack:
        24: aload 11
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        25: astore 12
            aload 11
            ifnonnull 26
            aload 12
            astore 11
            goto 27
      StackMap locals:
      StackMap stack:
        26: aload 11
            aload 12
            if_acmpeq 27
            aload 11
            aload 12
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        27: aload 11
            athrow
        end local 10 // java.nio.file.Path pkgUnderMod
        end local 8 // java.nio.file.Path mod
        28: .line 68
      StackMap locals: jdk.nashorn.tools.jjs.JrtPackagesHelper java.lang.String java.util.Set java.nio.file.Path java.lang.String java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream top java.util.Iterator
      StackMap stack:
            aload 9
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 7
        29: .line 86
            aload 7 /* ds */
            ifnull 35
            aload 7 /* ds */
            invokeinterface java.nio.file.DirectoryStream.close:()V
            goto 35
      StackMap locals: jdk.nashorn.tools.jjs.JrtPackagesHelper java.lang.String java.util.Set java.nio.file.Path java.lang.String java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
      StackMap stack: java.lang.Throwable
        30: astore 5
            aload 7 /* ds */
            ifnull 31
            aload 7 /* ds */
            invokeinterface java.nio.file.DirectoryStream.close:()V
        end local 7 // java.nio.file.DirectoryStream ds
      StackMap locals:
      StackMap stack:
        31: aload 5
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        32: astore 6
            aload 5
            ifnonnull 33
            aload 6
            astore 5
            goto 34
      StackMap locals:
      StackMap stack:
        33: aload 5
            aload 6
            if_acmpeq 34
            aload 5
            aload 6
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        34: aload 5
            athrow
        end local 4 // java.lang.String pkgSlashName
        35: .line 88
      StackMap locals:
      StackMap stack:
            aload 2 /* props */
            areturn
        end local 3 // java.nio.file.Path pkgDir
        end local 2 // java.util.Set props
        end local 1 // java.lang.String pkg
        end local 0 // jdk.nashorn.tools.jjs.JrtPackagesHelper this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   36     0          this  Ljdk/nashorn/tools/jjs/JrtPackagesHelper;
            0   36     1           pkg  Ljava/lang/String;
            1   36     2         props  Ljava/util/Set<Ljava/lang/String;>;
            2   36     3        pkgDir  Ljava/nio/file/Path;
            4   35     4  pkgSlashName  Ljava/lang/String;
            6   31     7            ds  Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
            8   28     8           mod  Ljava/nio/file/Path;
            9   28    10   pkgUnderMod  Ljava/nio/file/Path;
           11   24    13           ds2  Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
           13   21    14             p  Ljava/nio/file/Path;
           14   21    16           str  Ljava/lang/String;
           16   18    17       clsName  Ljava/lang/String;
      Exception table:
        from    to  target  type
          11    22      23  any
          10    25      25  any
           6    29      30  any
           5    32      32  any
    Exceptions:
      throws java.io.IOException
    Signature: (Ljava/lang/String;)Ljava/util/Set<Ljava/lang/String;>;
    MethodParameters:
      Name  Flags
      pkg   final
}
SourceFile: "JrtPackagesHelper.java"