public final class jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin implements jdk.tools.jlink.plugin.Plugin
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin
super_class: java.lang.Object
{
public static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "strip-native-debug-symbols"
private static final boolean DEBUG;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String DEFAULT_STRIP_CMD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "objcopy"
private static final java.lang.String STRIP_CMD_ARG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "objcopy"
private static final java.lang.String KEEP_DEBUG_INFO_ARG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "keep-debuginfo-files"
private static final java.lang.String EXCLUDE_DEBUG_INFO_ARG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "exclude-debuginfo-files"
private static final java.lang.String DEFAULT_DEBUG_EXT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "debuginfo"
private static final java.lang.String STRIP_DEBUG_SYMS_OPT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "-g"
private static final java.lang.String ONLY_KEEP_DEBUG_SYMS_OPT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "--only-keep-debug"
private static final java.lang.String ADD_DEBUG_LINK_OPT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "--add-gnu-debuglink"
private static final java.util.ResourceBundle resourceBundle;
descriptor: Ljava/util/ResourceBundle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String SHARED_LIBS_EXT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: ".so"
private final jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$ObjCopyCmdBuilder cmdBuilder;
descriptor: Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin$ObjCopyCmdBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean includeDebugSymbols;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String stripBin;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String debuginfoExt;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: ldc "jlink.debug"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
putstatic jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.DEBUG:Z
1: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
astore 0
start local 0 2: ldc "jdk.tools.jlink.resources.strip_native_debug_symbols_plugin"
3: aload 0
4: invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
putstatic jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.resourceBundle:Ljava/util/ResourceBundle;
5: goto 10
StackMap locals: java.util.Locale
StackMap stack: java.util.MissingResourceException
6: pop
7: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Cannot find jlink plugin resource bundle (strip-native-debug-symbols) for locale "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 0 10: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
2 10 0 locale Ljava/util/Locale;
Exception table:
from to target type
2 5 6 Class java.util.MissingResourceException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$DefaultObjCopyCmdBuilder
dup
invokespecial jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$DefaultObjCopyCmdBuilder.<init>:()V
invokespecial jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.<init>:(Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin$ObjCopyCmdBuilder;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
public void <init>(jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$ObjCopyCmdBuilder);
descriptor: (Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin$ObjCopyCmdBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.cmdBuilder:Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin$ObjCopyCmdBuilder;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
0 3 1 cmdBuilder Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin$ObjCopyCmdBuilder;
MethodParameters:
Name Flags
cmdBuilder
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "strip-native-debug-symbols"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
public jdk.tools.jlink.plugin.ResourcePool transform(jdk.tools.jlink.plugin.ResourcePool, jdk.tools.jlink.plugin.ResourcePoolBuilder);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePool;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)Ljdk/tools/jlink/plugin/ResourcePool;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinaryBuilder
dup
1: aload 0
getfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.includeDebugSymbols:Z
2: aload 0
getfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.debuginfoExt:Ljava/lang/String;
3: aload 0
getfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.cmdBuilder:Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin$ObjCopyCmdBuilder;
4: aload 0
getfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.stripBin:Ljava/lang/String;
5: invokespecial jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinaryBuilder.<init>:(ZLjava/lang/String;Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin$ObjCopyCmdBuilder;Ljava/lang/String;)V
astore 3
start local 3 6: aload 1
aload 0
aload 3
aload 2
invokedynamic apply(Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinaryBuilder;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)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/jlink/internal/plugins/StripNativeDebugSymbolsPlugin.lambda$0(Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinaryBuilder;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry; (7)
(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
7: aload 2
8: invokeinterface jdk.tools.jlink.plugin.ResourcePool.transformAndCopy:(Ljava/util/function/Function;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)V
9: aload 2
invokeinterface jdk.tools.jlink.plugin.ResourcePoolBuilder.build:()Ljdk/tools/jlink/plugin/ResourcePool;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
0 10 1 in Ljdk/tools/jlink/plugin/ResourcePool;
0 10 2 out Ljdk/tools/jlink/plugin/ResourcePoolBuilder;
6 10 3 builder Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinaryBuilder;
MethodParameters:
Name Flags
in
out
private void logError(jdk.tools.jlink.plugin.ResourcePoolEntry, java.lang.String);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolEntry;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.resourceBundle:Ljava/util/ResourceBundle;
1: aload 2
iconst_2
anewarray java.lang.Object
dup
iconst_0
2: ldc "strip-native-debug-symbols"
aastore
dup
iconst_1
3: aload 1
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
aastore
4: invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getMessage:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 5: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 3
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
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/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
0 7 1 resource Ljdk/tools/jlink/plugin/ResourcePoolEntry;
0 7 2 msgKey Ljava/lang/String;
5 7 3 msg Ljava/lang/String;
MethodParameters:
Name Flags
resource
msgKey
public jdk.tools.jlink.plugin.Plugin$Category getType();
descriptor: ()Ljdk/tools/jlink/plugin/Plugin$Category;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic jdk.tools.jlink.plugin.Plugin$Category.TRANSFORMER:Ljdk/tools/jlink/plugin/Plugin$Category;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
public java.lang.String getDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: ldc "strip-native-debug-symbols.description"
astore 1
start local 1 1: getstatic jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.resourceBundle:Ljava/util/ResourceBundle;
aload 1
iconst_0
anewarray java.lang.Object
invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getMessage:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
1 2 1 key Ljava/lang/String;
public boolean hasArguments();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
public java.lang.String getArgumentsDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: ldc "strip-native-debug-symbols.argument"
astore 1
start local 1 1: getstatic jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.resourceBundle:Ljava/util/ResourceBundle;
aload 1
iconst_0
anewarray java.lang.Object
invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getMessage:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
1 2 1 key Ljava/lang/String;
public void configure(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
aload 1
invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.doConfigure:(ZLjava/util/Map;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
0 2 1 config Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
config
public void doConfigure(boolean, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (ZLjava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=3
start local 0 start local 1 start local 2 0: new java.util.HashMap
dup
aload 2
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
astore 3
start local 3 1: aload 3
ldc "strip-native-debug-symbols"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 2: aload 0
ldc "objcopy"
putfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.stripBin:Ljava/lang/String;
3: aload 0
ldc "debuginfo"
putfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.debuginfoExt:Ljava/lang/String;
4: aload 4
ifnonnull 6
5: new java.lang.InternalError
dup
invokespecial java.lang.InternalError.<init>:()V
athrow
6: StackMap locals: java.util.Map java.lang.String
StackMap stack:
iconst_0
istore 5
start local 5 7: iconst_0
istore 6
start local 6 8: ldc "keep-debuginfo-files"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
9: iconst_1
istore 6
10: goto 21
StackMap locals: int int
StackMap stack:
11: aload 4
ldc "keep-debuginfo-files"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 21
12: aload 4
ldc "="
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 7
start local 7 13: aload 7
arraylength
iconst_2
if_icmpne 14
ldc "keep-debuginfo-files"
aload 7
iconst_0
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 19
14: StackMap locals: java.lang.String[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
15: getstatic jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.resourceBundle:Ljava/util/ResourceBundle;
16: ldc "strip-native-debug-symbols.iae"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "strip-native-debug-symbols"
aastore
dup
iconst_1
aload 4
aastore
17: invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getMessage:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
18: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
iconst_1
istore 6
20: aload 0
aload 7
iconst_1
aaload
putfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.debuginfoExt:Ljava/lang/String;
end local 7 21: StackMap locals:
StackMap stack:
ldc "exclude-debuginfo-files"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
aload 4
ldc "exclude-debuginfo-files="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 23
22: StackMap locals:
StackMap stack:
iconst_1
istore 5
23: StackMap locals:
StackMap stack:
aload 4
ldc "objcopy"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 34
24: aload 4
ldc "="
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 7
start local 7 25: aload 7
arraylength
iconst_2
if_icmpne 26
ldc "objcopy"
aload 7
iconst_0
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 31
26: StackMap locals: java.lang.String[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
27: getstatic jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.resourceBundle:Ljava/util/ResourceBundle;
28: ldc "strip-native-debug-symbols.iae"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "strip-native-debug-symbols"
aastore
dup
iconst_1
aload 4
aastore
29: invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getMessage:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
30: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
31: StackMap locals:
StackMap stack:
iload 1
ifeq 33
32: aload 0
aload 7
iconst_1
aaload
invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.validateStripArg:(Ljava/lang/String;)V
33: StackMap locals:
StackMap stack:
aload 0
aload 7
iconst_1
aaload
putfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.stripBin:Ljava/lang/String;
end local 7 34: StackMap locals:
StackMap stack:
aload 3
ldc "objcopy"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 35: aload 7
ifnull 37
iload 1
ifeq 37
36: aload 0
aload 7
invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.validateStripArg:(Ljava/lang/String;)V
37: StackMap locals: java.lang.String
StackMap stack:
aload 7
ifnull 39
38: aload 0
aload 7
putfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.stripBin:Ljava/lang/String;
39: StackMap locals:
StackMap stack:
aload 3
ldc "keep-debuginfo-files"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 40: aload 8
ifnull 43
41: iconst_1
istore 6
42: aload 0
aload 8
putfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.debuginfoExt:Ljava/lang/String;
43: StackMap locals: java.lang.String
StackMap stack:
iload 6
ifne 44
aload 0
getfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.includeDebugSymbols:Z
ifeq 53
StackMap locals:
StackMap stack:
44: iload 5
ifeq 53
45: new java.lang.IllegalArgumentException
dup
46: getstatic jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.resourceBundle:Ljava/util/ResourceBundle;
47: ldc "strip-native-debug-symbols.iae.conflict"
iconst_3
anewarray java.lang.Object
dup
iconst_0
48: ldc "strip-native-debug-symbols"
aastore
dup
iconst_1
49: ldc "exclude-debuginfo-files"
aastore
dup
iconst_2
50: ldc "keep-debuginfo-files"
aastore
51: invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getMessage:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
52: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
53: StackMap locals:
StackMap stack:
aload 4
ldc "objcopy"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 61
54: aload 4
ldc "keep-debuginfo-files"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 61
55: aload 4
ldc "exclude-debuginfo-files"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 61
56: new java.lang.IllegalArgumentException
dup
57: getstatic jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.resourceBundle:Ljava/util/ResourceBundle;
58: ldc "strip-native-debug-symbols.iae"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "strip-native-debug-symbols"
aastore
dup
iconst_1
aload 4
aastore
59: invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getMessage:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
60: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
61: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Map.isEmpty:()Z
ifne 68
62: new java.lang.IllegalArgumentException
dup
63: getstatic jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.resourceBundle:Ljava/util/ResourceBundle;
64: ldc "strip-native-debug-symbols.iae"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "strip-native-debug-symbols"
aastore
dup
iconst_1
65: aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
66: invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getMessage:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
67: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
68: StackMap locals:
StackMap stack:
aload 0
iload 6
putfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.includeDebugSymbols:Z
69: return
end local 8 end local 7 end local 6 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 70 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
0 70 1 withChecks Z
0 70 2 orig Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 70 3 config Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 70 4 arg Ljava/lang/String;
7 70 5 hasOmitDebugInfo Z
8 70 6 hasKeepDebugInfo Z
13 21 7 tokens [Ljava/lang/String;
25 34 7 tokens [Ljava/lang/String;
35 70 7 stripArg Ljava/lang/String;
40 70 8 keepDebugInfo Ljava/lang/String;
Signature: (ZLjava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
withChecks
orig
private void validateStripArg(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 1: aload 2
invokestatic java.nio.file.Files.isExecutable:(Ljava/nio/file/Path;)Z
ifne 15
2: new java.lang.IllegalArgumentException
dup
3: getstatic jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.resourceBundle:Ljava/util/ResourceBundle;
4: ldc "strip-native-debug-symbols.invalidstrip"
iconst_1
anewarray java.lang.Object
dup
iconst_0
5: aload 1
aastore
6: invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getMessage:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 8: StackMap locals:
StackMap stack: java.nio.file.InvalidPathException
astore 2
start local 2 9: new java.lang.IllegalArgumentException
dup
10: getstatic jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.resourceBundle:Ljava/util/ResourceBundle;
11: ldc "strip-native-debug-symbols.invalidstrip"
iconst_1
anewarray java.lang.Object
dup
iconst_0
12: aload 2
invokevirtual java.nio.file.InvalidPathException.getInput:()Ljava/lang/String;
aastore
13: invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getMessage:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
14: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
0 16 1 stripArg Ljava/lang/String;
1 8 2 strip Ljava/nio/file/Path;
9 15 2 e Ljava/nio/file/InvalidPathException;
Exception table:
from to target type
0 8 8 Class java.nio.file.InvalidPathException
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
stripArg
private jdk.tools.jlink.plugin.ResourcePoolEntry lambda$0(jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinaryBuilder, jdk.tools.jlink.plugin.ResourcePoolBuilder, jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinaryBuilder;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=9, args_size=4
start local 0 start local 3 0: aload 3
astore 4
start local 4 1: aload 3
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.type:()Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
getstatic jdk.tools.jlink.plugin.ResourcePoolEntry$Type.NATIVE_LIB:Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
if_acmpne 3
2: aload 3
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
ldc ".so"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 4
3: StackMap locals: jdk.tools.jlink.plugin.ResourcePoolEntry
StackMap stack:
aload 3
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.type:()Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
getstatic jdk.tools.jlink.plugin.ResourcePoolEntry$Type.NATIVE_CMD:Ljdk/tools/jlink/plugin/ResourcePoolEntry$Type;
if_acmpne 18
4: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinaryBuilder.build:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljava/util/Optional;
astore 5
start local 5 5: aload 5
invokevirtual java.util.Optional.isPresent:()Z
ifeq 16
6: aload 5
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinary
astore 6
start local 6 7: aload 6
invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinary.strippedBinary:()Ljdk/tools/jlink/plugin/ResourcePoolEntry;
astore 4
8: aload 0
getfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.includeDebugSymbols:Z
ifeq 18
9: aload 6
invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinary.debugSymbols:()Ljava/util/Optional;
astore 7
start local 7 10: aload 7
invokevirtual java.util.Optional.isEmpty:()Z
ifeq 14
11: ldc "strip-native-debug-symbols.error.debugfile"
astore 8
start local 8 12: aload 0
aload 3
aload 8
invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.logError:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;Ljava/lang/String;)V
end local 8 13: goto 18
14: StackMap locals: java.util.Optional jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinary java.util.Optional
StackMap stack:
aload 2
aload 7
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast jdk.tools.jlink.plugin.ResourcePoolEntry
invokeinterface jdk.tools.jlink.plugin.ResourcePoolBuilder.add:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
end local 7 end local 6 15: goto 18
16: StackMap locals:
StackMap stack:
ldc "strip-native-debug-symbols.error.file"
astore 6
start local 6 17: aload 0
aload 3
aload 6
invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.logError:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;Ljava/lang/String;)V
end local 6 end local 5 18: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
0 19 3 resource Ljdk/tools/jlink/plugin/ResourcePoolEntry;
1 19 4 res Ljdk/tools/jlink/plugin/ResourcePoolEntry;
5 18 5 strippedBin Ljava/util/Optional<Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinary;>;
7 15 6 sb Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinary;
10 15 7 debugInfo Ljava/util/Optional<Ljdk/tools/jlink/plugin/ResourcePoolEntry;>;
12 13 8 key Ljava/lang/String;
17 18 6 key Ljava/lang/String;
}
SourceFile: "StripNativeDebugSymbolsPlugin.java"
NestMembers:
jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$DefaultObjCopyCmdBuilder jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$ObjCopyCmdBuilder jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinary jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinaryBuilder jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinaryBuilder$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final DefaultObjCopyCmdBuilder = jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$DefaultObjCopyCmdBuilder of jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin
public abstract ObjCopyCmdBuilder = jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$ObjCopyCmdBuilder of jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin
private StrippedDebugInfoBinary = jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinary of jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin
private StrippedDebugInfoBinaryBuilder = jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin$StrippedDebugInfoBinaryBuilder of jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin
public final Category = jdk.tools.jlink.plugin.Plugin$Category of jdk.tools.jlink.plugin.Plugin
public final Type = jdk.tools.jlink.plugin.ResourcePoolEntry$Type of jdk.tools.jlink.plugin.ResourcePoolEntry