public final class jdk.tools.jlink.internal.Jlink
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.Jlink
super_class: java.lang.Object
{
public static jdk.tools.jlink.plugin.Plugin newPlugin(java.lang.String, java.util.Map<java.lang.String, java.lang.String>, java.lang.ModuleLayer);
descriptor: (Ljava/lang/String;Ljava/util/Map;Ljava/lang/ModuleLayer;)Ljdk/tools/jlink/plugin/Plugin;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
ifnonnull 3
invokestatic java.lang.ModuleLayer.boot:()Ljava/lang/ModuleLayer;
goto 4
StackMap locals:
StackMap stack:
3: aload 2
StackMap locals:
StackMap stack: java.lang.ModuleLayer
4: astore 2
5: aload 1
aload 0
aload 2
invokestatic jdk.tools.jlink.internal.PluginRepository.newPlugin:(Ljava/util/Map;Ljava/lang/String;Ljava/lang/ModuleLayer;)Ljdk/tools/jlink/plugin/Plugin;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 name Ljava/lang/String;
0 6 1 configuration Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
0 6 2 pluginsLayer Ljava/lang/ModuleLayer;
Signature: (Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;Ljava/lang/ModuleLayer;)Ljdk/tools/jlink/plugin/Plugin;
MethodParameters:
Name Flags
name
configuration
pluginsLayer
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnull 4
2: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
3: new jdk.tools.jlink.internal.JlinkPermission
dup
ldc "jlink"
invokespecial jdk.tools.jlink.internal.JlinkPermission.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
4: StackMap locals: jdk.tools.jlink.internal.Jlink
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jlink/internal/Jlink;
public void build(jdk.tools.jlink.internal.Jlink$JlinkConfiguration);
descriptor: (Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual jdk.tools.jlink.internal.Jlink.build:(Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/Jlink;
0 2 1 config Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
MethodParameters:
Name Flags
config
public void build(jdk.tools.jlink.internal.Jlink$JlinkConfiguration, jdk.tools.jlink.internal.Jlink$PluginsConfiguration);
descriptor: (Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
ifnonnull 3
2: new jdk.tools.jlink.internal.Jlink$PluginsConfiguration
dup
invokespecial jdk.tools.jlink.internal.Jlink$PluginsConfiguration.<init>:()V
astore 2
3: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual jdk.tools.jlink.internal.Jlink.addAutoEnabledPlugins:(Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;)Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;
astore 2
4: aload 1
aload 2
invokestatic jdk.tools.jlink.internal.JlinkTask.createImage:(Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;)V
5: goto 8
StackMap locals:
StackMap stack: java.lang.Exception
6: astore 3
start local 3 7: new jdk.tools.jlink.plugin.PluginException
dup
aload 3
invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/tools/jlink/internal/Jlink;
0 9 1 config Ljdk/tools/jlink/internal/Jlink$JlinkConfiguration;
0 9 2 pluginsConfig Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;
7 8 3 ex Ljava/lang/Exception;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
config
pluginsConfig
private jdk.tools.jlink.internal.Jlink$PluginsConfiguration addAutoEnabledPlugins(jdk.tools.jlink.internal.Jlink$PluginsConfiguration);
descriptor: (Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;)Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
aload 1
invokevirtual jdk.tools.jlink.internal.Jlink$PluginsConfiguration.getPlugins:()Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 1: invokestatic java.lang.ModuleLayer.boot:()Ljava/lang/ModuleLayer;
invokestatic jdk.tools.jlink.internal.PluginRepository.getPlugins:(Ljava/lang/ModuleLayer;)Ljava/util/List;
astore 3
start local 3 2: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 13
StackMap locals: jdk.tools.jlink.internal.Jlink jdk.tools.jlink.internal.Jlink$PluginsConfiguration java.util.List java.util.List top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.tools.jlink.plugin.Plugin
astore 4
start local 4 4: aload 4
invokestatic jdk.tools.jlink.internal.Utils.isAutoEnabled:(Ljdk/tools/jlink/plugin/Plugin;)Z
ifeq 13
5: aload 4
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
invokeinterface jdk.tools.jlink.plugin.Plugin.configure:(Ljava/util/Map;)V
6: goto 12
StackMap locals: jdk.tools.jlink.internal.Jlink jdk.tools.jlink.internal.Jlink$PluginsConfiguration java.util.List java.util.List jdk.tools.jlink.plugin.Plugin java.util.Iterator
StackMap stack: java.lang.IllegalArgumentException
7: astore 6
start local 6 8: getstatic jdk.tools.jlink.internal.JlinkTask.DEBUG:Z
ifeq 11
9: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Plugin "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokeinterface jdk.tools.jlink.plugin.Plugin.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " threw exception with config: {}"
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
10: aload 6
invokevirtual java.lang.IllegalArgumentException.printStackTrace:()V
11: StackMap locals: java.lang.IllegalArgumentException
StackMap stack:
aload 6
athrow
end local 6 12: StackMap locals:
StackMap stack:
aload 2
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 13: StackMap locals: jdk.tools.jlink.internal.Jlink jdk.tools.jlink.internal.Jlink$PluginsConfiguration java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
14: new jdk.tools.jlink.internal.Jlink$PluginsConfiguration
dup
aload 2
aload 1
invokevirtual jdk.tools.jlink.internal.Jlink$PluginsConfiguration.getImageBuilder:()Ljdk/tools/jlink/builder/ImageBuilder;
15: aload 1
invokevirtual jdk.tools.jlink.internal.Jlink$PluginsConfiguration.getLastSorterPluginName:()Ljava/lang/String;
16: invokespecial jdk.tools.jlink.internal.Jlink$PluginsConfiguration.<init>:(Ljava/util/List;Ljdk/tools/jlink/builder/ImageBuilder;Ljava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/tools/jlink/internal/Jlink;
0 17 1 pluginsConfig Ljdk/tools/jlink/internal/Jlink$PluginsConfiguration;
1 17 2 plugins Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;
2 17 3 bootPlugins Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;
4 13 4 bp Ljdk/tools/jlink/plugin/Plugin;
8 12 6 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
5 6 7 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
pluginsConfig
public void postProcess(jdk.tools.jlink.internal.ExecutableImage, java.util.List<jdk.tools.jlink.plugin.Plugin>);
descriptor: (Ljdk/tools/jlink/internal/ExecutableImage;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
aload 2
invokestatic jdk.tools.jlink.internal.JlinkTask.postProcessImage:(Ljdk/tools/jlink/internal/ExecutableImage;Ljava/util/List;)V
3: goto 6
StackMap locals:
StackMap stack: java.lang.Exception
4: astore 3
start local 3 5: new jdk.tools.jlink.plugin.PluginException
dup
aload 3
invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/tools/jlink/internal/Jlink;
0 7 1 image Ljdk/tools/jlink/internal/ExecutableImage;
0 7 2 plugins Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;
5 6 3 ex Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
Signature: (Ljdk/tools/jlink/internal/ExecutableImage;Ljava/util/List<Ljdk/tools/jlink/plugin/Plugin;>;)V
MethodParameters:
Name Flags
image
plugins
}
SourceFile: "Jlink.java"
NestMembers:
jdk.tools.jlink.internal.Jlink$JlinkConfiguration jdk.tools.jlink.internal.Jlink$PluginsConfiguration
InnerClasses:
public final JlinkConfiguration = jdk.tools.jlink.internal.Jlink$JlinkConfiguration of jdk.tools.jlink.internal.Jlink
public final PluginsConfiguration = jdk.tools.jlink.internal.Jlink$PluginsConfiguration of jdk.tools.jlink.internal.Jlink