public class sun.rmi.rmic.Main implements sun.rmi.rmic.Constants
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.rmi.rmic.Main
super_class: java.lang.Object
{
java.lang.String sourcePathArg;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String sysClassPathArg;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String classPathString;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.io.File destDir;
descriptor: Ljava/io/File;
flags: (0x0000)
int flags;
descriptor: I
flags: (0x0000)
long tm;
descriptor: J
flags: (0x0000)
java.util.Vector<java.lang.String> classes;
descriptor: Ljava/util/Vector;
flags: (0x0000)
Signature: Ljava/util/Vector<Ljava/lang/String;>;
boolean nowrite;
descriptor: Z
flags: (0x0000)
boolean nocompile;
descriptor: Z
flags: (0x0000)
boolean keepGenerated;
descriptor: Z
flags: (0x0000)
boolean status;
descriptor: Z
flags: (0x0000)
java.lang.String[] generatorArgs;
descriptor: [Ljava/lang/String;
flags: (0x0000)
java.util.Vector<sun.rmi.rmic.Generator> generators;
descriptor: Ljava/util/Vector;
flags: (0x0000)
Signature: Ljava/util/Vector<Lsun/rmi/rmic/Generator;>;
java.lang.Class<? extends sun.rmi.rmic.BatchEnvironment> environmentClass;
descriptor: Ljava/lang/Class;
flags: (0x0000)
Signature: Ljava/lang/Class<+Lsun/rmi/rmic/BatchEnvironment;>;
boolean iiopGeneration;
descriptor: Z
flags: (0x0000)
java.lang.String program;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.io.OutputStream out;
descriptor: Ljava/io/OutputStream;
flags: (0x0000)
private static boolean resourcesInitialized;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.ResourceBundle resources;
descriptor: Ljava/util/ResourceBundle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.ResourceBundle resourcesExt;
descriptor: Ljava/util/ResourceBundle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
putstatic sun.rmi.rmic.Main.resourcesInitialized:Z
1: aconst_null
putstatic sun.rmi.rmic.Main.resourcesExt:Ljava/util/ResourceBundle;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.io.OutputStream, java.lang.String);
descriptor: (Ljava/io/OutputStream;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: ldc Lsun/rmi/rmic/BatchEnvironment;
putfield sun.rmi.rmic.Main.environmentClass:Ljava/lang/Class;
3: aload 0
iconst_0
putfield sun.rmi.rmic.Main.iiopGeneration:Z
4: aload 0
aload 1
putfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
5: aload 0
aload 2
putfield sun.rmi.rmic.Main.program:Ljava/lang/String;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/rmi/rmic/Main;
0 7 1 out Ljava/io/OutputStream;
0 7 2 program Ljava/lang/String;
MethodParameters:
Name Flags
out
program
public void output(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
instanceof java.io.PrintStream
ifeq 1
aload 0
getfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
checkcast java.io.PrintStream
goto 2
1: StackMap locals:
StackMap stack:
new java.io.PrintStream
dup
aload 0
getfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
iconst_1
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;Z)V
2: StackMap locals:
StackMap stack: java.io.PrintStream
astore 2
start local 2 3: aload 2
aload 1
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/rmi/rmic/Main;
0 5 1 msg Ljava/lang/String;
3 5 2 out Ljava/io/PrintStream;
MethodParameters:
Name Flags
msg
public void error(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.rmi.rmic.Main.output:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/rmic/Main;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg
public void error(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.rmi.rmic.Main.output:(Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/rmic/Main;
0 2 1 msg Ljava/lang/String;
0 2 2 arg1 Ljava/lang/String;
MethodParameters:
Name Flags
msg
arg1
public void error(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.rmi.rmic.Main.output:(Ljava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/rmic/Main;
0 2 1 msg Ljava/lang/String;
0 2 2 arg1 Ljava/lang/String;
0 2 3 arg2 Ljava/lang/String;
MethodParameters:
Name Flags
msg
arg1
arg2
public void usage();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "rmic.usage"
aload 0
getfield sun.rmi.rmic.Main.program:Ljava/lang/String;
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/rmic/Main;
public synchronized boolean compile(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.rmi.rmic.Main.parseArgs:([Ljava/lang/String;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.rmic.Main.classes:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ifne 5
3: aload 0
invokevirtual sun.rmi.rmic.Main.usage:()V
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.rmic.Main.flags:I
iconst_4
iand
ifeq 12
6: aload 0
getfield sun.rmi.rmic.Main.generators:Ljava/util/Vector;
invokevirtual java.util.Vector.iterator:()Ljava/util/Iterator;
astore 3
goto 11
StackMap locals: sun.rmi.rmic.Main java.lang.String[] top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.rmi.rmic.Generator
astore 2
start local 2 8: aload 2
instanceof sun.rmi.rmic.RMIGenerator
ifeq 11
9: aload 0
ldc "rmic.jrmp.stubs.deprecated"
aload 0
getfield sun.rmi.rmic.Main.program:Ljava/lang/String;
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.rmi.rmic.Main.output:(Ljava/lang/String;)V
10: goto 12
end local 2 11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
12: StackMap locals: sun.rmi.rmic.Main java.lang.String[]
StackMap stack:
aload 0
invokevirtual sun.rmi.rmic.Main.doCompile:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/rmi/rmic/Main;
0 13 1 argv [Ljava/lang/String;
8 11 2 g Lsun/rmi/rmic/Generator;
MethodParameters:
Name Flags
argv
public java.io.File getDestinationDir();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.rmic.Main.destDir:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/Main;
public boolean parseArgs(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
putfield sun.rmi.rmic.Main.sourcePathArg:Ljava/lang/String;
1: aload 0
aconst_null
putfield sun.rmi.rmic.Main.sysClassPathArg:Ljava/lang/String;
2: aload 0
aconst_null
putfield sun.rmi.rmic.Main.classPathString:Ljava/lang/String;
3: aload 0
aconst_null
putfield sun.rmi.rmic.Main.destDir:Ljava/io/File;
4: aload 0
iconst_4
putfield sun.rmi.rmic.Main.flags:I
5: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield sun.rmi.rmic.Main.tm:J
6: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.rmi.rmic.Main.classes:Ljava/util/Vector;
7: aload 0
iconst_0
putfield sun.rmi.rmic.Main.nowrite:Z
8: aload 0
iconst_0
putfield sun.rmi.rmic.Main.nocompile:Z
9: aload 0
iconst_0
putfield sun.rmi.rmic.Main.keepGenerated:Z
10: aload 0
aload 0
ldc "generator.args"
iconst_1
invokevirtual sun.rmi.rmic.Main.getArray:(Ljava/lang/String;Z)[Ljava/lang/String;
putfield sun.rmi.rmic.Main.generatorArgs:[Ljava/lang/String;
11: aload 0
getfield sun.rmi.rmic.Main.generatorArgs:[Ljava/lang/String;
ifnonnull 13
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.rmi.rmic.Main.generators:Ljava/util/Vector;
14: aload 1
invokestatic sun.tools.util.CommandLine.parse:([Ljava/lang/String;)[Ljava/lang/String;
astore 1
15: goto 25
StackMap locals:
StackMap stack: java.io.FileNotFoundException
16: astore 2
start local 2 17: aload 0
ldc "rmic.cant.read"
aload 2
invokevirtual java.io.FileNotFoundException.getMessage:()Ljava/lang/String;
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
18: iconst_0
ireturn
end local 2 19: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 20: aload 2
aload 0
getfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
instanceof java.io.PrintStream
ifeq 22
21: aload 0
getfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
checkcast java.io.PrintStream
goto 23
22: StackMap locals: sun.rmi.rmic.Main java.lang.String[] java.io.IOException
StackMap stack: java.io.IOException
new java.io.PrintStream
dup
aload 0
getfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
iconst_1
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;Z)V
23: StackMap locals: sun.rmi.rmic.Main java.lang.String[] java.io.IOException
StackMap stack: java.io.IOException java.io.PrintStream
invokevirtual java.io.IOException.printStackTrace:(Ljava/io/PrintStream;)V
24: iconst_0
ireturn
end local 2 25: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 26: goto 132
27: StackMap locals: int
StackMap stack:
aload 1
iload 2
aaload
ifnull 131
28: aload 1
iload 2
aaload
ldc "-g"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 33
29: aload 0
dup
getfield sun.rmi.rmic.Main.flags:I
sipush -16385
iand
putfield sun.rmi.rmic.Main.flags:I
30: aload 0
dup
getfield sun.rmi.rmic.Main.flags:I
sipush 12288
ior
putfield sun.rmi.rmic.Main.flags:I
31: aload 1
iload 2
aconst_null
aastore
32: goto 131
StackMap locals:
StackMap stack:
33: aload 1
iload 2
aaload
ldc "-O"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 39
34: aload 0
dup
getfield sun.rmi.rmic.Main.flags:I
sipush -4097
iand
putfield sun.rmi.rmic.Main.flags:I
35: aload 0
dup
getfield sun.rmi.rmic.Main.flags:I
sipush -8193
iand
putfield sun.rmi.rmic.Main.flags:I
36: aload 0
dup
getfield sun.rmi.rmic.Main.flags:I
sipush 16416
ior
putfield sun.rmi.rmic.Main.flags:I
37: aload 1
iload 2
aconst_null
aastore
38: goto 131
StackMap locals:
StackMap stack:
39: aload 1
iload 2
aaload
ldc "-nowarn"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 43
40: aload 0
dup
getfield sun.rmi.rmic.Main.flags:I
bipush -5
iand
putfield sun.rmi.rmic.Main.flags:I
41: aload 1
iload 2
aconst_null
aastore
42: goto 131
StackMap locals:
StackMap stack:
43: aload 1
iload 2
aaload
ldc "-debug"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 47
44: aload 0
dup
getfield sun.rmi.rmic.Main.flags:I
iconst_2
ior
putfield sun.rmi.rmic.Main.flags:I
45: aload 1
iload 2
aconst_null
aastore
46: goto 131
StackMap locals:
StackMap stack:
47: aload 1
iload 2
aaload
ldc "-depend"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 51
48: aload 0
dup
getfield sun.rmi.rmic.Main.flags:I
bipush 32
ior
putfield sun.rmi.rmic.Main.flags:I
49: aload 1
iload 2
aconst_null
aastore
50: goto 131
StackMap locals:
StackMap stack:
51: aload 1
iload 2
aaload
ldc "-verbose"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 55
52: aload 0
dup
getfield sun.rmi.rmic.Main.flags:I
iconst_1
ior
putfield sun.rmi.rmic.Main.flags:I
53: aload 1
iload 2
aconst_null
aastore
54: goto 131
StackMap locals:
StackMap stack:
55: aload 1
iload 2
aaload
ldc "-nowrite"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 59
56: aload 0
iconst_1
putfield sun.rmi.rmic.Main.nowrite:Z
57: aload 1
iload 2
aconst_null
aastore
58: goto 131
StackMap locals:
StackMap stack:
59: aload 1
iload 2
aaload
ldc "-Xnocompile"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 64
60: aload 0
iconst_1
putfield sun.rmi.rmic.Main.nocompile:Z
61: aload 0
iconst_1
putfield sun.rmi.rmic.Main.keepGenerated:Z
62: aload 1
iload 2
aconst_null
aastore
63: goto 131
StackMap locals:
StackMap stack:
64: aload 1
iload 2
aaload
ldc "-keep"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 66
65: aload 1
iload 2
aaload
ldc "-keepgenerated"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 69
66: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.rmi.rmic.Main.keepGenerated:Z
67: aload 1
iload 2
aconst_null
aastore
68: goto 131
StackMap locals:
StackMap stack:
69: aload 1
iload 2
aaload
ldc "-show"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 73
70: aload 0
ldc "rmic.option.unsupported"
ldc "-show"
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
71: aload 0
invokevirtual sun.rmi.rmic.Main.usage:()V
72: iconst_0
ireturn
73: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
ldc "-classpath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 86
74: iload 2
iconst_1
iadd
aload 1
arraylength
if_icmpge 83
75: aload 0
getfield sun.rmi.rmic.Main.classPathString:Ljava/lang/String;
ifnull 79
76: aload 0
ldc "rmic.option.already.seen"
ldc "-classpath"
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
77: aload 0
invokevirtual sun.rmi.rmic.Main.usage:()V
78: iconst_0
ireturn
79: StackMap locals:
StackMap stack:
aload 1
iload 2
aconst_null
aastore
80: aload 0
aload 1
iinc 2 1
iload 2
aaload
putfield sun.rmi.rmic.Main.classPathString:Ljava/lang/String;
81: aload 1
iload 2
aconst_null
aastore
82: goto 131
83: StackMap locals:
StackMap stack:
aload 0
ldc "rmic.option.requires.argument"
ldc "-classpath"
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
84: aload 0
invokevirtual sun.rmi.rmic.Main.usage:()V
85: iconst_0
ireturn
86: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
ldc "-sourcepath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 99
87: iload 2
iconst_1
iadd
aload 1
arraylength
if_icmpge 96
88: aload 0
getfield sun.rmi.rmic.Main.sourcePathArg:Ljava/lang/String;
ifnull 92
89: aload 0
ldc "rmic.option.already.seen"
ldc "-sourcepath"
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
90: aload 0
invokevirtual sun.rmi.rmic.Main.usage:()V
91: iconst_0
ireturn
92: StackMap locals:
StackMap stack:
aload 1
iload 2
aconst_null
aastore
93: aload 0
aload 1
iinc 2 1
iload 2
aaload
putfield sun.rmi.rmic.Main.sourcePathArg:Ljava/lang/String;
94: aload 1
iload 2
aconst_null
aastore
95: goto 131
96: StackMap locals:
StackMap stack:
aload 0
ldc "rmic.option.requires.argument"
ldc "-sourcepath"
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
97: aload 0
invokevirtual sun.rmi.rmic.Main.usage:()V
98: iconst_0
ireturn
99: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
ldc "-bootclasspath"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 112
100: iload 2
iconst_1
iadd
aload 1
arraylength
if_icmpge 109
101: aload 0
getfield sun.rmi.rmic.Main.sysClassPathArg:Ljava/lang/String;
ifnull 105
102: aload 0
ldc "rmic.option.already.seen"
ldc "-bootclasspath"
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
103: aload 0
invokevirtual sun.rmi.rmic.Main.usage:()V
104: iconst_0
ireturn
105: StackMap locals:
StackMap stack:
aload 1
iload 2
aconst_null
aastore
106: aload 0
aload 1
iinc 2 1
iload 2
aaload
putfield sun.rmi.rmic.Main.sysClassPathArg:Ljava/lang/String;
107: aload 1
iload 2
aconst_null
aastore
108: goto 131
109: StackMap locals:
StackMap stack:
aload 0
ldc "rmic.option.requires.argument"
ldc "-bootclasspath"
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
110: aload 0
invokevirtual sun.rmi.rmic.Main.usage:()V
111: iconst_0
ireturn
112: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
ldc "-d"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 128
113: iload 2
iconst_1
iadd
aload 1
arraylength
if_icmpge 125
114: aload 0
getfield sun.rmi.rmic.Main.destDir:Ljava/io/File;
ifnull 118
115: aload 0
ldc "rmic.option.already.seen"
ldc "-d"
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
116: aload 0
invokevirtual sun.rmi.rmic.Main.usage:()V
117: iconst_0
ireturn
118: StackMap locals:
StackMap stack:
aload 1
iload 2
aconst_null
aastore
119: aload 0
new java.io.File
dup
aload 1
iinc 2 1
iload 2
aaload
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
putfield sun.rmi.rmic.Main.destDir:Ljava/io/File;
120: aload 1
iload 2
aconst_null
aastore
121: aload 0
getfield sun.rmi.rmic.Main.destDir:Ljava/io/File;
invokevirtual java.io.File.exists:()Z
ifne 131
122: aload 0
ldc "rmic.no.such.directory"
aload 0
getfield sun.rmi.rmic.Main.destDir:Ljava/io/File;
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
123: aload 0
invokevirtual sun.rmi.rmic.Main.usage:()V
124: iconst_0
ireturn
125: StackMap locals:
StackMap stack:
aload 0
ldc "rmic.option.requires.argument"
ldc "-d"
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
126: aload 0
invokevirtual sun.rmi.rmic.Main.usage:()V
127: iconst_0
ireturn
128: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
invokevirtual sun.rmi.rmic.Main.checkGeneratorArg:([Ljava/lang/String;I)Z
ifne 131
129: aload 0
invokevirtual sun.rmi.rmic.Main.usage:()V
130: iconst_0
ireturn
131: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
132: iload 2
aload 1
arraylength
if_icmplt 27
end local 2 133: iconst_0
istore 2
start local 2 134: goto 142
135: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
ifnull 141
136: aload 1
iload 2
aaload
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 140
137: aload 0
ldc "rmic.no.such.option"
aload 1
iload 2
aaload
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
138: aload 0
invokevirtual sun.rmi.rmic.Main.usage:()V
139: iconst_0
ireturn
140: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.rmic.Main.classes:Ljava/util/Vector;
aload 1
iload 2
aaload
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
141: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
142: iload 2
aload 1
arraylength
if_icmplt 135
end local 2 143: aload 0
getfield sun.rmi.rmic.Main.generators:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
ifne 145
144: aload 0
ldc "default"
invokevirtual sun.rmi.rmic.Main.addGenerator:(Ljava/lang/String;)Lsun/rmi/rmic/Generator;
pop
145: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 146 0 this Lsun/rmi/rmic/Main;
0 146 1 argv [Ljava/lang/String;
17 19 2 e Ljava/io/FileNotFoundException;
20 25 2 e Ljava/io/IOException;
26 133 2 i I
134 143 2 i I
Exception table:
from to target type
14 15 16 Class java.io.FileNotFoundException
14 15 19 Class java.io.IOException
MethodParameters:
Name Flags
argv
protected boolean checkGeneratorArg(java.lang.String[], int);
descriptor: ([Ljava/lang/String;I)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
istore 3
start local 3 1: aload 1
iload 2
aaload
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
2: aload 1
iload 2
aaload
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 12
5: StackMap locals: int java.lang.String int
StackMap stack:
aload 4
aload 0
getfield sun.rmi.rmic.Main.generatorArgs:[Ljava/lang/String;
iload 5
aaload
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 11
6: aload 0
aload 4
invokevirtual sun.rmi.rmic.Main.addGenerator:(Ljava/lang/String;)Lsun/rmi/rmic/Generator;
astore 6
start local 6 7: aload 6
ifnonnull 9
8: iconst_0
ireturn
9: StackMap locals: sun.rmi.rmic.Generator
StackMap stack:
aload 6
aload 1
aload 0
invokeinterface sun.rmi.rmic.Generator.parseArgs:([Ljava/lang/String;Lsun/rmi/rmic/Main;)Z
istore 3
10: goto 13
end local 6 11: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
aload 0
getfield sun.rmi.rmic.Main.generatorArgs:[Ljava/lang/String;
arraylength
if_icmplt 5
end local 5 end local 4 13: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/rmi/rmic/Main;
0 14 1 argv [Ljava/lang/String;
0 14 2 currentIndex I
1 14 3 result Z
3 13 4 arg Ljava/lang/String;
4 13 5 i I
7 11 6 gen Lsun/rmi/rmic/Generator;
MethodParameters:
Name Flags
argv
currentIndex
protected sun.rmi.rmic.Generator addGenerator(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/rmi/rmic/Generator;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc "generator.class."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.rmi.rmic.Main.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnonnull 4
2: aload 0
ldc "rmic.missing.property"
aload 1
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
3: aconst_null
areturn
4: StackMap locals: sun.rmi.rmic.Main java.lang.String top java.lang.String
StackMap stack:
aload 3
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast sun.rmi.rmic.Generator
astore 2
start local 2 5: goto 9
end local 2 StackMap locals:
StackMap stack: java.lang.Exception
6: pop
7: aload 0
ldc "rmic.cannot.instantiate"
aload 3
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
8: aconst_null
areturn
start local 2 9: StackMap locals: sun.rmi.rmic.Main java.lang.String sun.rmi.rmic.Generator java.lang.String
StackMap stack:
aload 0
getfield sun.rmi.rmic.Main.generators:Ljava/util/Vector;
aload 2
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
10: ldc Lsun/rmi/rmic/BatchEnvironment;
astore 4
start local 4 11: new java.lang.StringBuilder
dup
ldc "generator.env."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.rmi.rmic.Main.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 12: aload 5
ifnull 23
13: aload 5
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 4
14: aload 0
getfield sun.rmi.rmic.Main.environmentClass:Ljava/lang/Class;
aload 4
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 17
15: aload 0
aload 4
ldc Lsun/rmi/rmic/BatchEnvironment;
invokevirtual java.lang.Class.asSubclass:(Ljava/lang/Class;)Ljava/lang/Class;
putfield sun.rmi.rmic.Main.environmentClass:Ljava/lang/Class;
16: goto 23
17: StackMap locals: java.lang.Class java.lang.String
StackMap stack:
aload 4
aload 0
getfield sun.rmi.rmic.Main.environmentClass:Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 23
18: aload 0
ldc "rmic.cannot.use.both"
aload 0
getfield sun.rmi.rmic.Main.environmentClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
19: aconst_null
areturn
20: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
21: aload 0
ldc "rmic.class.not.found"
aload 5
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
22: aconst_null
areturn
23: StackMap locals:
StackMap stack:
aload 1
ldc "iiop"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
24: aload 0
iconst_1
putfield sun.rmi.rmic.Main.iiopGeneration:Z
25: StackMap locals:
StackMap stack:
aload 2
areturn
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 26 0 this Lsun/rmi/rmic/Main;
0 26 1 arg Ljava/lang/String;
5 6 2 gen Lsun/rmi/rmic/Generator;
9 26 2 gen Lsun/rmi/rmic/Generator;
1 26 3 className Ljava/lang/String;
11 26 4 envClass Ljava/lang/Class<*>;
12 26 5 env Ljava/lang/String;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
13 19 20 Class java.lang.ClassNotFoundException
MethodParameters:
Name Flags
arg
protected java.lang.String[] getArray(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)[Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 1
invokestatic sun.rmi.rmic.Main.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 2: aload 4
ifnonnull 7
3: iload 2
ifeq 6
4: aload 0
ldc "rmic.resource.not.found"
aload 1
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
5: aconst_null
areturn
6: StackMap locals: java.lang.String[] java.lang.String
StackMap stack:
iconst_0
anewarray java.lang.String
areturn
7: StackMap locals:
StackMap stack:
new java.util.StringTokenizer
dup
aload 4
ldc ", \t\n\r"
iconst_0
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;Z)V
astore 5
start local 5 8: aload 5
invokevirtual java.util.StringTokenizer.countTokens:()I
istore 6
start local 6 9: iload 6
anewarray java.lang.String
astore 3
10: iconst_0
istore 7
start local 7 11: goto 14
12: StackMap locals: java.util.StringTokenizer int int
StackMap stack:
aload 3
iload 7
aload 5
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
aastore
13: iinc 7 1
StackMap locals:
StackMap stack:
14: iload 7
iload 6
if_icmplt 12
end local 7 15: 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 16 0 this Lsun/rmi/rmic/Main;
0 16 1 name Ljava/lang/String;
0 16 2 mustExist Z
1 16 3 result [Ljava/lang/String;
2 16 4 value Ljava/lang/String;
8 16 5 parser Ljava/util/StringTokenizer;
9 16 6 count I
11 15 7 i I
MethodParameters:
Name Flags
name
mustExist
public sun.rmi.rmic.BatchEnvironment getEnv();
descriptor: ()Lsun/rmi/rmic/BatchEnvironment;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield sun.rmi.rmic.Main.classPathString:Ljava/lang/String;
1: aload 0
getfield sun.rmi.rmic.Main.sysClassPathArg:Ljava/lang/String;
2: invokestatic sun.rmi.rmic.BatchEnvironment.createClassPath:(Ljava/lang/String;Ljava/lang/String;)Lsun/tools/java/ClassPath;
3: astore 1
start local 1 4: aconst_null
astore 2
start local 2 5: iconst_3
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/io/OutputStream;
aastore
dup
iconst_1
ldc Lsun/tools/java/ClassPath;
aastore
dup
iconst_2
ldc Lsun/rmi/rmic/Main;
aastore
astore 3
start local 3 6: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 0
aastore
astore 4
start local 4 7: aload 0
getfield sun.rmi.rmic.Main.environmentClass:Ljava/lang/Class;
aload 3
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
8: astore 5
start local 5 9: aload 5
aload 4
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.rmi.rmic.BatchEnvironment
astore 2
10: aload 2
invokevirtual sun.rmi.rmic.BatchEnvironment.reset:()V
end local 5 end local 4 end local 3 11: goto 14
12: StackMap locals: sun.rmi.rmic.Main sun.tools.java.ClassPath sun.rmi.rmic.BatchEnvironment
StackMap stack: java.lang.Exception
pop
13: aload 0
ldc "rmic.cannot.instantiate"
aload 0
getfield sun.rmi.rmic.Main.environmentClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual sun.rmi.rmic.Main.error:(Ljava/lang/String;Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/rmi/rmic/Main;
4 15 1 classPath Lsun/tools/java/ClassPath;
5 15 2 result Lsun/rmi/rmic/BatchEnvironment;
6 11 3 ctorArgTypes [Ljava/lang/Class;
7 11 4 ctorArgs [Ljava/lang/Object;
9 11 5 constructor Ljava/lang/reflect/Constructor<+Lsun/rmi/rmic/BatchEnvironment;>;
Exception table:
from to target type
5 11 12 Class java.lang.Exception
public boolean doCompile();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=1
start local 0 0: aload 0
invokevirtual sun.rmi.rmic.Main.getEnv:()Lsun/rmi/rmic/BatchEnvironment;
astore 1
start local 1 1: aload 1
dup
getfield sun.rmi.rmic.BatchEnvironment.flags:I
aload 0
getfield sun.rmi.rmic.Main.flags:I
ior
putfield sun.rmi.rmic.BatchEnvironment.flags:I
2: aload 1
bipush 45
putfield sun.rmi.rmic.BatchEnvironment.majorVersion:S
3: aload 1
iconst_3
putfield sun.rmi.rmic.BatchEnvironment.minorVersion:S
4: ldc "rmic.no.memory"
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 5: ldc "rmic.stack.overflow"
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 6: aload 0
getfield sun.rmi.rmic.Main.classes:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
iconst_1
isub
istore 4
start local 4 7: goto 24
8: StackMap locals: sun.rmi.rmic.Main sun.rmi.rmic.BatchEnvironment java.lang.String java.lang.String int
StackMap stack:
aload 0
getfield sun.rmi.rmic.Main.classes:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.lang.String
invokestatic sun.tools.java.Identifier.lookup:(Ljava/lang/String;)Lsun/tools/java/Identifier;
9: astore 5
start local 5 10: aload 1
aload 5
invokevirtual sun.rmi.rmic.BatchEnvironment.resolvePackageQualifiedName:(Lsun/tools/java/Identifier;)Lsun/tools/java/Identifier;
astore 5
11: aload 5
invokestatic sun.rmi.rmic.Names.mangleClass:(Lsun/tools/java/Identifier;)Lsun/tools/java/Identifier;
astore 5
12: aload 1
aload 5
invokevirtual sun.rmi.rmic.BatchEnvironment.getClassDeclaration:(Lsun/tools/java/Identifier;)Lsun/tools/java/ClassDeclaration;
astore 6
start local 6 13: aload 6
aload 1
invokevirtual sun.tools.java.ClassDeclaration.getClassDefinition:(Lsun/tools/java/Environment;)Lsun/tools/java/ClassDefinition;
astore 7
start local 7 14: iconst_0
istore 8
start local 8 15: goto 19
16: StackMap locals: sun.rmi.rmic.Main sun.rmi.rmic.BatchEnvironment java.lang.String java.lang.String int sun.tools.java.Identifier sun.tools.java.ClassDeclaration sun.tools.java.ClassDefinition int
StackMap stack:
aload 0
getfield sun.rmi.rmic.Main.generators:Ljava/util/Vector;
iload 8
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.rmi.rmic.Generator
astore 9
start local 9 17: aload 9
aload 1
aload 7
aload 0
getfield sun.rmi.rmic.Main.destDir:Ljava/io/File;
invokeinterface sun.rmi.rmic.Generator.generate:(Lsun/rmi/rmic/BatchEnvironment;Lsun/tools/java/ClassDefinition;Ljava/io/File;)V
end local 9 18: iinc 8 1
StackMap locals:
StackMap stack:
19: iload 8
aload 0
getfield sun.rmi.rmic.Main.generators:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 16
end local 8 end local 7 20: goto 23
StackMap locals: sun.rmi.rmic.Main sun.rmi.rmic.BatchEnvironment java.lang.String java.lang.String int sun.tools.java.Identifier sun.tools.java.ClassDeclaration
StackMap stack: sun.tools.java.ClassNotFound
21: pop
22: aload 1
lconst_0
ldc "rmic.class.not.found"
aload 5
invokevirtual sun.rmi.rmic.BatchEnvironment.error:(JLjava/lang/String;Ljava/lang/Object;)V
end local 6 end local 5 23: StackMap locals:
StackMap stack:
iinc 4 -1
StackMap locals:
StackMap stack:
24: iload 4
ifge 8
end local 4 25: aload 0
getfield sun.rmi.rmic.Main.nocompile:Z
ifne 49
26: aload 0
aload 1
invokevirtual sun.rmi.rmic.Main.compileAllClasses:(Lsun/rmi/rmic/BatchEnvironment;)V
27: goto 49
StackMap locals: sun.rmi.rmic.Main sun.rmi.rmic.BatchEnvironment java.lang.String java.lang.String
StackMap stack: java.lang.OutOfMemoryError
28: pop
29: aload 1
aload 2
invokevirtual sun.rmi.rmic.BatchEnvironment.output:(Ljava/lang/String;)V
30: iconst_0
ireturn
31: StackMap locals:
StackMap stack: java.lang.StackOverflowError
pop
32: aload 1
aload 3
invokevirtual sun.rmi.rmic.BatchEnvironment.output:(Ljava/lang/String;)V
33: iconst_0
ireturn
34: StackMap locals:
StackMap stack: java.lang.Error
astore 4
start local 4 35: aload 1
getfield sun.rmi.rmic.BatchEnvironment.nerrors:I
ifeq 36
aload 1
invokevirtual sun.rmi.rmic.BatchEnvironment.dump:()Z
ifeq 49
36: StackMap locals: java.lang.Error
StackMap stack:
aload 1
lconst_0
ldc "fatal.error"
invokevirtual sun.rmi.rmic.BatchEnvironment.error:(JLjava/lang/String;)V
37: aload 4
aload 0
getfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
instanceof java.io.PrintStream
ifeq 39
38: aload 0
getfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
checkcast java.io.PrintStream
goto 40
39: StackMap locals:
StackMap stack: java.lang.Error
new java.io.PrintStream
dup
aload 0
getfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
iconst_1
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;Z)V
40: StackMap locals: sun.rmi.rmic.Main sun.rmi.rmic.BatchEnvironment java.lang.String java.lang.String java.lang.Error
StackMap stack: java.lang.Error java.io.PrintStream
invokevirtual java.lang.Error.printStackTrace:(Ljava/io/PrintStream;)V
end local 4 41: goto 49
42: StackMap locals: sun.rmi.rmic.Main sun.rmi.rmic.BatchEnvironment java.lang.String java.lang.String
StackMap stack: java.lang.Exception
astore 4
start local 4 43: aload 1
getfield sun.rmi.rmic.BatchEnvironment.nerrors:I
ifeq 44
aload 1
invokevirtual sun.rmi.rmic.BatchEnvironment.dump:()Z
ifeq 49
44: StackMap locals: java.lang.Exception
StackMap stack:
aload 1
lconst_0
ldc "fatal.exception"
invokevirtual sun.rmi.rmic.BatchEnvironment.error:(JLjava/lang/String;)V
45: aload 4
aload 0
getfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
instanceof java.io.PrintStream
ifeq 47
46: aload 0
getfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
checkcast java.io.PrintStream
goto 48
47: StackMap locals:
StackMap stack: java.lang.Exception
new java.io.PrintStream
dup
aload 0
getfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
iconst_1
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;Z)V
48: StackMap locals: sun.rmi.rmic.Main sun.rmi.rmic.BatchEnvironment java.lang.String java.lang.String java.lang.Exception
StackMap stack: java.lang.Exception java.io.PrintStream
invokevirtual java.lang.Exception.printStackTrace:(Ljava/io/PrintStream;)V
end local 4 49: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.rmi.rmic.BatchEnvironment.flushErrors:()V
50: iconst_1
istore 4
start local 4 51: aload 1
getfield sun.rmi.rmic.BatchEnvironment.nerrors:I
ifle 65
52: ldc ""
astore 5
start local 5 53: aload 1
getfield sun.rmi.rmic.BatchEnvironment.nerrors:I
iconst_1
if_icmple 56
54: ldc "rmic.errors"
aload 1
getfield sun.rmi.rmic.BatchEnvironment.nerrors:I
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;I)Ljava/lang/String;
astore 5
55: goto 57
56: StackMap locals: int java.lang.String
StackMap stack:
ldc "rmic.1error"
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;)Ljava/lang/String;
astore 5
57: StackMap locals:
StackMap stack:
aload 1
getfield sun.rmi.rmic.BatchEnvironment.nwarnings:I
ifle 62
58: aload 1
getfield sun.rmi.rmic.BatchEnvironment.nwarnings:I
iconst_1
if_icmple 61
59: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "rmic.warnings"
aload 1
getfield sun.rmi.rmic.BatchEnvironment.nwarnings:I
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
60: goto 62
61: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "rmic.1warning"
invokestatic sun.rmi.rmic.Main.getText:(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;
astore 5
62: StackMap locals:
StackMap stack:
aload 0
aload 5
invokevirtual sun.rmi.rmic.Main.output:(Ljava/lang/String;)V
63: iconst_0
istore 4
end local 5 64: goto 70
65: StackMap locals:
StackMap stack:
aload 1
getfield sun.rmi.rmic.BatchEnvironment.nwarnings:I
ifle 70
66: aload 1
getfield sun.rmi.rmic.BatchEnvironment.nwarnings:I
iconst_1
if_icmple 69
67: aload 0
ldc "rmic.warnings"
aload 1
getfield sun.rmi.rmic.BatchEnvironment.nwarnings:I
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;I)Ljava/lang/String;
invokevirtual sun.rmi.rmic.Main.output:(Ljava/lang/String;)V
68: goto 70
69: StackMap locals:
StackMap stack:
aload 0
ldc "rmic.1warning"
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.rmi.rmic.Main.output:(Ljava/lang/String;)V
70: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.rmic.Main.keepGenerated:Z
ifne 72
71: aload 1
invokevirtual sun.rmi.rmic.BatchEnvironment.deleteGeneratedFiles:()V
72: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.rmi.rmic.BatchEnvironment.verbose:()Z
ifeq 75
73: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
aload 0
getfield sun.rmi.rmic.Main.tm:J
lsub
putfield sun.rmi.rmic.Main.tm:J
74: aload 0
ldc "rmic.done_in"
aload 0
getfield sun.rmi.rmic.Main.tm:J
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.rmi.rmic.Main.output:(Ljava/lang/String;)V
75: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.rmi.rmic.BatchEnvironment.shutdown:()V
76: aload 0
aconst_null
putfield sun.rmi.rmic.Main.sourcePathArg:Ljava/lang/String;
77: aload 0
aconst_null
putfield sun.rmi.rmic.Main.sysClassPathArg:Ljava/lang/String;
78: aload 0
aconst_null
putfield sun.rmi.rmic.Main.classPathString:Ljava/lang/String;
79: aload 0
aconst_null
putfield sun.rmi.rmic.Main.destDir:Ljava/io/File;
80: aload 0
aconst_null
putfield sun.rmi.rmic.Main.classes:Ljava/util/Vector;
81: aload 0
aconst_null
putfield sun.rmi.rmic.Main.generatorArgs:[Ljava/lang/String;
82: aload 0
aconst_null
putfield sun.rmi.rmic.Main.generators:Ljava/util/Vector;
83: aload 0
aconst_null
putfield sun.rmi.rmic.Main.environmentClass:Ljava/lang/Class;
84: aload 0
aconst_null
putfield sun.rmi.rmic.Main.program:Ljava/lang/String;
85: aload 0
aconst_null
putfield sun.rmi.rmic.Main.out:Ljava/io/OutputStream;
86: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 87 0 this Lsun/rmi/rmic/Main;
1 87 1 env Lsun/rmi/rmic/BatchEnvironment;
5 87 2 noMemoryErrorString Ljava/lang/String;
6 87 3 stackOverflowErrorString Ljava/lang/String;
7 25 4 i I
10 23 5 implClassName Lsun/tools/java/Identifier;
13 23 6 decl Lsun/tools/java/ClassDeclaration;
14 20 7 def Lsun/tools/java/ClassDefinition;
15 20 8 j I
17 18 9 gen Lsun/rmi/rmic/Generator;
35 41 4 ee Ljava/lang/Error;
43 49 4 ee Ljava/lang/Exception;
51 87 4 status Z
53 64 5 msg Ljava/lang/String;
Exception table:
from to target type
13 20 21 Class sun.tools.java.ClassNotFound
6 27 28 Class java.lang.OutOfMemoryError
6 27 31 Class java.lang.StackOverflowError
6 27 34 Class java.lang.Error
6 27 42 Class java.lang.Exception
public void compileAllClasses(sun.rmi.rmic.BatchEnvironment);
descriptor: (Lsun/rmi/rmic/BatchEnvironment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new java.io.ByteArrayOutputStream
dup
sipush 4096
invokespecial java.io.ByteArrayOutputStream.<init>:(I)V
astore 2
start local 2 1: StackMap locals: java.io.ByteArrayOutputStream
StackMap stack:
iconst_1
istore 3
start local 3 2: aload 1
invokevirtual sun.rmi.rmic.BatchEnvironment.getClasses:()Ljava/util/Enumeration;
astore 4
start local 4 3: goto 6
4: StackMap locals: int java.util.Enumeration
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast sun.tools.java.ClassDeclaration
astore 5
start local 5 5: aload 0
aload 5
aload 2
aload 1
invokevirtual sun.rmi.rmic.Main.compileClass:(Lsun/tools/java/ClassDeclaration;Ljava/io/ByteArrayOutputStream;Lsun/rmi/rmic/BatchEnvironment;)Z
istore 3
end local 5 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 4
end local 4 7: iload 3
ifeq 1
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/rmi/rmic/Main;
0 9 1 env Lsun/rmi/rmic/BatchEnvironment;
1 9 2 buf Ljava/io/ByteArrayOutputStream;
2 9 3 done Z
3 7 4 e Ljava/util/Enumeration<*>;
5 6 5 c Lsun/tools/java/ClassDeclaration;
Exceptions:
throws sun.tools.java.ClassNotFound, java.io.IOException, java.lang.InterruptedException
MethodParameters:
Name Flags
env
public boolean compileClass(sun.tools.java.ClassDeclaration, java.io.ByteArrayOutputStream, sun.rmi.rmic.BatchEnvironment);
descriptor: (Lsun/tools/java/ClassDeclaration;Ljava/io/ByteArrayOutputStream;Lsun/rmi/rmic/BatchEnvironment;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_1
istore 4
start local 4 1: aload 3
invokevirtual sun.rmi.rmic.BatchEnvironment.flushErrors:()V
2: aload 1
invokevirtual sun.tools.java.ClassDeclaration.getStatus:()I
tableswitch { // 0 - 5
0: 3
1: 53
2: 53
3: 5
4: 9
5: 17
default: 53
}
3: StackMap locals: int
StackMap stack:
aload 3
invokevirtual sun.rmi.rmic.BatchEnvironment.dependencies:()Z
ifne 5
4: goto 53
5: StackMap locals:
StackMap stack:
iconst_0
istore 4
6: aload 3
aload 1
invokevirtual sun.rmi.rmic.BatchEnvironment.loadDefinition:(Lsun/tools/java/ClassDeclaration;)V
7: aload 1
invokevirtual sun.tools.java.ClassDeclaration.getStatus:()I
iconst_4
if_icmpeq 9
8: goto 53
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.tools.java.ClassDeclaration.getClassDefinition:()Lsun/tools/java/ClassDefinition;
invokevirtual sun.tools.java.ClassDefinition.isInsideLocal:()Z
ifeq 11
10: goto 53
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.rmi.rmic.Main.nocompile:Z
ifeq 13
12: new java.io.IOException
dup
ldc "Compilation required, but -Xnocompile option in effect"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
iconst_0
istore 4
14: aload 1
aload 3
invokevirtual sun.tools.java.ClassDeclaration.getClassDefinition:(Lsun/tools/java/Environment;)Lsun/tools/java/ClassDefinition;
checkcast sun.tools.javac.SourceClass
astore 5
start local 5 15: aload 5
aload 3
invokevirtual sun.tools.javac.SourceClass.check:(Lsun/tools/java/Environment;)V
16: aload 1
aload 5
iconst_5
invokevirtual sun.tools.java.ClassDeclaration.setDefinition:(Lsun/tools/java/ClassDefinition;I)V
end local 5 17: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual sun.tools.java.ClassDeclaration.getClassDefinition:(Lsun/tools/java/Environment;)Lsun/tools/java/ClassDefinition;
checkcast sun.tools.javac.SourceClass
astore 5
start local 5 18: aload 5
invokevirtual sun.tools.javac.SourceClass.getError:()Z
ifeq 21
19: aload 1
aload 5
bipush 6
invokevirtual sun.tools.java.ClassDeclaration.setDefinition:(Lsun/tools/java/ClassDefinition;I)V
20: goto 53
21: StackMap locals: sun.tools.javac.SourceClass
StackMap stack:
iconst_0
istore 4
22: aload 2
invokevirtual java.io.ByteArrayOutputStream.reset:()V
23: aload 5
aload 2
invokevirtual sun.tools.javac.SourceClass.compile:(Ljava/io/OutputStream;)V
24: aload 1
aload 5
bipush 6
invokevirtual sun.tools.java.ClassDeclaration.setDefinition:(Lsun/tools/java/ClassDefinition;I)V
25: aload 5
aload 3
invokevirtual sun.tools.javac.SourceClass.cleanup:(Lsun/tools/java/Environment;)V
26: aload 5
invokevirtual sun.tools.javac.SourceClass.getError:()Z
ifne 53
aload 0
getfield sun.rmi.rmic.Main.nowrite:Z
ifeq 28
27: goto 53
28: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.tools.java.ClassDeclaration.getName:()Lsun/tools/java/Identifier;
invokevirtual sun.tools.java.Identifier.getQualifier:()Lsun/tools/java/Identifier;
invokevirtual sun.tools.java.Identifier.toString:()Ljava/lang/String;
bipush 46
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 6
start local 6 29: new java.lang.StringBuilder
dup
aload 1
invokevirtual sun.tools.java.ClassDeclaration.getName:()Lsun/tools/java/Identifier;
invokevirtual sun.tools.java.Identifier.getFlatName:()Lsun/tools/java/Identifier;
invokevirtual sun.tools.java.Identifier.toString:()Ljava/lang/String;
bipush 46
bipush 36
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
start local 7 30: aload 0
getfield sun.rmi.rmic.Main.destDir:Ljava/io/File;
ifnull 39
31: aload 6
invokevirtual java.lang.String.length:()I
ifle 37
32: new java.io.File
dup
aload 0
getfield sun.rmi.rmic.Main.destDir:Ljava/io/File;
aload 6
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 8
start local 8 33: aload 8
invokevirtual java.io.File.exists:()Z
ifne 35
34: aload 8
invokevirtual java.io.File.mkdirs:()Z
pop
35: StackMap locals: java.lang.String java.lang.String java.io.File
StackMap stack:
new java.io.File
dup
aload 8
aload 7
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 8
36: goto 45
end local 8 37: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
getfield sun.rmi.rmic.Main.destDir:Ljava/io/File;
aload 7
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 8
start local 8 38: goto 45
end local 8 39: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.tools.javac.SourceClass.getSource:()Ljava/lang/Object;
checkcast sun.tools.java.ClassFile
astore 9
start local 9 40: aload 9
invokevirtual sun.tools.java.ClassFile.isZipped:()Z
ifeq 43
41: aload 3
lconst_0
ldc "cant.write"
aload 9
invokevirtual sun.tools.java.ClassFile.getPath:()Ljava/lang/String;
invokevirtual sun.rmi.rmic.BatchEnvironment.error:(JLjava/lang/String;Ljava/lang/Object;)V
42: goto 53
43: StackMap locals: sun.rmi.rmic.Main sun.tools.java.ClassDeclaration java.io.ByteArrayOutputStream sun.rmi.rmic.BatchEnvironment int sun.tools.javac.SourceClass java.lang.String java.lang.String top sun.tools.java.ClassFile
StackMap stack:
new java.io.File
dup
aload 9
invokevirtual sun.tools.java.ClassFile.getPath:()Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 8
start local 8 44: new java.io.File
dup
aload 8
invokevirtual java.io.File.getParent:()Ljava/lang/String;
aload 7
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 8
end local 9 45: StackMap locals: sun.rmi.rmic.Main sun.tools.java.ClassDeclaration java.io.ByteArrayOutputStream sun.rmi.rmic.BatchEnvironment int sun.tools.javac.SourceClass java.lang.String java.lang.String java.io.File
StackMap stack:
new java.io.FileOutputStream
dup
aload 8
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokespecial java.io.FileOutputStream.<init>:(Ljava/lang/String;)V
astore 9
start local 9 46: aload 2
aload 9
invokevirtual java.io.ByteArrayOutputStream.writeTo:(Ljava/io/OutputStream;)V
47: aload 9
invokevirtual java.io.FileOutputStream.close:()V
48: aload 3
invokevirtual sun.rmi.rmic.BatchEnvironment.verbose:()Z
ifeq 53
49: aload 0
ldc "rmic.wrote"
aload 8
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.rmi.rmic.Main.output:(Ljava/lang/String;)V
end local 9 50: goto 53
StackMap locals:
StackMap stack: java.io.IOException
51: pop
52: aload 3
lconst_0
ldc "cant.write"
aload 8
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokevirtual sun.rmi.rmic.BatchEnvironment.error:(JLjava/lang/String;Ljava/lang/Object;)V
end local 8 end local 7 end local 6 end local 5 53: StackMap locals: sun.rmi.rmic.Main sun.tools.java.ClassDeclaration java.io.ByteArrayOutputStream sun.rmi.rmic.BatchEnvironment int
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 54 0 this Lsun/rmi/rmic/Main;
0 54 1 c Lsun/tools/java/ClassDeclaration;
0 54 2 buf Ljava/io/ByteArrayOutputStream;
0 54 3 env Lsun/rmi/rmic/BatchEnvironment;
1 54 4 done Z
15 17 5 src Lsun/tools/javac/SourceClass;
18 53 5 src Lsun/tools/javac/SourceClass;
29 53 6 pkgName Ljava/lang/String;
30 53 7 className Ljava/lang/String;
33 37 8 file Ljava/io/File;
38 39 8 file Ljava/io/File;
44 53 8 file Ljava/io/File;
40 45 9 classfile Lsun/tools/java/ClassFile;
46 50 9 out Ljava/io/FileOutputStream;
Exception table:
from to target type
45 50 51 Class java.io.IOException
Exceptions:
throws sun.tools.java.ClassNotFound, java.io.IOException, java.lang.InterruptedException
MethodParameters:
Name Flags
c
buf
env
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new sun.rmi.rmic.Main
dup
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "rmic"
invokespecial sun.rmi.rmic.Main.<init>:(Ljava/io/OutputStream;Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual sun.rmi.rmic.Main.compile:([Ljava/lang/String;)Z
ifeq 2
iconst_0
goto 3
StackMap locals: sun.rmi.rmic.Main
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: invokestatic java.lang.System.exit:(I)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 argv [Ljava/lang/String;
1 5 1 compiler Lsun/rmi/rmic/Main;
MethodParameters:
Name Flags
argv
public static java.lang.String getString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.rmi.rmic.Main.resourcesInitialized:Z
ifne 2
1: invokestatic sun.rmi.rmic.Main.initResources:()V
2: StackMap locals:
StackMap stack:
getstatic sun.rmi.rmic.Main.resourcesExt:Ljava/util/ResourceBundle;
ifnull 6
3: getstatic sun.rmi.rmic.Main.resourcesExt:Ljava/util/ResourceBundle;
aload 0
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
4: areturn
5: StackMap locals:
StackMap stack: java.util.MissingResourceException
pop
6: StackMap locals:
StackMap stack:
getstatic sun.rmi.rmic.Main.resources:Ljava/util/ResourceBundle;
aload 0
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
7: areturn
8: StackMap locals:
StackMap stack: java.util.MissingResourceException
pop
9: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 key Ljava/lang/String;
Exception table:
from to target type
3 4 5 Class java.util.MissingResourceException
6 7 8 Class java.util.MissingResourceException
MethodParameters:
Name Flags
key
private static void initResources();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: ldc "sun.rmi.rmic.resources.rmic"
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
1: putstatic sun.rmi.rmic.Main.resources:Ljava/util/ResourceBundle;
2: iconst_1
putstatic sun.rmi.rmic.Main.resourcesInitialized:Z
3: ldc "sun.rmi.rmic.resources.rmicext"
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
4: putstatic sun.rmi.rmic.Main.resourcesExt:Ljava/util/ResourceBundle;
5: goto 12
StackMap locals:
StackMap stack: java.util.MissingResourceException
6: pop
7: goto 12
StackMap locals:
StackMap stack: java.util.MissingResourceException
8: astore 0
start local 0 9: new java.lang.Error
dup
new java.lang.StringBuilder
dup
ldc "fatal: missing resource bundle: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: aload 0
invokevirtual java.util.MissingResourceException.getClassName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 12: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
9 12 0 e Ljava/util/MissingResourceException;
Exception table:
from to target type
3 5 6 Class java.util.MissingResourceException
0 7 8 Class java.util.MissingResourceException
public static java.lang.String getText(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic sun.rmi.rmic.Main.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.lang.StringBuilder
dup
ldc "no text found: \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
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;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 key Ljava/lang/String;
1 4 1 message Ljava/lang/String;
MethodParameters:
Name Flags
key
public static java.lang.String getText(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
aconst_null
aconst_null
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
0 1 1 num I
MethodParameters:
Name Flags
key
num
public static java.lang.String getText(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
aconst_null
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
0 1 1 arg0 Ljava/lang/String;
MethodParameters:
Name Flags
key
arg0
public static java.lang.String getText(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
0 1 1 arg0 Ljava/lang/String;
0 1 2 arg1 Ljava/lang/String;
MethodParameters:
Name Flags
key
arg0
arg1
public static java.lang.String getText(java.lang.String, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokestatic sun.rmi.rmic.Main.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
ifnonnull 5
2: new java.lang.StringBuilder
dup
ldc "no text found: key = \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "arguments = \"{0}\", \"{1}\", \"{2}\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
5: StackMap locals: java.lang.String
StackMap stack:
iconst_3
anewarray java.lang.String
astore 5
start local 5 6: aload 5
iconst_0
aload 1
ifnull 7
aload 1
goto 8
StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String[]
StackMap stack: java.lang.String[] int
7: ldc "null"
StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String[]
StackMap stack: java.lang.String[] int java.lang.String
8: aastore
9: aload 5
iconst_1
aload 2
ifnull 10
aload 2
goto 11
StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String[]
StackMap stack: java.lang.String[] int
10: ldc "null"
StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String[]
StackMap stack: java.lang.String[] int java.lang.String
11: aastore
12: aload 5
iconst_2
aload 3
ifnull 13
aload 3
goto 14
StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String[]
StackMap stack: java.lang.String[] int
13: ldc "null"
StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String[]
StackMap stack: java.lang.String[] int java.lang.String
14: aastore
15: aload 4
aload 5
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
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 16 0 key Ljava/lang/String;
0 16 1 arg0 Ljava/lang/String;
0 16 2 arg1 Ljava/lang/String;
0 16 3 arg2 Ljava/lang/String;
1 16 4 format Ljava/lang/String;
6 16 5 args [Ljava/lang/String;
MethodParameters:
Name Flags
key
arg0
arg1
arg2
}
SourceFile: "Main.java"