class sun.launcher.LauncherHelper$ModuleValidator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.launcher.LauncherHelper$ModuleValidator
super_class: java.lang.Object
{
private static final java.lang.String MODULE_INFO;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "module-info.class"
private java.util.Map<java.lang.String, java.lang.module.ModuleReference> nameToModule;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/module/ModuleReference;>;
private java.util.Map<java.lang.String, java.lang.module.ModuleReference> packageToModule;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/module/ModuleReference;>;
private boolean errorFound;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.launcher.LauncherHelper$ModuleValidator.nameToModule:Ljava/util/Map;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.launcher.LauncherHelper$ModuleValidator.packageToModule:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/launcher/LauncherHelper$ModuleValidator;
boolean foundErrors();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.launcher.LauncherHelper$ModuleValidator.errorFound:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/launcher/LauncherHelper$ModuleValidator;
private void printModule(java.lang.module.ModuleReference);
descriptor: (Ljava/lang/module/ModuleReference;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.module.ModuleReference.location:()Ljava/util/Optional;
1: 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/launcher/LauncherHelper$ModuleValidator.lambda$0(Ljava/net/URI;)Z (6)
(Ljava/net/URI;)Z
invokevirtual java.util.Optional.filter:(Ljava/util/function/Predicate;)Ljava/util/Optional;
2: invokedynamic accept()Ljava/util/function/Consumer;
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;)V
sun/launcher/LauncherHelper$ModuleValidator.lambda$1(Ljava/net/URI;)V (6)
(Ljava/net/URI;)V
invokevirtual java.util.Optional.ifPresent:(Ljava/util/function/Consumer;)V
3: aload 1
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
astore 2
start local 2 4: getstatic sun.launcher.LauncherHelper.ostream:Ljava/io/PrintStream;
aload 2
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
5: aload 2
invokevirtual java.lang.module.ModuleDescriptor.isAutomatic:()Z
ifeq 7
6: getstatic sun.launcher.LauncherHelper.ostream:Ljava/io/PrintStream;
ldc " automatic"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
7: StackMap locals: java.lang.module.ModuleDescriptor
StackMap stack:
getstatic sun.launcher.LauncherHelper.ostream:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/launcher/LauncherHelper$ModuleValidator;
0 9 1 mref Ljava/lang/module/ModuleReference;
4 9 2 descriptor Ljava/lang/module/ModuleDescriptor;
MethodParameters:
Name Flags
mref
void process(java.lang.module.ModuleReference);
descriptor: (Ljava/lang/module/ModuleReference;)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.launcher.LauncherHelper$ModuleValidator.printModule:(Ljava/lang/module/ModuleReference;)V
1: aload 1
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 2
start local 2 2: aload 0
getfield sun.launcher.LauncherHelper$ModuleValidator.nameToModule:Ljava/util/Map;
aload 2
aload 1
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.module.ModuleReference
astore 3
start local 3 3: aload 3
ifnull 7
4: getstatic sun.launcher.LauncherHelper.ostream:Ljava/io/PrintStream;
ldc " shadowed by "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
5: aload 0
aload 3
invokevirtual sun.launcher.LauncherHelper$ModuleValidator.printModule:(Ljava/lang/module/ModuleReference;)V
6: goto 17
7: StackMap locals: java.lang.String java.lang.module.ModuleReference
StackMap stack:
aload 1
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.packages:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 16
StackMap locals: sun.launcher.LauncherHelper$ModuleValidator java.lang.module.ModuleReference java.lang.String java.lang.module.ModuleReference top java.util.Iterator
StackMap stack:
8: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 9: aload 0
getfield sun.launcher.LauncherHelper$ModuleValidator.packageToModule:Ljava/util/Map;
aload 4
aload 1
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.module.ModuleReference
astore 3
10: aload 3
ifnull 16
11: aload 3
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 6
start local 6 12: getstatic sun.launcher.LauncherHelper.ostream:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " contains "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: ldc " conflicts with module "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
15: aload 0
iconst_1
putfield sun.launcher.LauncherHelper$ModuleValidator.errorFound:Z
end local 6 end local 4 16: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
17: StackMap locals: sun.launcher.LauncherHelper$ModuleValidator java.lang.module.ModuleReference java.lang.String java.lang.module.ModuleReference
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/launcher/LauncherHelper$ModuleValidator;
0 18 1 mref Ljava/lang/module/ModuleReference;
2 18 2 name Ljava/lang/String;
3 18 3 previous Ljava/lang/module/ModuleReference;
9 16 4 pkg Ljava/lang/String;
12 16 6 mn Ljava/lang/String;
MethodParameters:
Name Flags
mref
void scan(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ldc Ljava/nio/file/attribute/BasicFileAttributes;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
astore 2
start local 2 1: goto 8
end local 2 StackMap locals:
StackMap stack: java.nio.file.NoSuchFileException
2: pop
3: return
4: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 5: getstatic sun.launcher.LauncherHelper.ostream:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: aload 0
iconst_1
putfield sun.launcher.LauncherHelper$ModuleValidator.errorFound:Z
7: return
end local 3 start local 2 8: StackMap locals: java.nio.file.attribute.BasicFileAttributes
StackMap stack:
aload 1
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 3
start local 3 9: aload 2
invokeinterface java.nio.file.attribute.BasicFileAttributes.isRegularFile:()Z
ifeq 12
aload 3
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 12
10: aload 0
aload 1
invokevirtual sun.launcher.LauncherHelper$ModuleValidator.scanModule:(Ljava/nio/file/Path;)Ljava/util/Optional;
aload 0
invokedynamic accept(Lsun/launcher/LauncherHelper$ModuleValidator;)Ljava/util/function/Consumer;
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;)V
sun/launcher/LauncherHelper$ModuleValidator.process(Ljava/lang/module/ModuleReference;)V (5)
(Ljava/lang/module/ModuleReference;)V
invokevirtual java.util.Optional.ifPresent:(Ljava/util/function/Consumer;)V
11: goto 18
StackMap locals: java.lang.String
StackMap stack:
12: aload 2
invokeinterface java.nio.file.attribute.BasicFileAttributes.isDirectory:()Z
ifeq 18
13: aload 1
ldc "module-info.class"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 5
start local 5 14: aload 5
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 17
15: aload 0
aload 1
invokevirtual sun.launcher.LauncherHelper$ModuleValidator.scanModule:(Ljava/nio/file/Path;)Ljava/util/Optional;
aload 0
invokedynamic accept(Lsun/launcher/LauncherHelper$ModuleValidator;)Ljava/util/function/Consumer;
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;)V
sun/launcher/LauncherHelper$ModuleValidator.process(Ljava/lang/module/ModuleReference;)V (5)
(Ljava/lang/module/ModuleReference;)V
invokevirtual java.util.Optional.ifPresent:(Ljava/util/function/Consumer;)V
16: goto 18
17: StackMap locals: sun.launcher.LauncherHelper$ModuleValidator java.nio.file.Path java.nio.file.attribute.BasicFileAttributes java.lang.String top java.nio.file.Path
StackMap stack:
aload 0
aload 1
invokevirtual sun.launcher.LauncherHelper$ModuleValidator.scanDirectory:(Ljava/nio/file/Path;)V
end local 5 18: StackMap locals: sun.launcher.LauncherHelper$ModuleValidator java.nio.file.Path java.nio.file.attribute.BasicFileAttributes java.lang.String
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/launcher/LauncherHelper$ModuleValidator;
0 19 1 entry Ljava/nio/file/Path;
1 2 2 attrs Ljava/nio/file/attribute/BasicFileAttributes;
8 19 2 attrs Ljava/nio/file/attribute/BasicFileAttributes;
5 8 3 ioe Ljava/io/IOException;
9 19 3 fn Ljava/lang/String;
14 18 5 mi Ljava/nio/file/Path;
Exception table:
from to target type
0 1 2 Class java.nio.file.NoSuchFileException
0 1 4 Class java.io.IOException
MethodParameters:
Name Flags
entry
private void scanDirectory(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=13, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
aconst_null
astore 3
1: aload 1
invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
astore 4
start local 4 2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 3: aload 4
invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
astore 7
goto 31
StackMap locals: sun.launcher.LauncherHelper$ModuleValidator java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.util.Map top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 6
start local 6 5: aload 6
ldc Ljava/nio/file/attribute/BasicFileAttributes;
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.readAttributes:(Ljava/nio/file/Path;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/BasicFileAttributes;
astore 8
start local 8 6: goto 11
end local 8 StackMap locals: sun.launcher.LauncherHelper$ModuleValidator java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.util.Map java.nio.file.Path java.util.Iterator
StackMap stack: java.io.IOException
7: astore 9
start local 9 8: getstatic sun.launcher.LauncherHelper.ostream:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: aload 0
iconst_1
putfield sun.launcher.LauncherHelper$ModuleValidator.errorFound:Z
10: goto 31
end local 9 start local 8 11: StackMap locals: java.nio.file.attribute.BasicFileAttributes
StackMap stack:
aconst_null
astore 9
start local 9 12: aload 6
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 10
start local 10 13: aload 8
invokeinterface java.nio.file.attribute.BasicFileAttributes.isRegularFile:()Z
ifeq 16
aload 10
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 16
14: aload 0
aload 6
invokevirtual sun.launcher.LauncherHelper$ModuleValidator.scanModule:(Ljava/nio/file/Path;)Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.module.ModuleReference
astore 9
15: goto 20
StackMap locals: java.lang.module.ModuleReference java.lang.String
StackMap stack:
16: aload 8
invokeinterface java.nio.file.attribute.BasicFileAttributes.isDirectory:()Z
ifeq 20
17: aload 6
ldc "module-info.class"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 11
start local 11 18: aload 11
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.exists:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 20
19: aload 0
aload 6
invokevirtual sun.launcher.LauncherHelper$ModuleValidator.scanModule:(Ljava/nio/file/Path;)Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.module.ModuleReference
astore 9
end local 11 20: StackMap locals:
StackMap stack:
aload 9
ifnull 31
21: aload 9
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 11
start local 11 22: aload 5
aload 11
aload 6
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.nio.file.Path
astore 12
start local 12 23: aload 12
ifnull 30
24: aload 0
aload 9
invokevirtual sun.launcher.LauncherHelper$ModuleValidator.printModule:(Ljava/lang/module/ModuleReference;)V
25: getstatic sun.launcher.LauncherHelper.ostream:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " contains same module as "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
26: aload 12
invokeinterface java.nio.file.Path.getFileName:()Ljava/nio/file/Path;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
27: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
28: aload 0
iconst_1
putfield sun.launcher.LauncherHelper$ModuleValidator.errorFound:Z
29: goto 31
30: StackMap locals: java.lang.String java.nio.file.Path
StackMap stack:
aload 0
aload 9
invokevirtual sun.launcher.LauncherHelper$ModuleValidator.process:(Ljava/lang/module/ModuleReference;)V
end local 12 end local 11 end local 10 end local 9 end local 8 end local 6 31: StackMap locals: sun.launcher.LauncherHelper$ModuleValidator java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream java.util.Map top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 5 32: aload 4
ifnull 41
aload 4
invokeinterface java.nio.file.DirectoryStream.close:()V
goto 41
StackMap locals: sun.launcher.LauncherHelper$ModuleValidator java.nio.file.Path java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
StackMap stack: java.lang.Throwable
33: astore 2
aload 4
ifnull 34
aload 4
invokeinterface java.nio.file.DirectoryStream.close:()V
end local 4 StackMap locals:
StackMap stack:
34: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
35: astore 3
aload 2
ifnonnull 36
aload 3
astore 2
goto 37
StackMap locals:
StackMap stack:
36: aload 2
aload 3
if_acmpeq 37
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
37: aload 2
athrow
StackMap locals: sun.launcher.LauncherHelper$ModuleValidator java.nio.file.Path
StackMap stack: java.io.IOException
38: astore 2
start local 2 39: getstatic sun.launcher.LauncherHelper.ostream:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
40: aload 0
iconst_1
putfield sun.launcher.LauncherHelper$ModuleValidator.errorFound:Z
end local 2 41: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lsun/launcher/LauncherHelper$ModuleValidator;
0 42 1 dir Ljava/nio/file/Path;
2 34 4 stream Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
3 32 5 moduleToEntry Ljava/util/Map<Ljava/lang/String;Ljava/nio/file/Path;>;
5 31 6 entry Ljava/nio/file/Path;
6 7 8 attrs Ljava/nio/file/attribute/BasicFileAttributes;
11 31 8 attrs Ljava/nio/file/attribute/BasicFileAttributes;
8 11 9 ioe Ljava/io/IOException;
12 31 9 mref Ljava/lang/module/ModuleReference;
13 31 10 fn Ljava/lang/String;
18 20 11 mi Ljava/nio/file/Path;
22 31 11 name Ljava/lang/String;
23 31 12 previous Ljava/nio/file/Path;
39 41 2 ioe Ljava/io/IOException;
Exception table:
from to target type
5 6 7 Class java.io.IOException
2 32 33 any
1 35 35 any
0 38 38 Class java.io.IOException
MethodParameters:
Name Flags
dir
private java.util.Optional<java.lang.module.ModuleReference> scanModule(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/Optional;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: iconst_1
anewarray java.nio.file.Path
dup
iconst_0
aload 1
aastore
invokestatic java.lang.module.ModuleFinder.of:([Ljava/nio/file/Path;)Ljava/lang/module/ModuleFinder;
astore 2
start local 2 1: aload 2
invokeinterface java.lang.module.ModuleFinder.findAll:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
2: areturn
3: StackMap locals: sun.launcher.LauncherHelper$ModuleValidator java.nio.file.Path java.lang.module.ModuleFinder
StackMap stack: java.lang.module.FindException
astore 3
start local 3 4: getstatic sun.launcher.LauncherHelper.ostream:Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
5: getstatic sun.launcher.LauncherHelper.ostream:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.module.FindException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: aload 3
invokevirtual java.lang.module.FindException.getCause:()Ljava/lang/Throwable;
astore 4
start local 4 7: aload 4
ifnull 9
8: getstatic sun.launcher.LauncherHelper.ostream:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: StackMap locals: java.lang.module.FindException java.lang.Throwable
StackMap stack:
aload 0
iconst_1
putfield sun.launcher.LauncherHelper$ModuleValidator.errorFound:Z
10: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/launcher/LauncherHelper$ModuleValidator;
0 11 1 entry Ljava/nio/file/Path;
1 11 2 finder Ljava/lang/module/ModuleFinder;
4 11 3 e Ljava/lang/module/FindException;
7 11 4 cause Ljava/lang/Throwable;
Exception table:
from to target type
1 2 3 Class java.lang.module.FindException
Signature: (Ljava/nio/file/Path;)Ljava/util/Optional<Ljava/lang/module/ModuleReference;>;
MethodParameters:
Name Flags
entry
private static boolean lambda$0(java.net.URI);
descriptor: (Ljava/net/URI;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic sun.launcher.LauncherHelper.isJrt:(Ljava/net/URI;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 uri Ljava/net/URI;
private static void lambda$1(java.net.URI);
descriptor: (Ljava/net/URI;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic sun.launcher.LauncherHelper.ostream:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 uri Ljava/net/URI;
}
SourceFile: "LauncherHelper.java"
NestHost: sun.launcher.LauncherHelper
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
ModuleValidator = sun.launcher.LauncherHelper$ModuleValidator of sun.launcher.LauncherHelper