class jdk.tools.jmod.JmodTask$JmodFileWriter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.tools.jmod.JmodTask$JmodFileWriter
super_class: java.lang.Object
{
final java.util.List<java.nio.file.Path> cmds;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/file/Path;>;
final java.util.List<java.nio.file.Path> libs;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/file/Path;>;
final java.util.List<java.nio.file.Path> configs;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/file/Path;>;
final java.util.List<java.nio.file.Path> classpath;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/file/Path;>;
final java.util.List<java.nio.file.Path> ;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/file/Path;>;
final java.util.List<java.nio.file.Path> manPages;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/file/Path;>;
final java.util.List<java.nio.file.Path> legalNotices;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/file/Path;>;
final java.lang.module.ModuleDescriptor$Version moduleVersion;
descriptor: Ljava/lang/module/ModuleDescriptor$Version;
flags: (0x0010) ACC_FINAL
final java.lang.String mainClass;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.lang.String targetPlatform;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.util.List<java.nio.file.PathMatcher> excludes;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/file/PathMatcher;>;
final jdk.internal.module.ModuleResolution moduleResolution;
descriptor: Ljdk/internal/module/ModuleResolution;
flags: (0x0010) ACC_FINAL
final jdk.tools.jmod.JmodTask this$0;
descriptor: Ljdk/tools/jmod/JmodTask;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.tools.jmod.JmodTask);
descriptor: (Ljdk/tools/jmod/JmodTask;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.tools.jmod.JmodTask$JmodFileWriter.this$0:Ljdk/tools/jmod/JmodTask;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.cmds:Ljava/util/List;
putfield jdk.tools.jmod.JmodTask$JmodFileWriter.cmds:Ljava/util/List;
2: aload 0
aload 1
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.libs:Ljava/util/List;
putfield jdk.tools.jmod.JmodTask$JmodFileWriter.libs:Ljava/util/List;
3: aload 0
aload 1
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.configs:Ljava/util/List;
putfield jdk.tools.jmod.JmodTask$JmodFileWriter.configs:Ljava/util/List;
4: aload 0
aload 1
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.classpath:Ljava/util/List;
putfield jdk.tools.jmod.JmodTask$JmodFileWriter.classpath:Ljava/util/List;
5: aload 0
aload 1
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.headerFiles:Ljava/util/List;
putfield jdk.tools.jmod.JmodTask$JmodFileWriter.headerFiles:Ljava/util/List;
6: aload 0
aload 1
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.manPages:Ljava/util/List;
putfield jdk.tools.jmod.JmodTask$JmodFileWriter.manPages:Ljava/util/List;
7: aload 0
aload 1
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.legalNotices:Ljava/util/List;
putfield jdk.tools.jmod.JmodTask$JmodFileWriter.legalNotices:Ljava/util/List;
8: aload 0
aload 1
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.moduleVersion:Ljava/lang/module/ModuleDescriptor$Version;
putfield jdk.tools.jmod.JmodTask$JmodFileWriter.moduleVersion:Ljava/lang/module/ModuleDescriptor$Version;
9: aload 0
aload 1
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.mainClass:Ljava/lang/String;
putfield jdk.tools.jmod.JmodTask$JmodFileWriter.mainClass:Ljava/lang/String;
10: aload 0
aload 1
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.targetPlatform:Ljava/lang/String;
putfield jdk.tools.jmod.JmodTask$JmodFileWriter.targetPlatform:Ljava/lang/String;
11: aload 0
aload 1
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.excludes:Ljava/util/List;
putfield jdk.tools.jmod.JmodTask$JmodFileWriter.excludes:Ljava/util/List;
12: aload 0
aload 1
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.moduleResolution:Ljdk/internal/module/ModuleResolution;
putfield jdk.tools.jmod.JmodTask$JmodFileWriter.moduleResolution:Ljdk/internal/module/ModuleResolution;
13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
MethodParameters:
Name Flags
this$0 final
void write(jdk.tools.jmod.JmodOutputStream);
descriptor: (Ljdk/tools/jmod/JmodOutputStream;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.classpath:Ljava/util/List;
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.findPackages:(Ljava/util/List;)Ljava/util/Set;
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.writeModuleInfo:(Ljdk/tools/jmod/JmodOutputStream;Ljava/util/Set;)V
1: aload 0
aload 1
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.classpath:Ljava/util/List;
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.processClasses:(Ljdk/tools/jmod/JmodOutputStream;Ljava/util/List;)V
2: aload 0
aload 1
getstatic jdk.internal.jmod.JmodFile$Section.CONFIG:Ljdk/internal/jmod/JmodFile$Section;
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.configs:Ljava/util/List;
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.processSection:(Ljdk/tools/jmod/JmodOutputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/util/List;)V
3: aload 0
aload 1
getstatic jdk.internal.jmod.JmodFile$Section.HEADER_FILES:Ljdk/internal/jmod/JmodFile$Section;
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.headerFiles:Ljava/util/List;
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.processSection:(Ljdk/tools/jmod/JmodOutputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/util/List;)V
4: aload 0
aload 1
getstatic jdk.internal.jmod.JmodFile$Section.LEGAL_NOTICES:Ljdk/internal/jmod/JmodFile$Section;
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.legalNotices:Ljava/util/List;
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.processSection:(Ljdk/tools/jmod/JmodOutputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/util/List;)V
5: aload 0
aload 1
getstatic jdk.internal.jmod.JmodFile$Section.MAN_PAGES:Ljdk/internal/jmod/JmodFile$Section;
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.manPages:Ljava/util/List;
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.processSection:(Ljdk/tools/jmod/JmodOutputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/util/List;)V
6: aload 0
aload 1
getstatic jdk.internal.jmod.JmodFile$Section.NATIVE_CMDS:Ljdk/internal/jmod/JmodFile$Section;
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.cmds:Ljava/util/List;
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.processSection:(Ljdk/tools/jmod/JmodOutputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/util/List;)V
7: aload 0
aload 1
getstatic jdk.internal.jmod.JmodFile$Section.NATIVE_LIBS:Ljdk/internal/jmod/JmodFile$Section;
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.libs:Ljava/util/List;
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.processSection:(Ljdk/tools/jmod/JmodOutputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/util/List;)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 9 1 out Ljdk/tools/jmod/JmodOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
java.util.function.Supplier<java.io.InputStream> newModuleInfoSupplier();
descriptor: ()Ljava/util/function/Supplier;
flags: (0x0000)
Code:
stack=3, locals=8, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 1: aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.classpath:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 23
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter java.io.ByteArrayOutputStream top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 2
start local 2 3: aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 8
4: aload 2
ldc "module-info.class"
invokeinterface java.nio.file.Path.resolve:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 4
start local 4 5: aload 4
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isRegularFile:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 23
6: aload 4
aload 1
invokestatic java.nio.file.Files.copy:(Ljava/nio/file/Path;Ljava/io/OutputStream;)J
pop2
7: goto 24
end local 4 8: StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter java.io.ByteArrayOutputStream java.nio.file.Path java.util.Iterator
StackMap stack:
aload 2
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isRegularFile:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 23
aload 2
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 23
9: aconst_null
astore 4
aconst_null
astore 5
10: new java.util.jar.JarFile
dup
aload 2
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokespecial java.util.jar.JarFile.<init>:(Ljava/io/File;)V
astore 6
start local 6 11: aload 6
ldc "module-info.class"
invokevirtual java.util.jar.JarFile.getEntry:(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
astore 7
start local 7 12: aload 7
ifnull 16
13: aload 6
aload 7
invokevirtual java.util.jar.JarFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
aload 1
invokevirtual java.io.InputStream.transferTo:(Ljava/io/OutputStream;)J
pop2
14: aload 6
ifnull 24
aload 6
invokevirtual java.util.jar.JarFile.close:()V
15: goto 24
end local 7 16: StackMap locals: java.lang.Throwable java.lang.Throwable java.util.jar.JarFile
StackMap stack:
aload 6
ifnull 23
aload 6
invokevirtual java.util.jar.JarFile.close:()V
goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 4
aload 6
ifnull 18
aload 6
invokevirtual java.util.jar.JarFile.close:()V
end local 6 StackMap locals:
StackMap stack:
18: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 5
aload 4
ifnonnull 20
aload 5
astore 4
goto 21
StackMap locals:
StackMap stack:
20: aload 4
aload 5
if_acmpeq 21
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 4
athrow
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter java.io.ByteArrayOutputStream java.nio.file.Path java.util.Iterator
StackMap stack: java.util.zip.ZipException
22: pop
end local 2 23: StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter java.io.ByteArrayOutputStream top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
24: StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter java.io.ByteArrayOutputStream
StackMap stack:
aload 1
invokevirtual java.io.ByteArrayOutputStream.size:()I
ifne 26
25: aconst_null
areturn
26: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 2
start local 2 27: aload 2
invokedynamic get([B)Ljava/util/function/Supplier;
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;
jdk/tools/jmod/JmodTask$JmodFileWriter.lambda$0([B)Ljava/io/InputStream; (6)
()Ljava/io/InputStream;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
1 28 1 baos Ljava/io/ByteArrayOutputStream;
3 23 2 e Ljava/nio/file/Path;
5 8 4 mi Ljava/nio/file/Path;
11 18 6 jf Ljava/util/jar/JarFile;
12 16 7 entry Ljava/util/zip/ZipEntry;
27 28 2 bytes [B
Exception table:
from to target type
11 14 17 any
10 15 19 any
16 19 19 any
9 15 22 Class java.util.zip.ZipException
16 22 22 Class java.util.zip.ZipException
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/function/Supplier<Ljava/io/InputStream;>;
void writeModuleInfo(jdk.tools.jmod.JmodOutputStream, java.util.Set<java.lang.String>);
descriptor: (Ljdk/tools/jmod/JmodOutputStream;Ljava/util/Set;)V
flags: (0x0000)
Code:
stack=6, locals=13, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.newModuleInfoSupplier:()Ljava/util/function/Supplier;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: new java.io.IOException
dup
ldc "module-info.class not found"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.util.function.Supplier
StackMap stack:
aconst_null
astore 5
aconst_null
astore 6
4: aload 3
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.io.InputStream
astore 7
start local 7 5: aload 7
invokestatic java.lang.module.ModuleDescriptor.read:(Ljava/io/InputStream;)Ljava/lang/module/ModuleDescriptor;
astore 4
start local 4 6: aload 7
ifnull 12
aload 7
invokevirtual java.io.InputStream.close:()V
goto 12
end local 4 StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter jdk.tools.jmod.JmodOutputStream java.util.Set java.util.function.Supplier top java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
7: astore 5
aload 7
ifnull 8
aload 7
invokevirtual java.io.InputStream.close:()V
end local 7 StackMap locals:
StackMap stack:
8: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 6
aload 5
ifnonnull 10
aload 6
astore 5
goto 11
StackMap locals:
StackMap stack:
10: aload 5
aload 6
if_acmpeq 11
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 5
athrow
start local 4 12: StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter jdk.tools.jmod.JmodOutputStream java.util.Set java.util.function.Supplier java.lang.module.ModuleDescriptor
StackMap stack:
aconst_null
astore 5
aconst_null
astore 6
13: aload 3
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.io.InputStream
astore 7
start local 7 14: aload 7
invokestatic jdk.internal.module.ModuleInfoExtender.newExtender:(Ljava/io/InputStream;)Ljdk/internal/module/ModuleInfoExtender;
astore 8
start local 8 15: aload 2
ifnull 18
16: aload 0
aload 4
aload 2
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.validatePackages:(Ljava/lang/module/ModuleDescriptor;Ljava/util/Set;)V
17: aload 8
aload 2
invokevirtual jdk.internal.module.ModuleInfoExtender.packages:(Ljava/util/Set;)Ljdk/internal/module/ModuleInfoExtender;
pop
18: StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter jdk.tools.jmod.JmodOutputStream java.util.Set java.util.function.Supplier java.lang.module.ModuleDescriptor java.lang.Throwable java.lang.Throwable java.io.InputStream jdk.internal.module.ModuleInfoExtender
StackMap stack:
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.mainClass:Ljava/lang/String;
ifnull 20
19: aload 8
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.mainClass:Ljava/lang/String;
invokevirtual jdk.internal.module.ModuleInfoExtender.mainClass:(Ljava/lang/String;)Ljdk/internal/module/ModuleInfoExtender;
pop
20: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.targetPlatform:Ljava/lang/String;
ifnull 22
21: aload 8
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.targetPlatform:Ljava/lang/String;
invokevirtual jdk.internal.module.ModuleInfoExtender.targetPlatform:(Ljava/lang/String;)Ljdk/internal/module/ModuleInfoExtender;
pop
22: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.moduleVersion:Ljava/lang/module/ModuleDescriptor$Version;
ifnull 24
23: aload 8
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.moduleVersion:Ljava/lang/module/ModuleDescriptor$Version;
invokevirtual jdk.internal.module.ModuleInfoExtender.version:(Ljava/lang/module/ModuleDescriptor$Version;)Ljdk/internal/module/ModuleInfoExtender;
pop
24: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.this$0:Ljdk/tools/jmod/JmodTask;
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.modulesToHash:Ljava/util/regex/Pattern;
ifnull 39
25: aconst_null
astore 10
aconst_null
astore 11
26: aload 3
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.io.InputStream
astore 12
start local 12 27: aload 12
aload 2
invokedynamic get(Ljava/util/Set;)Ljava/util/function/Supplier;
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;
jdk/tools/jmod/JmodTask$JmodFileWriter.lambda$1(Ljava/util/Set;)Ljava/util/Set; (6)
()Ljava/util/Set;
invokestatic java.lang.module.ModuleDescriptor.read:(Ljava/io/InputStream;Ljava/util/function/Supplier;)Ljava/lang/module/ModuleDescriptor;
astore 9
start local 9 28: aload 12
ifnull 34
aload 12
invokevirtual java.io.InputStream.close:()V
goto 34
end local 9 StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter jdk.tools.jmod.JmodOutputStream java.util.Set java.util.function.Supplier java.lang.module.ModuleDescriptor java.lang.Throwable java.lang.Throwable java.io.InputStream jdk.internal.module.ModuleInfoExtender top java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
29: astore 10
aload 12
ifnull 30
aload 12
invokevirtual java.io.InputStream.close:()V
end local 12 StackMap locals:
StackMap stack:
30: aload 10
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
31: astore 11
aload 10
ifnonnull 32
aload 11
astore 10
goto 33
StackMap locals:
StackMap stack:
32: aload 10
aload 11
if_acmpeq 33
aload 10
aload 11
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
33: aload 10
athrow
start local 9 34: StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter jdk.tools.jmod.JmodOutputStream java.util.Set java.util.function.Supplier java.lang.module.ModuleDescriptor java.lang.Throwable java.lang.Throwable java.io.InputStream jdk.internal.module.ModuleInfoExtender java.lang.module.ModuleDescriptor
StackMap stack:
aload 0
aload 9
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.computeHashes:(Ljava/lang/module/ModuleDescriptor;)Ljdk/internal/module/ModuleHashes;
astore 10
start local 10 35: aload 10
ifnull 38
36: aload 8
aload 10
invokevirtual jdk.internal.module.ModuleInfoExtender.hashes:(Ljdk/internal/module/ModuleHashes;)Ljdk/internal/module/ModuleInfoExtender;
pop
37: goto 39
38: StackMap locals: jdk.internal.module.ModuleHashes
StackMap stack:
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.this$0:Ljdk/tools/jmod/JmodTask;
ldc "warn.no.module.hashes"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
aastore
invokevirtual jdk.tools.jmod.JmodTask.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 10 end local 9 39: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.moduleResolution:Ljdk/internal/module/ModuleResolution;
ifnull 41
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.moduleResolution:Ljdk/internal/module/ModuleResolution;
invokevirtual jdk.internal.module.ModuleResolution.value:()I
ifeq 41
40: aload 8
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.moduleResolution:Ljdk/internal/module/ModuleResolution;
invokevirtual jdk.internal.module.ModuleInfoExtender.moduleResolution:(Ljdk/internal/module/ModuleResolution;)Ljdk/internal/module/ModuleInfoExtender;
pop
41: StackMap locals:
StackMap stack:
aload 1
aload 8
invokevirtual jdk.internal.module.ModuleInfoExtender.toByteArray:()[B
getstatic jdk.internal.jmod.JmodFile$Section.CLASSES:Ljdk/internal/jmod/JmodFile$Section;
ldc "module-info.class"
invokevirtual jdk.tools.jmod.JmodOutputStream.writeEntry:([BLjdk/internal/jmod/JmodFile$Section;Ljava/lang/String;)V
end local 8 42: aload 7
ifnull 48
aload 7
invokevirtual java.io.InputStream.close:()V
goto 48
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter jdk.tools.jmod.JmodOutputStream java.util.Set java.util.function.Supplier java.lang.module.ModuleDescriptor java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
43: astore 5
aload 7
ifnull 44
aload 7
invokevirtual java.io.InputStream.close:()V
end local 7 StackMap locals:
StackMap stack:
44: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
45: astore 6
aload 5
ifnonnull 46
aload 6
astore 5
goto 47
StackMap locals:
StackMap stack:
46: aload 5
aload 6
if_acmpeq 47
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
47: aload 5
athrow
48: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 49 1 out Ljdk/tools/jmod/JmodOutputStream;
0 49 2 packages Ljava/util/Set<Ljava/lang/String;>;
1 49 3 miSupplier Ljava/util/function/Supplier<Ljava/io/InputStream;>;
6 7 4 descriptor Ljava/lang/module/ModuleDescriptor;
12 49 4 descriptor Ljava/lang/module/ModuleDescriptor;
5 8 7 in Ljava/io/InputStream;
14 44 7 in Ljava/io/InputStream;
15 42 8 extender Ljdk/internal/module/ModuleInfoExtender;
28 29 9 md Ljava/lang/module/ModuleDescriptor;
34 39 9 md Ljava/lang/module/ModuleDescriptor;
27 30 12 is Ljava/io/InputStream;
35 39 10 moduleHashes Ljdk/internal/module/ModuleHashes;
Exception table:
from to target type
5 6 7 any
4 9 9 any
27 28 29 any
26 31 31 any
14 42 43 any
13 45 45 any
Exceptions:
throws java.io.IOException
Signature: (Ljdk/tools/jmod/JmodOutputStream;Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
out
packages
private void validatePackages(java.lang.module.ModuleDescriptor, java.util.Set<java.lang.String>);
descriptor: (Ljava/lang/module/ModuleDescriptor;Ljava/util/Set;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
astore 3
start local 3 1: aload 1
invokevirtual java.lang.module.ModuleDescriptor.exports:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
2: invokedynamic apply()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;
java/lang/module/ModuleDescriptor$Exports.source()Ljava/lang/String; (5)
(Ljava/lang/module/ModuleDescriptor$Exports;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: aload 2
invokedynamic test(Ljava/util/Set;)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
jdk/tools/jmod/JmodTask$JmodFileWriter.lambda$3(Ljava/util/Set;Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
4: aload 3
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/util/Set;)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
java/util/Set.add(Ljava/lang/Object;)Z (9 itf)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
5: aload 1
invokevirtual java.lang.module.ModuleDescriptor.opens:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
6: invokedynamic apply()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;
java/lang/module/ModuleDescriptor$Opens.source()Ljava/lang/String; (5)
(Ljava/lang/module/ModuleDescriptor$Opens;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
7: aload 2
invokedynamic test(Ljava/util/Set;)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
jdk/tools/jmod/JmodTask$JmodFileWriter.lambda$6(Ljava/util/Set;Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
8: aload 3
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/util/Set;)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
java/util/Set.add(Ljava/lang/Object;)Z (9 itf)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
9: aload 3
invokeinterface java.util.Set.isEmpty:()Z
ifne 13
10: new jdk.tools.jmod.JmodTask$CommandException
dup
ldc "err.missing.export.or.open.packages"
iconst_2
anewarray java.lang.Object
dup
iconst_0
11: aload 1
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
aastore
dup
iconst_1
aload 3
12: aastore
invokespecial jdk.tools.jmod.JmodTask$CommandException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
13: StackMap locals: java.util.Set
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 14 1 descriptor Ljava/lang/module/ModuleDescriptor;
0 14 2 packages Ljava/util/Set<Ljava/lang/String;>;
1 14 3 nonExistPackages Ljava/util/Set<Ljava/lang/String;>;
Signature: (Ljava/lang/module/ModuleDescriptor;Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
descriptor
packages
private jdk.internal.module.ModuleHashes computeHashes(java.lang.module.ModuleDescriptor);
descriptor: (Ljava/lang/module/ModuleDescriptor;)Ljdk/internal/module/ModuleHashes;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.this$0:Ljdk/tools/jmod/JmodTask;
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.jmodFile:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toUri:()Ljava/net/URI;
astore 3
start local 3 2: new jdk.tools.jmod.JmodTask$JmodFileWriter$1
dup
aload 0
aload 1
aload 3
aload 2
invokespecial jdk.tools.jmod.JmodTask$JmodFileWriter$1.<init>:(Ljdk/tools/jmod/JmodTask$JmodFileWriter;Ljava/lang/module/ModuleDescriptor;Ljava/net/URI;Ljava/lang/String;)V
astore 4
start local 4 3: iconst_2
anewarray java.lang.module.ModuleFinder
dup
iconst_0
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.this$0:Ljdk/tools/jmod/JmodTask;
getfield jdk.tools.jmod.JmodTask.options:Ljdk/tools/jmod/JmodTask$Options;
getfield jdk.tools.jmod.JmodTask$Options.moduleFinder:Ljava/lang/module/ModuleFinder;
aastore
dup
iconst_1
4: new jdk.tools.jmod.JmodTask$JmodFileWriter$2
dup
aload 0
aload 1
aload 4
invokespecial jdk.tools.jmod.JmodTask$JmodFileWriter$2.<init>:(Ljdk/tools/jmod/JmodTask$JmodFileWriter;Ljava/lang/module/ModuleDescriptor;Ljava/lang/module/ModuleReference;)V
aastore
5: invokestatic java.lang.module.ModuleFinder.compose:([Ljava/lang/module/ModuleFinder;)Ljava/lang/module/ModuleFinder;
astore 5
start local 5 6: new jdk.tools.jmod.JmodTask$Hasher
dup
aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.this$0:Ljdk/tools/jmod/JmodTask;
aload 2
aload 5
invokespecial jdk.tools.jmod.JmodTask$Hasher.<init>:(Ljdk/tools/jmod/JmodTask;Ljava/lang/String;Ljava/lang/module/ModuleFinder;)V
invokevirtual jdk.tools.jmod.JmodTask$Hasher.computeHashes:()Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.internal.module.ModuleHashes
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 7 1 descriptor Ljava/lang/module/ModuleDescriptor;
1 7 2 mn Ljava/lang/String;
2 7 3 uri Ljava/net/URI;
3 7 4 mref Ljava/lang/module/ModuleReference;
6 7 5 finder Ljava/lang/module/ModuleFinder;
MethodParameters:
Name Flags
descriptor
java.util.Set<java.lang.String> findPackages(java.util.List<java.nio.file.Path>);
descriptor: (Ljava/util/List;)Ljava/util/Set;
flags: (0x0000)
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 19
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter java.util.List java.util.Set top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 3
start local 3 3: aload 3
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 6
4: aload 2
aload 0
aload 3
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.findPackages:(Ljava/nio/file/Path;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
5: goto 19
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter java.util.List java.util.Set java.nio.file.Path java.util.Iterator
StackMap stack:
6: aload 3
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isRegularFile:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 19
aload 3
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 19
7: aconst_null
astore 5
aconst_null
astore 6
8: new java.util.jar.JarFile
dup
aload 3
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokespecial java.util.jar.JarFile.<init>:(Ljava/lang/String;)V
astore 7
start local 7 9: aload 2
aload 0
aload 7
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.findPackages:(Ljava/util/jar/JarFile;)Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
10: aload 7
ifnull 19
aload 7
invokevirtual java.util.jar.JarFile.close:()V
goto 19
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter java.util.List java.util.Set java.nio.file.Path java.util.Iterator java.lang.Throwable java.lang.Throwable java.util.jar.JarFile
StackMap stack: java.lang.Throwable
11: astore 5
aload 7
ifnull 12
aload 7
invokevirtual java.util.jar.JarFile.close:()V
end local 7 StackMap locals:
StackMap stack:
12: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 6
aload 5
ifnonnull 14
aload 6
astore 5
goto 15
StackMap locals:
StackMap stack:
14: aload 5
aload 6
if_acmpeq 15
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 5
athrow
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter java.util.List java.util.Set java.nio.file.Path java.util.Iterator
StackMap stack: java.util.zip.ZipException
16: pop
goto 19
17: StackMap locals:
StackMap stack: java.io.IOException
astore 5
start local 5 18: new java.io.UncheckedIOException
dup
aload 5
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 5 end local 3 19: StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter java.util.List java.util.Set top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
20: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 21 1 classpath Ljava/util/List<Ljava/nio/file/Path;>;
1 21 2 packages Ljava/util/Set<Ljava/lang/String;>;
3 19 3 path Ljava/nio/file/Path;
9 12 7 jf Ljava/util/jar/JarFile;
18 19 5 ioe Ljava/io/IOException;
Exception table:
from to target type
9 10 11 any
8 13 13 any
7 16 16 Class java.util.zip.ZipException
7 16 17 Class java.io.IOException
Signature: (Ljava/util/List<Ljava/nio/file/Path;>;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
classpath
java.util.Set<java.lang.String> findPackages(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/util/Set;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc 2147483647
1: invokedynamic test()Ljava/util/function/BiPredicate;
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;)Z
jdk/tools/jmod/JmodTask$JmodFileWriter.lambda$8(Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Z (6)
(Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Z
iconst_0
anewarray java.nio.file.FileVisitOption
2: invokestatic java.nio.file.Files.find:(Ljava/nio/file/Path;ILjava/util/function/BiPredicate;[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
3: aload 1
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic apply(Ljava/nio/file/Path;)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;
java/nio/file/Path.relativize(Ljava/nio/file/Path;)Ljava/nio/file/Path; (9 itf)
(Ljava/nio/file/Path;)Ljava/nio/file/Path;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
4: aload 0
invokedynamic test(Ljdk/tools/jmod/JmodTask$JmodFileWriter;)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
jdk/tools/jmod/JmodTask$JmodFileWriter.lambda$10(Ljava/nio/file/Path;)Z (7)
(Ljava/nio/file/Path;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
5: aload 0
invokedynamic apply(Ljdk/tools/jmod/JmodTask$JmodFileWriter;)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/tools/jmod/JmodTask$JmodFileWriter.lambda$11(Ljava/nio/file/Path;)Ljava/lang/String; (7)
(Ljava/nio/file/Path;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
6: 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
jdk/tools/jmod/JmodTask$JmodFileWriter.lambda$12(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
7: invokeinterface java.util.stream.Stream.distinct:()Ljava/util/stream/Stream;
8: invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
9: areturn
10: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 11: new java.io.UncheckedIOException
dup
aload 2
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 12 1 dir Ljava/nio/file/Path;
11 12 2 ioe Ljava/io/IOException;
Exception table:
from to target type
0 9 10 Class java.io.IOException
Signature: (Ljava/nio/file/Path;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
dir
java.util.Set<java.lang.String> findPackages(java.util.jar.JarFile);
descriptor: (Ljava/util/jar/JarFile;)Ljava/util/Set;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.jar.JarFile.stream:()Ljava/util/stream/Stream;
1: aload 0
invokedynamic test(Ljdk/tools/jmod/JmodTask$JmodFileWriter;)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
jdk/tools/jmod/JmodTask$JmodFileWriter.lambda$13(Ljava/util/jar/JarEntry;)Z (7)
(Ljava/util/jar/JarEntry;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
2: aload 0
invokedynamic apply(Ljdk/tools/jmod/JmodTask$JmodFileWriter;)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/tools/jmod/JmodTask$JmodFileWriter.lambda$14(Ljava/util/jar/JarEntry;)Ljava/lang/String; (7)
(Ljava/util/jar/JarEntry;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
3: 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
jdk/tools/jmod/JmodTask$JmodFileWriter.lambda$15(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
4: invokeinterface java.util.stream.Stream.distinct:()Ljava/util/stream/Stream;
5: invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
6: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 7 1 jf Ljava/util/jar/JarFile;
Signature: (Ljava/util/jar/JarFile;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
jf
boolean isResource(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic java.io.File.separatorChar:C
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 1
1: aload 1
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 2
aload 1
invokestatic jdk.internal.module.Resources.canEncapsulate:(Ljava/lang/String;)Z
ifne 2
iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
java.lang.String toPackageName(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
start local 3 2: iload 3
iconst_m1
if_icmpeq 4
3: aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
getstatic java.io.File.separatorChar:C
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
areturn
4: StackMap locals: java.lang.String int
StackMap stack:
aload 2
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 7
aload 2
ldc "module-info.class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
5: new java.io.IOException
dup
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " in the unnamed package"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 6: new java.io.UncheckedIOException
dup
aload 4
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 4 7: StackMap locals:
StackMap stack:
ldc ""
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 8 1 path Ljava/nio/file/Path;
1 8 2 name Ljava/lang/String;
2 8 3 index I
6 7 4 e Ljava/io/IOException;
MethodParameters:
Name Flags
path
java.lang.String toPackageName(java.util.zip.ZipEntry);
descriptor: (Ljava/util/zip/ZipEntry;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.zip.ZipEntry.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
ldc "/"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 3
start local 3 2: iload 3
iconst_m1
if_icmpeq 4
3: aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
areturn
4: StackMap locals: java.lang.String int
StackMap stack:
aload 2
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 7
aload 2
ldc "module-info.class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
5: new java.io.IOException
dup
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " in the unnamed package"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 6: new java.io.UncheckedIOException
dup
aload 4
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 4 7: StackMap locals:
StackMap stack:
ldc ""
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 8 1 entry Ljava/util/zip/ZipEntry;
1 8 2 name Ljava/lang/String;
2 8 3 index I
6 7 4 e Ljava/io/IOException;
MethodParameters:
Name Flags
entry
void processClasses(jdk.tools.jmod.JmodOutputStream, java.util.List<java.nio.file.Path>);
descriptor: (Ljdk/tools/jmod/JmodOutputStream;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 18
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter jdk.tools.jmod.JmodOutputStream java.util.List top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 3
start local 3 4: aload 3
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isDirectory:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 7
5: aload 0
aload 1
getstatic jdk.internal.jmod.JmodFile$Section.CLASSES:Ljdk/internal/jmod/JmodFile$Section;
aload 3
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.processSection:(Ljdk/tools/jmod/JmodOutputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/nio/file/Path;)V
6: goto 18
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter jdk.tools.jmod.JmodOutputStream java.util.List java.nio.file.Path java.util.Iterator
StackMap stack:
7: aload 3
iconst_0
anewarray java.nio.file.LinkOption
invokestatic java.nio.file.Files.isRegularFile:(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
ifeq 18
aload 3
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 18
8: aconst_null
astore 5
aconst_null
astore 6
9: new java.util.jar.JarFile
dup
aload 3
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
invokespecial java.util.jar.JarFile.<init>:(Ljava/io/File;)V
astore 7
start local 7 10: new jdk.tools.jmod.JmodTask$JmodFileWriter$JarEntryConsumer
dup
aload 0
aload 1
aload 7
invokespecial jdk.tools.jmod.JmodTask$JmodFileWriter$JarEntryConsumer.<init>:(Ljdk/tools/jmod/JmodTask$JmodFileWriter;Ljdk/tools/jmod/JmodOutputStream;Ljava/util/jar/JarFile;)V
astore 8
start local 8 11: aload 7
invokevirtual java.util.jar.JarFile.stream:()Ljava/util/stream/Stream;
aload 8
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
aload 8
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
end local 8 12: aload 7
ifnull 18
aload 7
invokevirtual java.util.jar.JarFile.close:()V
goto 18
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter jdk.tools.jmod.JmodOutputStream java.util.List java.nio.file.Path java.util.Iterator java.lang.Throwable java.lang.Throwable java.util.jar.JarFile
StackMap stack: java.lang.Throwable
13: astore 5
aload 7
ifnull 14
aload 7
invokevirtual java.util.jar.JarFile.close:()V
end local 7 StackMap locals:
StackMap stack:
14: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 6
aload 5
ifnonnull 16
aload 6
astore 5
goto 17
StackMap locals:
StackMap stack:
16: aload 5
aload 6
if_acmpeq 17
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 5
athrow
end local 3 18: StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter jdk.tools.jmod.JmodOutputStream java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
19: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 20 1 out Ljdk/tools/jmod/JmodOutputStream;
0 20 2 classpaths Ljava/util/List<Ljava/nio/file/Path;>;
4 18 3 p Ljava/nio/file/Path;
10 14 7 jf Ljava/util/jar/JarFile;
11 12 8 jec Ljdk/tools/jmod/JmodTask$JmodFileWriter$JarEntryConsumer;
Exception table:
from to target type
10 12 13 any
9 15 15 any
Exceptions:
throws java.io.IOException
Signature: (Ljdk/tools/jmod/JmodOutputStream;Ljava/util/List<Ljava/nio/file/Path;>;)V
MethodParameters:
Name Flags
out
classpaths
void processSection(jdk.tools.jmod.JmodOutputStream, jdk.internal.jmod.JmodFile$Section, java.util.List<java.nio.file.Path>);
descriptor: (Ljdk/tools/jmod/JmodOutputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/util/List;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter jdk.tools.jmod.JmodOutputStream jdk.internal.jmod.JmodFile$Section java.util.List top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 4
start local 4 4: aload 0
aload 1
aload 2
aload 4
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.processSection:(Ljdk/tools/jmod/JmodOutputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/nio/file/Path;)V
end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 7 1 out Ljdk/tools/jmod/JmodOutputStream;
0 7 2 section Ljdk/internal/jmod/JmodFile$Section;
0 7 3 paths Ljava/util/List<Ljava/nio/file/Path;>;
4 5 4 p Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
Signature: (Ljdk/tools/jmod/JmodOutputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/util/List<Ljava/nio/file/Path;>;)V
MethodParameters:
Name Flags
out
section
paths
void processSection(jdk.tools.jmod.JmodOutputStream, jdk.internal.jmod.JmodFile$Section, java.nio.file.Path);
descriptor: (Ljdk/tools/jmod/JmodOutputStream;Ljdk/internal/jmod/JmodFile$Section;Ljava/nio/file/Path;)V
flags: (0x0000)
Code:
stack=9, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
getstatic java.nio.file.FileVisitOption.FOLLOW_LINKS:Ljava/nio/file/FileVisitOption;
invokestatic java.util.Set.of:(Ljava/lang/Object;)Ljava/util/Set;
1: ldc 2147483647
new jdk.tools.jmod.JmodTask$JmodFileWriter$3
dup
aload 0
aload 3
aload 2
aload 1
invokespecial jdk.tools.jmod.JmodTask$JmodFileWriter$3.<init>:(Ljdk/tools/jmod/JmodTask$JmodFileWriter;Ljava/nio/file/Path;Ljdk/internal/jmod/JmodFile$Section;Ljdk/tools/jmod/JmodOutputStream;)V
2: invokestatic java.nio.file.Files.walkFileTree:(Ljava/nio/file/Path;Ljava/util/Set;ILjava/nio/file/FileVisitor;)Ljava/nio/file/Path;
pop
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 4 1 out Ljdk/tools/jmod/JmodOutputStream;
0 4 2 section Ljdk/internal/jmod/JmodFile$Section;
0 4 3 path Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
section
path
boolean matches(java.nio.file.Path, java.util.List<java.nio.file.PathMatcher>);
descriptor: (Ljava/nio/file/Path;Ljava/util/List;)Z
flags: (0x0000)
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 6
1: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter java.nio.file.Path java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.PathMatcher
astore 3
start local 3 3: aload 3
aload 1
invokeinterface java.nio.file.PathMatcher.matches:(Ljava/nio/file/Path;)Z
ifeq 5
4: iconst_1
ireturn
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: StackMap locals: jdk.tools.jmod.JmodTask$JmodFileWriter java.nio.file.Path java.util.List
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 7 1 path Ljava/nio/file/Path;
0 7 2 matchers Ljava/util/List<Ljava/nio/file/PathMatcher;>;
3 5 3 pm Ljava/nio/file/PathMatcher;
Signature: (Ljava/nio/file/Path;Ljava/util/List<Ljava/nio/file/PathMatcher;>;)Z
MethodParameters:
Name Flags
path
matchers
private static java.io.InputStream lambda$0(byte[]);
descriptor: ([B)Ljava/io/InputStream;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
0: new java.io.ByteArrayInputStream
dup
aload 0
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.util.Set lambda$1(java.util.Set);
descriptor: (Ljava/util/Set;)Ljava/util/Set;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
areturn
LocalVariableTable:
Start End Slot Name Signature
private static boolean lambda$3(java.util.Set, java.lang.String);
descriptor: (Ljava/util/Set;Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 pn Ljava/lang/String;
private static boolean lambda$6(java.util.Set, java.lang.String);
descriptor: (Ljava/util/Set;Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 1 0: aload 0
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 pn Ljava/lang/String;
private static boolean lambda$8(java.nio.file.Path, java.nio.file.attribute.BasicFileAttributes);
descriptor: (Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.nio.file.attribute.BasicFileAttributes.isRegularFile:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/nio/file/Path;
0 1 1 attrs Ljava/nio/file/attribute/BasicFileAttributes;
private boolean lambda$10(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.isResource:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 1 1 path Ljava/nio/file/Path;
private java.lang.String lambda$11(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.toPackageName:(Ljava/nio/file/Path;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 1 1 path Ljava/nio/file/Path;
private static boolean lambda$12(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 pkg Ljava/lang/String;
private boolean lambda$13(java.util.jar.JarEntry);
descriptor: (Ljava/util/jar/JarEntry;)Z
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.jar.JarEntry.isDirectory:()Z
ifne 1
aload 0
aload 1
invokevirtual java.util.jar.JarEntry.getName:()Ljava/lang/String;
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.isResource:(Ljava/lang/String;)Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 3 1 e Ljava/util/jar/JarEntry;
private java.lang.String lambda$14(java.util.jar.JarEntry);
descriptor: (Ljava/util/jar/JarEntry;)Ljava/lang/String;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.tools.jmod.JmodTask$JmodFileWriter.toPackageName:(Ljava/util/zip/ZipEntry;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jmod/JmodTask$JmodFileWriter;
0 1 1 e Ljava/util/jar/JarEntry;
private static boolean lambda$15(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 pkg Ljava/lang/String;
static jdk.tools.jmod.JmodTask access$11(jdk.tools.jmod.JmodTask$JmodFileWriter);
descriptor: (Ljdk/tools/jmod/JmodTask$JmodFileWriter;)Ljdk/tools/jmod/JmodTask;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield jdk.tools.jmod.JmodTask$JmodFileWriter.this$0:Ljdk/tools/jmod/JmodTask;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "JmodTask.java"
NestHost: jdk.tools.jmod.JmodTask
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Exports = java.lang.module.ModuleDescriptor$Exports of java.lang.module.ModuleDescriptor
public final Opens = java.lang.module.ModuleDescriptor$Opens of java.lang.module.ModuleDescriptor
public final Version = java.lang.module.ModuleDescriptor$Version of java.lang.module.ModuleDescriptor
public final Section = jdk.internal.jmod.JmodFile$Section of jdk.internal.jmod.JmodFile
CommandException = jdk.tools.jmod.JmodTask$CommandException of jdk.tools.jmod.JmodTask
private Hasher = jdk.tools.jmod.JmodTask$Hasher of jdk.tools.jmod.JmodTask
private JmodFileWriter = jdk.tools.jmod.JmodTask$JmodFileWriter of jdk.tools.jmod.JmodTask
jdk.tools.jmod.JmodTask$JmodFileWriter$1
jdk.tools.jmod.JmodTask$JmodFileWriter$2
jdk.tools.jmod.JmodTask$JmodFileWriter$3
JarEntryConsumer = jdk.tools.jmod.JmodTask$JmodFileWriter$JarEntryConsumer of jdk.tools.jmod.JmodTask$JmodFileWriter
Options = jdk.tools.jmod.JmodTask$Options of jdk.tools.jmod.JmodTask