public final class jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin extends jdk.tools.jlink.internal.plugins.AbstractPlugin
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: jdk.tools.jlink.internal.plugins.AbstractPlugin
{
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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "strip-native-debug-symbols"
getstatic jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.resourceBundle:Ljava/util/ResourceBundle;
invokespecial jdk.tools.jlink.internal.plugins.AbstractPlugin.<init>:(Ljava/lang/String;Ljava/util/ResourceBundle;)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 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: aload 0
aload 2
iconst_2
anewarray java.lang.Object
dup
iconst_0
1: ldc "strip-native-debug-symbols"
aastore
dup
iconst_1
2: aload 1
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
aastore
3: invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 4: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 3
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
0 6 1 resource Ljdk/tools/jlink/plugin/ResourcePoolEntry;
0 6 2 msgKey Ljava/lang/String;
4 6 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 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 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 19
StackMap locals: int int
StackMap stack:
11: aload 4
ldc "keep-debuginfo-files"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 19
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 17
14: StackMap locals: java.lang.String[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
15: aload 0
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
invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
16: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
iconst_1
istore 6
18: aload 0
aload 7
iconst_1
aaload
putfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.debuginfoExt:Ljava/lang/String;
end local 7 19: StackMap locals:
StackMap stack:
ldc "exclude-debuginfo-files"
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
aload 4
ldc "exclude-debuginfo-files="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 21
20: StackMap locals:
StackMap stack:
iconst_1
istore 5
21: StackMap locals:
StackMap stack:
aload 4
ldc "objcopy"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 30
22: aload 4
ldc "="
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 7
start local 7 23: aload 7
arraylength
iconst_2
if_icmpne 24
ldc "objcopy"
aload 7
iconst_0
aaload
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 27
24: StackMap locals: java.lang.String[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
25: aload 0
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
invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
26: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
27: StackMap locals:
StackMap stack:
iload 1
ifeq 29
28: aload 0
aload 7
iconst_1
aaload
invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.validateStripArg:(Ljava/lang/String;)V
29: 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 30: 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 31: aload 7
ifnull 33
iload 1
ifeq 33
32: aload 0
aload 7
invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.validateStripArg:(Ljava/lang/String;)V
33: StackMap locals: java.lang.String
StackMap stack:
aload 7
ifnull 35
34: aload 0
aload 7
putfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.stripBin:Ljava/lang/String;
35: 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 36: aload 8
ifnull 39
37: iconst_1
istore 6
38: aload 0
aload 8
putfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.debuginfoExt:Ljava/lang/String;
39: StackMap locals: java.lang.String
StackMap stack:
iload 6
ifne 40
aload 0
getfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.includeDebugSymbols:Z
ifeq 48
StackMap locals:
StackMap stack:
40: iload 5
ifeq 48
41: new java.lang.IllegalArgumentException
dup
42: aload 0
ldc "strip-native-debug-symbols.iae.conflict"
iconst_3
anewarray java.lang.Object
dup
iconst_0
43: ldc "strip-native-debug-symbols"
aastore
dup
iconst_1
44: ldc "exclude-debuginfo-files"
aastore
dup
iconst_2
45: ldc "keep-debuginfo-files"
aastore
46: invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
47: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
48: StackMap locals:
StackMap stack:
aload 4
ldc "objcopy"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 54
49: aload 4
ldc "keep-debuginfo-files"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 54
50: aload 4
ldc "exclude-debuginfo-files"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 54
51: new java.lang.IllegalArgumentException
dup
52: aload 0
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
invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
53: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
54: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Map.isEmpty:()Z
ifne 60
55: new java.lang.IllegalArgumentException
dup
56: aload 0
ldc "strip-native-debug-symbols.iae"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "strip-native-debug-symbols"
aastore
dup
iconst_1
57: aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
aastore
58: invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
59: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
60: StackMap locals:
StackMap stack:
aload 0
iload 6
putfield jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.includeDebugSymbols:Z
61: 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 62 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
0 62 1 withChecks Z
0 62 2 orig Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 62 3 config Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 62 4 arg Ljava/lang/String;
7 62 5 hasOmitDebugInfo Z
8 62 6 hasKeepDebugInfo Z
13 19 7 tokens [Ljava/lang/String;
23 30 7 tokens [Ljava/lang/String;
31 62 7 stripArg Ljava/lang/String;
36 62 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 13
2: new java.lang.IllegalArgumentException
dup
3: aload 0
ldc "strip-native-debug-symbols.invalidstrip"
iconst_1
anewarray java.lang.Object
dup
iconst_0
4: aload 1
aastore
5: invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 7: StackMap locals:
StackMap stack: java.nio.file.InvalidPathException
astore 2
start local 2 8: new java.lang.IllegalArgumentException
dup
9: aload 0
ldc "strip-native-debug-symbols.invalidstrip"
iconst_1
anewarray java.lang.Object
dup
iconst_0
10: aload 2
invokevirtual java.nio.file.InvalidPathException.getInput:()Ljava/lang/String;
aastore
11: invokevirtual jdk.tools.jlink.internal.plugins.StripNativeDebugSymbolsPlugin.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
12: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/tools/jlink/internal/plugins/StripNativeDebugSymbolsPlugin;
0 14 1 stripArg Ljava/lang/String;
1 7 2 strip Ljava/nio/file/Path;
8 13 2 e Ljava/nio/file/InvalidPathException;
Exception table:
from to target type
0 7 7 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