public final class sun.launcher.LauncherHelper extends java.lang.Enum<sun.launcher.LauncherHelper>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: sun.launcher.LauncherHelper
super_class: java.lang.Enum
{
public static final sun.launcher.LauncherHelper INSTANCE;
descriptor: Lsun/launcher/LauncherHelper;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private static final java.lang.String MAIN_CLASS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Main-Class"
private static java.lang.StringBuilder outBuf;
descriptor: Ljava/lang/StringBuilder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.lang.String INDENT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: " "
private static final java.lang.String VM_SETTINGS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "VM settings:"
private static final java.lang.String PROP_SETTINGS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Property settings:"
private static final java.lang.String LOCALE_SETTINGS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Locale settings:"
private static final java.lang.String diagprop;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "sun.java.launcher.diag"
static final boolean trace;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final java.lang.String defaultBundleName;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "sun.launcher.resources.launcher"
private static final int LM_UNKNOWN;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int LM_CLASS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int LM_JAR;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final java.lang.String encprop;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "sun.jnu.encoding"
private static java.lang.String encoding;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static boolean isCharsetSupported;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final sun.launcher.LauncherHelper[] ENUM$VALUES;
descriptor: [Lsun/launcher/LauncherHelper;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new sun.launcher.LauncherHelper
dup
ldc "INSTANCE"
iconst_0
invokespecial sun.launcher.LauncherHelper.<init>:(Ljava/lang/String;I)V
putstatic sun.launcher.LauncherHelper.INSTANCE:Lsun/launcher/LauncherHelper;
iconst_1
anewarray sun.launcher.LauncherHelper
dup
iconst_0
getstatic sun.launcher.LauncherHelper.INSTANCE:Lsun/launcher/LauncherHelper;
aastore
putstatic sun.launcher.LauncherHelper.ENUM$VALUES:[Lsun/launcher/LauncherHelper;
1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
2: ldc "sun.java.launcher.diag"
invokestatic sun.misc.VM.getSavedProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnull 3
iconst_1
goto 4
StackMap locals:
StackMap stack:
3: iconst_0
StackMap locals:
StackMap stack: int
4: putstatic sun.launcher.LauncherHelper.trace:Z
5: aconst_null
putstatic sun.launcher.LauncherHelper.encoding:Ljava/lang/String;
6: iconst_0
putstatic sun.launcher.LauncherHelper.isCharsetSupported:Z
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/launcher/LauncherHelper;
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
static void showSettings(boolean, java.lang.String, long, long, long, boolean);
descriptor: (ZLjava/lang/String;JJJZ)V
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=13, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 6 start local 8 0: iload 0
ifeq 1
getstatic java.lang.System.err:Ljava/io/PrintStream;
goto 2
StackMap locals:
StackMap stack:
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
StackMap locals:
StackMap stack: java.io.PrintStream
2: astore 9
start local 9 3: aload 1
ldc ":"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 10
start local 10 4: aload 10
arraylength
iconst_1
if_icmple 6
aload 10
iconst_1
aaload
ifnull 6
5: aload 10
iconst_1
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
goto 7
6: StackMap locals: java.io.PrintStream java.lang.String[]
StackMap stack:
ldc "all"
7: StackMap locals:
StackMap stack: java.lang.String
astore 11
start local 11 8: aload 11
dup
astore 12
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 3
-1097462182: 9
-926053069: 10
3767: 11
default: 20
}
StackMap locals: java.lang.String java.lang.String
StackMap stack:
9: aload 12
ldc "locale"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 18
goto 20
StackMap locals:
StackMap stack:
10: aload 12
ldc "properties"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 16
goto 20
StackMap locals:
StackMap stack:
11: aload 12
ldc "vm"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
goto 20
12: StackMap locals:
StackMap stack:
aload 9
lload 2
lload 4
13: lload 6
iload 8
14: invokestatic sun.launcher.LauncherHelper.printVmSettings:(Ljava/io/PrintStream;JJJZ)V
15: goto 25
16: StackMap locals:
StackMap stack:
aload 9
invokestatic sun.launcher.LauncherHelper.printProperties:(Ljava/io/PrintStream;)V
17: goto 25
18: StackMap locals:
StackMap stack:
aload 9
invokestatic sun.launcher.LauncherHelper.printLocale:(Ljava/io/PrintStream;)V
19: goto 25
20: StackMap locals:
StackMap stack:
aload 9
lload 2
lload 4
21: lload 6
iload 8
22: invokestatic sun.launcher.LauncherHelper.printVmSettings:(Ljava/io/PrintStream;JJJZ)V
23: aload 9
invokestatic sun.launcher.LauncherHelper.printProperties:(Ljava/io/PrintStream;)V
24: aload 9
invokestatic sun.launcher.LauncherHelper.printLocale:(Ljava/io/PrintStream;)V
25: StackMap locals:
StackMap stack:
return
end local 11 end local 10 end local 9 end local 8 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 printToStderr Z
0 26 1 optionFlag Ljava/lang/String;
0 26 2 initialHeapSize J
0 26 4 maxHeapSize J
0 26 6 stackSize J
0 26 8 isServer Z
3 26 9 ostream Ljava/io/PrintStream;
4 26 10 opts [Ljava/lang/String;
8 26 11 optStr Ljava/lang/String;
MethodParameters:
Name Flags
printToStderr
optionFlag
initialHeapSize
maxHeapSize
stackSize
isServer
private static void printVmSettings(java.io.PrintStream, long, long, long, boolean);
descriptor: (Ljava/io/PrintStream;JJJZ)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 7 0: aload 0
ldc "VM settings:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: lload 5
lconst_0
lcmp
ifeq 5
2: aload 0
new java.lang.StringBuilder
dup
ldc " Stack Size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: lload 5
invokestatic sun.launcher.LauncherHelper$SizePrefix.scaleValue:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifeq 9
6: aload 0
new java.lang.StringBuilder
dup
ldc " Min. Heap Size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: lload 1
invokestatic sun.launcher.LauncherHelper$SizePrefix.scaleValue:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: StackMap locals:
StackMap stack:
lload 3
lconst_0
lcmp
ifeq 14
10: aload 0
new java.lang.StringBuilder
dup
ldc " Max. Heap Size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: lload 3
invokestatic sun.launcher.LauncherHelper$SizePrefix.scaleValue:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: goto 17
14: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc " Max. Heap Size (Estimated): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokevirtual java.lang.Runtime.maxMemory:()J
invokestatic sun.launcher.LauncherHelper$SizePrefix.scaleValue:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
17: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc " Ergonomics Machine Class: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: iload 7
ifeq 19
ldc "server"
goto 20
StackMap locals: java.io.PrintStream long long long int
StackMap stack: java.io.PrintStream java.lang.StringBuilder
19: ldc "client"
StackMap locals: java.io.PrintStream long long long int
StackMap stack: java.io.PrintStream java.lang.StringBuilder java.lang.String
20: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
22: aload 0
new java.lang.StringBuilder
dup
ldc " Using VM: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
23: ldc "java.vm.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
24: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
25: aload 0
invokevirtual java.io.PrintStream.println:()V
26: return
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 ostream Ljava/io/PrintStream;
0 27 1 initialHeapSize J
0 27 3 maxHeapSize J
0 27 5 stackSize J
0 27 7 isServer Z
MethodParameters:
Name Flags
ostream
initialHeapSize
maxHeapSize
stackSize
isServer
private static void printProperties(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: invokestatic java.lang.System.getProperties:()Ljava/util/Properties;
astore 1
start local 1 1: aload 0
ldc "Property settings:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 3: aload 2
aload 1
invokevirtual java.util.Properties.stringPropertyNames:()Ljava/util/Set;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
4: aload 2
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
5: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: java.io.PrintStream java.util.Properties java.util.List top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 7: aload 0
aload 3
aload 1
aload 3
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic sun.launcher.LauncherHelper.printPropertyValue:(Ljava/io/PrintStream;Ljava/lang/String;Ljava/lang/String;)V
end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 0
invokevirtual java.io.PrintStream.println:()V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 ostream Ljava/io/PrintStream;
1 11 1 p Ljava/util/Properties;
3 11 2 sortedPropertyKeys Ljava/util/List<Ljava/lang/String;>;
7 8 3 x Ljava/lang/String;
MethodParameters:
Name Flags
ostream
private static boolean isPath(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc ".dirs"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 1
aload 0
ldc ".path"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 key Ljava/lang/String;
MethodParameters:
Name Flags
key
private static void printPropertyValue(java.io.PrintStream, java.lang.String, java.lang.String);
descriptor: (Ljava/io/PrintStream;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
1: aload 1
ldc "line.separator"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
2: aload 2
invokevirtual java.lang.String.getBytes:()[B
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 11
StackMap locals: java.io.PrintStream java.lang.String java.lang.String top int int byte[]
StackMap stack:
3: aload 6
iload 4
baload
istore 3
start local 3 4: iload 3
tableswitch { // 10 - 13
10: 7
11: 9
12: 9
13: 5
default: 9
}
5: StackMap locals: java.io.PrintStream java.lang.String java.lang.String int int int byte[]
StackMap stack:
aload 0
ldc "\\r "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
6: goto 10
7: StackMap locals:
StackMap stack:
aload 0
ldc "\\n "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
ldc "0x%02X"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 3
sipush 255
iand
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual java.io.PrintStream.printf:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
end local 3 10: StackMap locals: java.io.PrintStream java.lang.String java.lang.String top int int byte[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 5
if_icmplt 3
12: aload 0
invokevirtual java.io.PrintStream.println:()V
13: return
14: StackMap locals: java.io.PrintStream java.lang.String java.lang.String
StackMap stack:
aload 1
invokestatic sun.launcher.LauncherHelper.isPath:(Ljava/lang/String;)Z
ifne 17
15: aload 0
aload 2
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
16: return
17: StackMap locals:
StackMap stack:
aload 2
ldc "path.separator"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 18: iconst_1
istore 4
start local 4 19: aload 3
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 27
StackMap locals: java.io.PrintStream java.lang.String java.lang.String java.lang.String[] int top int int java.lang.String[]
StackMap stack:
20: aload 8
iload 6
aaload
astore 5
start local 5 21: iload 4
ifeq 25
22: aload 0
aload 5
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
23: iconst_0
istore 4
24: goto 26
25: StackMap locals: java.io.PrintStream java.lang.String java.lang.String java.lang.String[] int java.lang.String int int java.lang.String[]
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
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
end local 5 26: StackMap locals: java.io.PrintStream java.lang.String java.lang.String java.lang.String[] int top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
27: iload 6
iload 7
if_icmplt 20
28: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 ostream Ljava/io/PrintStream;
0 29 1 key Ljava/lang/String;
0 29 2 value Ljava/lang/String;
4 10 3 b B
18 29 3 values [Ljava/lang/String;
19 29 4 first Z
21 26 5 s Ljava/lang/String;
MethodParameters:
Name Flags
ostream
key
value
private static void printLocale(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
astore 1
start local 1 1: aload 0
ldc "Locale settings:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: aload 0
new java.lang.StringBuilder
dup
ldc " default locale = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 1
invokevirtual java.util.Locale.getDisplayLanguage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: aload 0
new java.lang.StringBuilder
dup
ldc " default display locale = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: getstatic java.util.Locale$Category.DISPLAY:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
invokevirtual java.util.Locale.getDisplayName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
8: aload 0
new java.lang.StringBuilder
dup
ldc " default format locale = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
invokevirtual java.util.Locale.getDisplayName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
11: aload 0
invokestatic sun.launcher.LauncherHelper.printLocales:(Ljava/io/PrintStream;)V
12: aload 0
invokevirtual java.io.PrintStream.println:()V
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 ostream Ljava/io/PrintStream;
1 14 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
ostream
private static void printLocales(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=8, args_size=1
start local 0 0: invokestatic java.util.Locale.getAvailableLocales:()[Ljava/util/Locale;
astore 1
start local 1 1: aload 1
ifnonnull 2
iconst_0
goto 3
StackMap locals: java.util.Locale[]
StackMap stack:
2: aload 1
arraylength
StackMap locals:
StackMap stack: int
3: istore 2
start local 2 4: iload 2
iconst_1
if_icmpge 6
5: return
6: StackMap locals: int
StackMap stack:
new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
astore 3
start local 3 7: aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 11
StackMap locals: java.io.PrintStream java.util.Locale[] int java.util.Set top int int java.util.Locale[]
StackMap stack:
8: aload 7
iload 5
aaload
astore 4
start local 4 9: aload 3
aload 4
invokevirtual java.util.Locale.toString:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 4 10: iinc 5 1
StackMap locals:
StackMap stack:
11: iload 5
iload 6
if_icmplt 8
12: aload 0
ldc " available locales = "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
13: aload 3
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
start local 4 14: iload 2
iconst_1
isub
istore 5
start local 5 15: iconst_0
istore 6
start local 6 16: goto 25
17: StackMap locals: java.io.PrintStream java.util.Locale[] int java.util.Set java.util.Iterator int int
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 18: aload 0
aload 7
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
19: iload 6
iload 5
if_icmpeq 21
20: aload 0
ldc ", "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
21: StackMap locals: java.lang.String
StackMap stack:
iload 6
iconst_1
iadd
bipush 8
irem
ifne 24
22: aload 0
invokevirtual java.io.PrintStream.println:()V
23: aload 0
ldc " "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
end local 7 24: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
25: aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
end local 6 26: return
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 27 0 ostream Ljava/io/PrintStream;
1 27 1 tlocales [Ljava/util/Locale;
4 27 2 len I
7 27 3 sortedSet Ljava/util/Set<Ljava/lang/String;>;
9 10 4 l Ljava/util/Locale;
14 27 4 iter Ljava/util/Iterator<Ljava/lang/String;>;
15 27 5 last I
16 26 6 i I
18 24 7 s Ljava/lang/String;
MethodParameters:
Name Flags
ostream
private static java.lang.String getLocalizedMessage(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic sun.launcher.LauncherHelper$ResourceBundleHolder.RB:Ljava/util/ResourceBundle;
aload 0
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 1
ifnull 2
aload 2
aload 1
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 key Ljava/lang/String;
0 4 1 args [Ljava/lang/Object;
1 4 2 msg Ljava/lang/String;
MethodParameters:
Name Flags
key
args
static void initHelpMessage(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: getstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
ldc "java.launcher.opt.header"
iconst_1
anewarray java.lang.Object
dup
iconst_0
1: aload 0
ifnonnull 2
ldc "java"
goto 3
StackMap locals: java.lang.String
StackMap stack: java.lang.StringBuilder java.lang.String java.lang.Object[] java.lang.Object[] int
2: aload 0
StackMap locals: java.lang.String
StackMap stack: java.lang.StringBuilder java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
3: aastore
4: invokestatic sun.launcher.LauncherHelper.getLocalizedMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
putstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
5: getstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
ldc "java.launcher.opt.datamodel"
iconst_1
anewarray java.lang.Object
dup
iconst_0
6: bipush 32
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
7: invokestatic sun.launcher.LauncherHelper.getLocalizedMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
putstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
8: getstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
ldc "java.launcher.opt.datamodel"
iconst_1
anewarray java.lang.Object
dup
iconst_0
9: bipush 64
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
10: invokestatic sun.launcher.LauncherHelper.getLocalizedMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
putstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
11: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 progname Ljava/lang/String;
MethodParameters:
Name Flags
progname
static void appendVmSelectMessage(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
ldc "java.launcher.opt.vmselect"
iconst_2
anewarray java.lang.Object
dup
iconst_0
1: aload 0
aastore
dup
iconst_1
aload 1
aastore
2: invokestatic sun.launcher.LauncherHelper.getLocalizedMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
putstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 vm1 Ljava/lang/String;
0 4 1 vm2 Ljava/lang/String;
MethodParameters:
Name Flags
vm1
vm2
static void appendVmSynonymMessage(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
ldc "java.launcher.opt.hotspot"
iconst_2
anewarray java.lang.Object
dup
iconst_0
1: aload 0
aastore
dup
iconst_1
aload 1
aastore
2: invokestatic sun.launcher.LauncherHelper.getLocalizedMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
putstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 vm1 Ljava/lang/String;
0 4 1 vm2 Ljava/lang/String;
MethodParameters:
Name Flags
vm1
vm2
static void appendVmErgoMessage(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
ldc "java.launcher.ergo.message1"
iconst_1
anewarray java.lang.Object
dup
iconst_0
1: aload 1
aastore
2: invokestatic sun.launcher.LauncherHelper.getLocalizedMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
putstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
3: iload 0
ifeq 8
4: getstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
new java.lang.StringBuilder
dup
ldc ",\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: ldc "java.launcher.ergo.message2"
iconst_0
anewarray java.lang.Object
invokestatic sun.launcher.LauncherHelper.getLocalizedMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: goto 9
8: StackMap locals:
StackMap stack:
getstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
ldc ".\n\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: StackMap locals:
StackMap stack: java.lang.StringBuilder
putstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 isServerClass Z
0 11 1 vm Ljava/lang/String;
MethodParameters:
Name Flags
isServerClass
vm
static void printHelpMessage(boolean);
descriptor: (Z)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: iload 0
ifeq 1
getstatic java.lang.System.err:Ljava/io/PrintStream;
goto 2
StackMap locals:
StackMap stack:
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
StackMap locals:
StackMap stack: java.io.PrintStream
2: astore 1
start local 1 3: getstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
ldc "java.launcher.opt.footer"
iconst_1
anewarray java.lang.Object
dup
iconst_0
4: getstatic java.io.File.pathSeparator:Ljava/lang/String;
aastore
5: invokestatic sun.launcher.LauncherHelper.getLocalizedMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
putstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
6: aload 1
getstatic sun.launcher.LauncherHelper.outBuf:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 printToStderr Z
3 8 1 ostream Ljava/io/PrintStream;
MethodParameters:
Name Flags
printToStderr
static void printXUsageMessage(boolean);
descriptor: (Z)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: iload 0
ifeq 1
getstatic java.lang.System.err:Ljava/io/PrintStream;
goto 2
StackMap locals:
StackMap stack:
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
StackMap locals:
StackMap stack: java.io.PrintStream
2: astore 1
start local 1 3: aload 1
ldc "java.launcher.X.usage"
iconst_1
anewarray java.lang.Object
dup
iconst_0
4: getstatic java.io.File.pathSeparator:Ljava/lang/String;
aastore
5: invokestatic sun.launcher.LauncherHelper.getLocalizedMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: ldc "os.name"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ldc "OS X"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 10
7: aload 1
ldc "java.launcher.X.macosx.usage"
iconst_1
anewarray java.lang.Object
dup
iconst_0
8: getstatic java.io.File.pathSeparator:Ljava/lang/String;
aastore
9: invokestatic sun.launcher.LauncherHelper.getLocalizedMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: StackMap locals: java.io.PrintStream
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 printToStderr Z
3 11 1 ostream Ljava/io/PrintStream;
MethodParameters:
Name Flags
printToStderr
static java.lang.String getMainClassFromJar(java.io.PrintStream, java.lang.String);
descriptor: (Ljava/io/PrintStream;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: new java.util.jar.JarFile
dup
aload 1
invokespecial java.util.jar.JarFile.<init>:(Ljava/lang/String;)V
astore 2
2: aload 2
invokevirtual java.util.jar.JarFile.getManifest:()Ljava/util/jar/Manifest;
astore 3
start local 3 3: aload 3
ifnonnull 5
4: aload 0
aconst_null
ldc "java.launcher.jar.error2"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic sun.launcher.LauncherHelper.abort:(Ljava/io/PrintStream;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals: java.util.jar.JarFile java.util.jar.Manifest
StackMap stack:
aload 3
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
astore 4
start local 4 6: aload 4
ifnonnull 8
7: aload 0
aconst_null
ldc "java.launcher.jar.error3"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic sun.launcher.LauncherHelper.abort:(Ljava/io/PrintStream;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
8: StackMap locals: java.util.jar.Attributes
StackMap stack:
aload 4
ldc "Main-Class"
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 9: aload 5
ifnonnull 11
10: aload 0
aconst_null
ldc "java.launcher.jar.error3"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic sun.launcher.LauncherHelper.abort:(Ljava/io/PrintStream;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
11: StackMap locals: java.lang.String
StackMap stack:
aload 5
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 7
12: aload 2
ifnull 14
13: aload 2
invokevirtual java.util.jar.JarFile.close:()V
14: StackMap locals: java.io.PrintStream java.lang.String java.util.jar.JarFile java.util.jar.Manifest java.util.jar.Attributes java.lang.String top java.lang.String
StackMap stack:
aload 7
areturn
end local 5 end local 4 end local 3 15: StackMap locals: java.io.PrintStream java.lang.String java.util.jar.JarFile
StackMap stack: java.lang.Throwable
astore 6
16: aload 2
ifnull 18
17: aload 2
invokevirtual java.util.jar.JarFile.close:()V
18: StackMap locals: java.io.PrintStream java.lang.String java.util.jar.JarFile top top top java.lang.Throwable
StackMap stack:
aload 6
athrow
end local 2 19: StackMap locals: java.io.PrintStream java.lang.String
StackMap stack: java.io.IOException
astore 2
start local 2 20: aload 0
aload 2
ldc "java.launcher.jar.error1"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic sun.launcher.LauncherHelper.abort:(Ljava/io/PrintStream;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
end local 2 21: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 ostream Ljava/io/PrintStream;
0 22 1 jarname Ljava/lang/String;
1 19 2 jarFile Ljava/util/jar/JarFile;
3 15 3 manifest Ljava/util/jar/Manifest;
6 15 4 mainAttrs Ljava/util/jar/Attributes;
9 15 5 mainValue Ljava/lang/String;
20 21 2 ioe Ljava/io/IOException;
Exception table:
from to target type
1 12 15 any
0 14 19 Class java.io.IOException
15 19 19 Class java.io.IOException
MethodParameters:
Name Flags
ostream
jarname
static void abort(java.io.PrintStream, java.lang.Throwable, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/io/PrintStream;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 2
1: aload 0
aload 2
aload 3
invokestatic sun.launcher.LauncherHelper.getLocalizedMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
getstatic sun.launcher.LauncherHelper.trace:Z
ifeq 7
3: aload 1
ifnull 6
4: aload 1
invokevirtual java.lang.Throwable.printStackTrace:()V
5: goto 7
6: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.dumpStack:()V
7: StackMap locals:
StackMap stack:
iconst_1
invokestatic java.lang.System.exit:(I)V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 ostream Ljava/io/PrintStream;
0 9 1 t Ljava/lang/Throwable;
0 9 2 msgKey Ljava/lang/String;
0 9 3 args [Ljava/lang/Object;
MethodParameters:
Name Flags
ostream
t
msgKey
args
public static java.lang.Class<?> checkAndLoadMain(boolean, int, java.lang.String);
descriptor: (ZILjava/lang/String;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iload 0
ifeq 1
getstatic java.lang.System.err:Ljava/io/PrintStream;
goto 2
StackMap locals:
StackMap stack:
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
StackMap locals:
StackMap stack: java.io.PrintStream
2: astore 3
start local 3 3: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 4
start local 4 4: aconst_null
astore 5
start local 5 5: iload 1
tableswitch { // 1 - 2
1: 6
2: 8
default: 10
}
6: StackMap locals: java.io.PrintStream java.lang.ClassLoader java.lang.String
StackMap stack:
aload 2
astore 5
7: goto 11
8: StackMap locals:
StackMap stack:
aload 3
aload 2
invokestatic sun.launcher.LauncherHelper.getMainClassFromJar:(Ljava/io/PrintStream;Ljava/lang/String;)Ljava/lang/String;
astore 5
9: goto 11
10: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ": Unknown launch mode"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 5
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 5
12: aconst_null
astore 6
start local 6 13: aload 4
aload 5
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 6
14: goto 17
StackMap locals: int int java.lang.String java.io.PrintStream java.lang.ClassLoader java.lang.String java.lang.Class
StackMap stack: java.lang.ClassNotFoundException
15: astore 7
start local 7 16: aload 3
aload 7
ldc "java.launcher.cls.error1"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
invokestatic sun.launcher.LauncherHelper.abort:(Ljava/io/PrintStream;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
end local 7 17: StackMap locals:
StackMap stack:
aload 3
aload 6
invokestatic sun.launcher.LauncherHelper.getMainMethod:(Ljava/io/PrintStream;Ljava/lang/Class;)Ljava/lang/reflect/Method;
pop
18: aload 6
areturn
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 19 0 printToStderr Z
0 19 1 mode I
0 19 2 what Ljava/lang/String;
3 19 3 ostream Ljava/io/PrintStream;
4 19 4 ld Ljava/lang/ClassLoader;
5 19 5 cn Ljava/lang/String;
13 19 6 c Ljava/lang/Class<*>;
16 17 7 cnfe Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
13 14 15 Class java.lang.ClassNotFoundException
Signature: (ZILjava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
printToStderr
mode
what
static java.lang.reflect.Method getMainMethod(java.io.PrintStream, java.lang.Class<?>);
descriptor: (Ljava/io/PrintStream;Ljava/lang/Class;)Ljava/lang/reflect/Method;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 1
ldc "main"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc [Ljava/lang/String;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 3
3: goto 6
StackMap locals: java.io.PrintStream java.lang.Class java.lang.String java.lang.reflect.Method
StackMap stack: java.lang.NoSuchMethodException
4: pop
5: aload 0
aconst_null
ldc "java.launcher.cls.error4"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokestatic sun.launcher.LauncherHelper.abort:(Ljava/io/PrintStream;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.reflect.Method.getModifiers:()I
istore 4
start local 4 7: iload 4
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ifne 9
8: aload 0
aconst_null
ldc "java.launcher.cls.error2"
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "static"
aastore
dup
iconst_1
aload 2
aastore
invokestatic sun.launcher.LauncherHelper.abort:(Ljava/io/PrintStream;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
9: StackMap locals: int
StackMap stack:
aload 3
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpeq 11
10: aload 0
aconst_null
ldc "java.launcher.cls.error3"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokestatic sun.launcher.LauncherHelper.abort:(Ljava/io/PrintStream;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 ostream Ljava/io/PrintStream;
0 12 1 clazz Ljava/lang/Class<*>;
1 12 2 classname Ljava/lang/String;
2 12 3 method Ljava/lang/reflect/Method;
7 12 4 mod I
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchMethodException
Signature: (Ljava/io/PrintStream;Ljava/lang/Class<*>;)Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
ostream
clazz
static java.lang.String makePlatformString(boolean, byte[]);
descriptor: (Z[B)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: iload 0
ifeq 1
getstatic java.lang.System.err:Ljava/io/PrintStream;
goto 2
StackMap locals:
StackMap stack:
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
StackMap locals:
StackMap stack: java.io.PrintStream
2: astore 2
start local 2 3: getstatic sun.launcher.LauncherHelper.encoding:Ljava/lang/String;
ifnonnull 6
4: ldc "sun.jnu.encoding"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
putstatic sun.launcher.LauncherHelper.encoding:Ljava/lang/String;
5: getstatic sun.launcher.LauncherHelper.encoding:Ljava/lang/String;
invokestatic java.nio.charset.Charset.isSupported:(Ljava/lang/String;)Z
putstatic sun.launcher.LauncherHelper.isCharsetSupported:Z
6: StackMap locals: java.io.PrintStream
StackMap stack:
getstatic sun.launcher.LauncherHelper.isCharsetSupported:Z
ifeq 8
7: new java.lang.String
dup
aload 1
getstatic sun.launcher.LauncherHelper.encoding:Ljava/lang/String;
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
goto 9
8: StackMap locals:
StackMap stack:
new java.lang.String
dup
aload 1
invokespecial java.lang.String.<init>:([B)V
9: StackMap locals:
StackMap stack: java.lang.String
astore 3
start local 3 10: aload 3
11: areturn
end local 3 12: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
astore 3
start local 3 13: aload 2
aload 3
aconst_null
iconst_0
anewarray java.lang.Object
invokestatic sun.launcher.LauncherHelper.abort:(Ljava/io/PrintStream;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/Object;)V
end local 3 14: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 printToStderr Z
0 15 1 inArray [B
3 15 2 ostream Ljava/io/PrintStream;
10 12 3 out Ljava/lang/String;
13 14 3 uee Ljava/io/UnsupportedEncodingException;
Exception table:
from to target type
6 11 12 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
printToStderr
inArray
static java.lang.String[] expandArgs(java.lang.String[]);
descriptor: ([Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: java.lang.String[] java.util.List top int int java.lang.String[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 1
new sun.launcher.LauncherHelper$StdArg
dup
aload 2
invokespecial sun.launcher.LauncherHelper$StdArg.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 2
6: aload 1
invokestatic sun.launcher.LauncherHelper.expandArgs:(Ljava/util/List;)[Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 argArray [Ljava/lang/String;
1 7 1 aList Ljava/util/List<Lsun/launcher/LauncherHelper$StdArg;>;
3 4 2 x Ljava/lang/String;
MethodParameters:
Name Flags
argArray
static java.lang.String[] expandArgs(java.util.List<sun.launcher.LauncherHelper$StdArg>);
descriptor: (Ljava/util/List;)[Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=13, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: getstatic sun.launcher.LauncherHelper.trace:Z
ifeq 3
2: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Incoming arguments:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: StackMap locals: java.util.ArrayList
StackMap stack:
aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 37
StackMap locals: java.util.List java.util.ArrayList top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.launcher.LauncherHelper$StdArg
astore 2
start local 2 5: getstatic sun.launcher.LauncherHelper.trace:Z
ifeq 7
6: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 2
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
7: StackMap locals: java.util.List java.util.ArrayList sun.launcher.LauncherHelper$StdArg java.util.Iterator
StackMap stack:
aload 2
getfield sun.launcher.LauncherHelper$StdArg.needsExpansion:Z
ifeq 36
8: new java.io.File
dup
aload 2
getfield sun.launcher.LauncherHelper$StdArg.arg:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
start local 4 9: aload 4
invokevirtual java.io.File.getParentFile:()Ljava/io/File;
astore 5
start local 5 10: aload 4
invokevirtual java.io.File.getName:()Ljava/lang/String;
astore 6
start local 6 11: aload 5
ifnonnull 13
12: new java.io.File
dup
ldc "."
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 5
13: StackMap locals: java.io.File java.io.File java.lang.String
StackMap stack:
aconst_null
astore 7
aconst_null
astore 8
14: aload 5
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
aload 6
invokestatic java.nio.file.Files.newDirectoryStream:(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/DirectoryStream;
15: astore 9
start local 9 16: iconst_0
istore 10
start local 10 17: aload 9
invokeinterface java.nio.file.DirectoryStream.iterator:()Ljava/util/Iterator;
astore 12
goto 21
StackMap locals: java.util.List java.util.ArrayList sun.launcher.LauncherHelper$StdArg java.util.Iterator java.io.File java.io.File java.lang.String java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream int top java.util.Iterator
StackMap stack:
18: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.nio.file.Path
astore 11
start local 11 19: aload 1
aload 11
invokeinterface java.nio.file.Path.normalize:()Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
20: iinc 10 1
end local 11 21: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 18
22: iload 10
ifne 24
23: aload 1
aload 2
getfield sun.launcher.LauncherHelper$StdArg.arg:Ljava/lang/String;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 10 24: StackMap locals: java.util.List java.util.ArrayList sun.launcher.LauncherHelper$StdArg java.util.Iterator java.io.File java.io.File java.lang.String java.lang.Throwable java.lang.Throwable java.nio.file.DirectoryStream
StackMap stack:
aload 9
ifnull 37
aload 9
invokeinterface java.nio.file.DirectoryStream.close:()V
goto 37
StackMap locals:
StackMap stack: java.lang.Throwable
25: astore 7
aload 9
ifnull 26
aload 9
invokeinterface java.nio.file.DirectoryStream.close:()V
end local 9 StackMap locals:
StackMap stack:
26: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
27: astore 8
aload 7
ifnonnull 28
aload 8
astore 7
goto 29
StackMap locals:
StackMap stack:
28: aload 7
aload 8
if_acmpeq 29
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
29: aload 7
athrow
StackMap locals: java.util.List java.util.ArrayList sun.launcher.LauncherHelper$StdArg java.util.Iterator java.io.File java.io.File java.lang.String
StackMap stack: java.lang.Exception
30: astore 7
start local 7 31: aload 1
aload 2
getfield sun.launcher.LauncherHelper$StdArg.arg:Ljava/lang/String;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
32: getstatic sun.launcher.LauncherHelper.trace:Z
ifeq 37
33: getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Warning: passing argument as-is "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
34: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 7
invokevirtual java.io.PrintStream.print:(Ljava/lang/Object;)V
end local 7 end local 6 end local 5 end local 4 35: goto 37
36: StackMap locals:
StackMap stack:
aload 1
aload 2
getfield sun.launcher.LauncherHelper$StdArg.arg:Ljava/lang/String;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 2 37: StackMap locals: java.util.List java.util.ArrayList top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
38: aload 1
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.String
astore 2
start local 2 39: aload 1
aload 2
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
40: getstatic sun.launcher.LauncherHelper.trace:Z
ifeq 47
41: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Expanded arguments:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
42: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 46
StackMap locals: java.util.List java.util.ArrayList java.lang.String[] top int int java.lang.String[]
StackMap stack:
43: aload 6
iload 4
aaload
astore 3
start local 3 44: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 3
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 3 45: iinc 4 1
StackMap locals:
StackMap stack:
46: iload 4
iload 5
if_icmplt 43
47: StackMap locals: java.util.List java.util.ArrayList java.lang.String[]
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 argList Ljava/util/List<Lsun/launcher/LauncherHelper$StdArg;>;
1 48 1 out Ljava/util/ArrayList<Ljava/lang/String;>;
5 37 2 a Lsun/launcher/LauncherHelper$StdArg;
9 35 4 x Ljava/io/File;
10 35 5 parent Ljava/io/File;
11 35 6 glob Ljava/lang/String;
16 26 9 dstream Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
17 24 10 entries I
19 21 11 p Ljava/nio/file/Path;
31 35 7 e Ljava/lang/Exception;
39 48 2 oarray [Ljava/lang/String;
44 45 3 x Ljava/lang/String;
Exception table:
from to target type
16 24 25 any
14 27 27 any
13 30 30 Class java.lang.Exception
Signature: (Ljava/util/List<Lsun/launcher/LauncherHelper$StdArg;>;)[Ljava/lang/String;
MethodParameters:
Name Flags
argList
public static sun.launcher.LauncherHelper[] values();
descriptor: ()[Lsun/launcher/LauncherHelper;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic sun.launcher.LauncherHelper.ENUM$VALUES:[Lsun/launcher/LauncherHelper;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray sun.launcher.LauncherHelper
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static sun.launcher.LauncherHelper valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/launcher/LauncherHelper;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lsun/launcher/LauncherHelper;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast sun.launcher.LauncherHelper
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lsun/launcher/LauncherHelper;>;
SourceFile: "LauncherHelper.java"
NestMembers:
sun.launcher.LauncherHelper$ResourceBundleHolder sun.launcher.LauncherHelper$SizePrefix sun.launcher.LauncherHelper$StdArg
InnerClasses:
public final Category = java.util.Locale$Category of java.util.Locale
private ResourceBundleHolder = sun.launcher.LauncherHelper$ResourceBundleHolder of sun.launcher.LauncherHelper
private final SizePrefix = sun.launcher.LauncherHelper$SizePrefix of sun.launcher.LauncherHelper
private StdArg = sun.launcher.LauncherHelper$StdArg of sun.launcher.LauncherHelper