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 diagprop;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "sun.java.launcher.diag"
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 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 long K;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
private static final long M;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1048576
private static final long G;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1073741824
private static final long T;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1099511627776
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: aconst_null
putstatic sun.launcher.LauncherHelper.encoding:Ljava/lang/String;
3: 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, boolean);
descriptor: (ZLjava/lang/String;JJZ)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 6 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 7
start local 7 3: aload 1
ldc ":"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 8
start local 8 4: aload 8
arraylength
iconst_1
if_icmple 6
aload 8
iconst_1
aaload
ifnull 6
5: aload 8
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 9
start local 9 8: ldc "vm"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
9: aload 7
lload 2
lload 4
iload 6
invokestatic sun.launcher.LauncherHelper.printVmSettings:(Ljava/io/PrintStream;JJZ)V
10: goto 20
StackMap locals: java.lang.String
StackMap stack:
11: ldc "properties"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: aload 7
invokestatic sun.launcher.LauncherHelper.printProperties:(Ljava/io/PrintStream;)V
13: goto 20
StackMap locals:
StackMap stack:
14: ldc "locale"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: aload 7
invokestatic sun.launcher.LauncherHelper.printLocale:(Ljava/io/PrintStream;)V
16: goto 20
17: StackMap locals:
StackMap stack:
aload 7
lload 2
lload 4
iload 6
invokestatic sun.launcher.LauncherHelper.printVmSettings:(Ljava/io/PrintStream;JJZ)V
18: aload 7
invokestatic sun.launcher.LauncherHelper.printProperties:(Ljava/io/PrintStream;)V
19: aload 7
invokestatic sun.launcher.LauncherHelper.printLocale:(Ljava/io/PrintStream;)V
20: StackMap locals:
StackMap stack:
return
end local 9 end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 printToStderr Z
0 21 1 optionFlag Ljava/lang/String;
0 21 2 maxHeapSize J
0 21 4 stackSize J
0 21 6 isServer Z
3 21 7 ostream Ljava/io/PrintStream;
4 21 8 opts [Ljava/lang/String;
8 21 9 optStr Ljava/lang/String;
MethodParameters:
Name Flags
printToStderr
optionFlag
maxHeapSize
stackSize
isServer
private static void printVmSettings(java.io.PrintStream, long, long, boolean);
descriptor: (Ljava/io/PrintStream;JJZ)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
ldc "VM settings:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: lload 3
lconst_0
lcmp
ifeq 3
2: aload 0
new java.lang.StringBuilder
dup
ldc " Stack Size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 3
l2d
invokestatic sun.launcher.LauncherHelper.scaleValue:(D)Ljava/lang/String;
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
3: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifeq 6
4: aload 0
new java.lang.StringBuilder
dup
ldc " Max. Heap Size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
l2d
invokestatic sun.launcher.LauncherHelper.scaleValue:(D)Ljava/lang/String;
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
5: goto 9
6: 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
7: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
invokevirtual java.lang.Runtime.maxMemory:()J
l2d
invokestatic sun.launcher.LauncherHelper.scaleValue:(D)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:
aload 0
new java.lang.StringBuilder
dup
ldc " Ergonomics Machine Class: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: iload 5
ifeq 11
ldc "server"
goto 12
StackMap locals: java.io.PrintStream long long int
StackMap stack: java.io.PrintStream java.lang.StringBuilder
11: ldc "client"
StackMap locals: java.io.PrintStream long long int
StackMap stack: java.io.PrintStream java.lang.StringBuilder java.lang.String
12: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: aload 0
new java.lang.StringBuilder
dup
ldc " Using VM: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: 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;
16: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
17: aload 0
invokevirtual java.io.PrintStream.println:()V
18: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 ostream Ljava/io/PrintStream;
0 19 1 maxHeapSize J
0 19 3 stackSize J
0 19 5 isServer Z
MethodParameters:
Name Flags
ostream
maxHeapSize
stackSize
isServer
private static java.lang.String scaleValue(double);
descriptor: (D)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=3, args_size=1
start local 0 0: new java.math.MathContext
dup
iconst_3
getstatic java.math.RoundingMode.HALF_EVEN:Ljava/math/RoundingMode;
invokespecial java.math.MathContext.<init>:(ILjava/math/RoundingMode;)V
astore 2
start local 2 1: dload 0
ldc 1024.0
dcmpl
iflt 3
dload 0
ldc 1048576.0
dcmpg
ifge 3
2: new java.lang.StringBuilder
dup
new java.math.BigDecimal
dup
dload 0
ldc 1024.0
ddiv
aload 2
invokespecial java.math.BigDecimal.<init>:(DLjava/math/MathContext;)V
invokevirtual java.math.BigDecimal.toPlainString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "K"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
3: StackMap locals: java.math.MathContext
StackMap stack:
dload 0
ldc 1048576.0
dcmpl
iflt 5
dload 0
ldc 1.073741824E9
dcmpg
ifge 5
4: new java.lang.StringBuilder
dup
new java.math.BigDecimal
dup
dload 0
ldc 1048576.0
ddiv
aload 2
invokespecial java.math.BigDecimal.<init>:(DLjava/math/MathContext;)V
invokevirtual java.math.BigDecimal.toPlainString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "M"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
dload 0
ldc 1.073741824E9
dcmpl
iflt 7
dload 0
ldc 1.099511627776E12
dcmpg
ifge 7
6: new java.lang.StringBuilder
dup
new java.math.BigDecimal
dup
dload 0
ldc 1.073741824E9
ddiv
aload 2
invokespecial java.math.BigDecimal.<init>:(DLjava/math/MathContext;)V
invokevirtual java.math.BigDecimal.toPlainString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "G"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
7: StackMap locals:
StackMap stack:
dload 0
ldc 1.099511627776E12
dcmpl
iflt 9
8: new java.lang.StringBuilder
dup
new java.math.BigDecimal
dup
dload 0
ldc 1.099511627776E12
ddiv
aload 2
invokespecial java.math.BigDecimal.<init>:(DLjava/math/MathContext;)V
invokevirtual java.math.BigDecimal.toPlainString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "T"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
9: StackMap locals:
StackMap stack:
ldc "%.0f"
iconst_1
anewarray java.lang.Object
dup
iconst_0
dload 0
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 v D
1 10 2 mc2 Ljava/math/MathContext;
MethodParameters:
Name Flags
v
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=8, 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 15
2: aload 2
invokevirtual java.lang.String.getBytes:()[B
astore 3
start local 3 3: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 12
StackMap locals: java.io.PrintStream java.lang.String java.lang.String byte[] top int int byte[]
StackMap stack:
4: aload 7
iload 5
baload
istore 4
start local 4 5: iload 4
tableswitch { // 10 - 13
10: 8
11: 10
12: 10
13: 6
default: 10
}
6: StackMap locals: java.io.PrintStream java.lang.String java.lang.String byte[] int int int byte[]
StackMap stack:
aload 0
ldc "CR "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
7: goto 11
8: StackMap locals:
StackMap stack:
aload 0
ldc "LF "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
ldc "0x%02X"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 4
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 4 11: StackMap locals: java.io.PrintStream java.lang.String java.lang.String byte[] top int int byte[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
iload 6
if_icmplt 4
13: aload 0
invokevirtual java.io.PrintStream.println:()V
14: return
end local 3 15: 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 18
16: aload 0
aload 2
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
17: return
18: 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 19: aload 3
arraylength
istore 4
start local 4 20: iconst_0
istore 5
start local 5 21: goto 28
22: StackMap locals: java.lang.String[] int int
StackMap stack:
iload 5
ifne 25
23: aload 0
aload 3
iload 5
aaload
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
24: goto 27
25: StackMap locals:
StackMap stack:
aload 0
ldc " "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
26: aload 0
aload 3
iload 5
aaload
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
27: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
28: iload 5
iload 4
if_icmplt 22
end local 5 29: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 ostream Ljava/io/PrintStream;
0 30 1 key Ljava/lang/String;
0 30 2 value Ljava/lang/String;
3 15 3 bytes [B
5 11 4 b B
19 30 3 values [Ljava/lang/String;
20 30 4 len I
21 29 5 i I
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
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;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: aload 0
invokestatic sun.launcher.LauncherHelper.printLocales:(Ljava/io/PrintStream;)V
4: aload 0
invokevirtual java.io.PrintStream.println:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ostream Ljava/io/PrintStream;
1 6 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=3, locals=5, 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:
aload 0
ldc " available locales = "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
7: iload 2
iconst_1
isub
istore 3
start local 3 8: iconst_0
istore 4
start local 4 9: goto 17
10: StackMap locals: int int
StackMap stack:
aload 0
aload 1
iload 4
aaload
invokevirtual java.io.PrintStream.print:(Ljava/lang/Object;)V
11: iload 4
iload 3
if_icmpeq 13
12: aload 0
ldc ", "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
iload 4
iconst_1
iadd
bipush 8
irem
ifne 16
14: aload 0
invokevirtual java.io.PrintStream.println:()V
15: aload 0
ldc " "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
16: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
17: iload 4
iload 3
if_icmplt 10
end local 4 18: aload 0
aload 1
iload 3
aaload
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
19: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 ostream Ljava/io/PrintStream;
1 20 1 locales [Ljava/util/Locale;
4 20 2 len I
8 20 3 last I
9 18 4 i I
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: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 printToStderr Z
3 7 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=7, 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;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 6
9: aload 2
ifnull 11
10: aload 2
invokevirtual java.util.jar.JarFile.close:()V
11: StackMap locals: java.io.PrintStream java.lang.String java.util.jar.JarFile java.util.jar.Manifest java.util.jar.Attributes top java.lang.String
StackMap stack:
aload 6
areturn
end local 4 end local 3 12: StackMap locals: java.io.PrintStream java.lang.String java.util.jar.JarFile
StackMap stack: java.lang.Throwable
astore 5
13: aload 2
ifnull 15
14: aload 2
invokevirtual java.util.jar.JarFile.close:()V
15: StackMap locals: java.io.PrintStream java.lang.String java.util.jar.JarFile top top java.lang.Throwable
StackMap stack:
aload 5
athrow
end local 2 16: StackMap locals: java.io.PrintStream java.lang.String
StackMap stack: java.io.IOException
astore 2
start local 2 17: 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 18: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 ostream Ljava/io/PrintStream;
0 19 1 jarname Ljava/lang/String;
1 16 2 jarFile Ljava/util/jar/JarFile;
3 12 3 manifest Ljava/util/jar/Manifest;
6 12 4 mainAttrs Ljava/util/jar/Attributes;
17 18 2 ioe Ljava/io/IOException;
Exception table:
from to target type
1 9 12 any
0 11 16 Class java.io.IOException
12 16 16 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:
ldc "sun.java.launcher.diag"
invokestatic sun.misc.VM.getSavedProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnull 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.currentThread:()Ljava/lang/Thread;
pop
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.Object checkAndLoadMain(boolean, boolean, java.lang.String);
descriptor: (ZZLjava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: iload 0
ifeq 2
getstatic java.lang.System.err:Ljava/io/PrintStream;
goto 3
StackMap locals: java.lang.Class
StackMap stack:
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
StackMap locals:
StackMap stack: java.io.PrintStream
3: astore 4
start local 4 4: iload 1
ifeq 5
aload 4
aload 2
invokestatic sun.launcher.LauncherHelper.getMainClassFromJar:(Ljava/io/PrintStream;Ljava/lang/String;)Ljava/lang/String;
goto 6
StackMap locals: java.io.PrintStream
StackMap stack:
5: aload 2
StackMap locals:
StackMap stack: java.lang.String
6: astore 5
start local 5 7: aload 5
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 5
8: invokestatic java.lang.ClassLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 6
start local 6 9: aload 6
aload 5
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
astore 3
10: goto 13
StackMap locals: int int java.lang.String java.lang.Class java.io.PrintStream java.lang.String java.lang.ClassLoader
StackMap stack: java.lang.ClassNotFoundException
11: astore 7
start local 7 12: aload 4
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 13: StackMap locals:
StackMap stack:
aload 4
aload 3
invokestatic sun.launcher.LauncherHelper.getMainMethod:(Ljava/io/PrintStream;Ljava/lang/Class;)Ljava/lang/reflect/Method;
pop
14: aload 3
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 15 0 printToStderr Z
0 15 1 isJar Z
0 15 2 name Ljava/lang/String;
1 15 3 clazz Ljava/lang/Class<*>;
4 15 4 ostream Ljava/io/PrintStream;
7 15 5 classname Ljava/lang/String;
9 15 6 loader Ljava/lang/ClassLoader;
12 13 7 cnfe Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
9 10 11 Class java.lang.ClassNotFoundException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
printToStderr
isJar
name
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
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
InnerClasses:
private ResourceBundleHolder = sun.launcher.LauncherHelper$ResourceBundleHolder of sun.launcher.LauncherHelper