public class sun.rmi.rmic.BatchEnvironment extends sun.tools.javac.BatchEnvironment
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.rmi.rmic.BatchEnvironment
super_class: sun.tools.javac.BatchEnvironment
{
private sun.rmi.rmic.Main main;
descriptor: Lsun/rmi/rmic/Main;
flags: (0x0002) ACC_PRIVATE
private java.util.Vector<java.io.File> generatedFiles;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Vector<Ljava/io/File;>;
public static sun.tools.java.ClassPath createClassPath(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/tools/java/ClassPath;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aconst_null
aload 0
aconst_null
aconst_null
invokestatic sun.rmi.rmic.BatchEnvironment.classPaths:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Lsun/tools/java/ClassPath;
astore 1
start local 1 1: aload 1
iconst_1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 classPathString Ljava/lang/String;
1 2 1 paths [Lsun/tools/java/ClassPath;
MethodParameters:
Name Flags
classPathString
public static sun.tools.java.ClassPath createClassPath(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lsun/tools/java/ClassPath;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new sun.rmi.rmic.BatchEnvironment$Path
dup
invokespecial sun.rmi.rmic.BatchEnvironment$Path.<init>:()V
astore 3
start local 3 1: aload 1
ifnonnull 3
2: ldc "sun.boot.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
3: StackMap locals: sun.rmi.rmic.BatchEnvironment$Path
StackMap stack:
aload 1
ifnull 5
4: aload 3
aload 1
invokevirtual sun.rmi.rmic.BatchEnvironment$Path.addFiles:(Ljava/lang/String;)Lsun/rmi/rmic/BatchEnvironment$Path;
pop
5: StackMap locals:
StackMap stack:
aload 3
iconst_1
invokevirtual sun.rmi.rmic.BatchEnvironment$Path.expandJarClassPaths:(Z)Lsun/rmi/rmic/BatchEnvironment$Path;
pop
6: aload 2
ifnonnull 8
7: ldc "java.ext.dirs"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
8: StackMap locals:
StackMap stack:
aload 2
ifnull 10
9: aload 3
aload 2
invokevirtual sun.rmi.rmic.BatchEnvironment$Path.addDirectories:(Ljava/lang/String;)Lsun/rmi/rmic/BatchEnvironment$Path;
pop
10: StackMap locals:
StackMap stack:
aload 3
ldc "."
invokevirtual sun.rmi.rmic.BatchEnvironment$Path.emptyPathDefault:(Ljava/lang/String;)Lsun/rmi/rmic/BatchEnvironment$Path;
pop
11: aload 0
ifnonnull 15
12: ldc "env.class.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
13: aload 0
ifnonnull 15
14: ldc "."
astore 0
15: StackMap locals:
StackMap stack:
aload 3
aload 0
invokevirtual sun.rmi.rmic.BatchEnvironment$Path.addFiles:(Ljava/lang/String;)Lsun/rmi/rmic/BatchEnvironment$Path;
pop
16: new sun.tools.java.ClassPath
dup
aload 3
aload 3
invokevirtual sun.rmi.rmic.BatchEnvironment$Path.size:()I
anewarray java.lang.String
invokevirtual sun.rmi.rmic.BatchEnvironment$Path.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokespecial sun.tools.java.ClassPath.<init>:([Ljava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 classPathString Ljava/lang/String;
0 17 1 sysClassPathString Ljava/lang/String;
0 17 2 extDirsString Ljava/lang/String;
1 17 3 path Lsun/rmi/rmic/BatchEnvironment$Path;
MethodParameters:
Name Flags
classPathString
sysClassPathString
extDirsString
public void <init>(java.io.OutputStream, sun.tools.java.ClassPath, sun.rmi.rmic.Main);
descriptor: (Ljava/io/OutputStream;Lsun/tools/java/ClassPath;Lsun/rmi/rmic/Main;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
new sun.tools.java.ClassPath
dup
ldc ""
invokespecial sun.tools.java.ClassPath.<init>:(Ljava/lang/String;)V
aload 2
invokespecial sun.tools.javac.BatchEnvironment.<init>:(Ljava/io/OutputStream;Lsun/tools/java/ClassPath;Lsun/tools/java/ClassPath;)V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.rmi.rmic.BatchEnvironment.generatedFiles:Ljava/util/Vector;
2: aload 0
aload 3
putfield sun.rmi.rmic.BatchEnvironment.main:Lsun/rmi/rmic/Main;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/rmi/rmic/BatchEnvironment;
0 4 1 out Ljava/io/OutputStream;
0 4 2 path Lsun/tools/java/ClassPath;
0 4 3 main Lsun/rmi/rmic/Main;
MethodParameters:
Name Flags
out
path
main
public sun.rmi.rmic.Main getMain();
descriptor: ()Lsun/rmi/rmic/Main;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.rmic.BatchEnvironment.main:Lsun/rmi/rmic/Main;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/BatchEnvironment;
public sun.tools.java.ClassPath getClassPath();
descriptor: ()Lsun/tools/java/ClassPath;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.rmi.rmic.BatchEnvironment.binaryPath:Lsun/tools/java/ClassPath;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/BatchEnvironment;
public void addGeneratedFile(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.rmi.rmic.BatchEnvironment.generatedFiles:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/rmi/rmic/BatchEnvironment;
0 2 1 file Ljava/io/File;
MethodParameters:
Name Flags
file
public void deleteGeneratedFiles();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.rmi.rmic.BatchEnvironment.generatedFiles:Ljava/util/Vector;
dup
astore 1
monitorenter
1: aload 0
getfield sun.rmi.rmic.BatchEnvironment.generatedFiles:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
astore 2
start local 2 2: goto 5
3: StackMap locals: java.util.Vector java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.io.File
astore 3
start local 3 4: aload 3
invokevirtual java.io.File.delete:()Z
pop
end local 3 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 3
6: aload 0
getfield sun.rmi.rmic.BatchEnvironment.generatedFiles:Ljava/util/Vector;
invokevirtual java.util.Vector.removeAllElements:()V
end local 2 7: aload 1
monitorexit
8: goto 11
StackMap locals: sun.rmi.rmic.BatchEnvironment java.util.Vector
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/rmi/rmic/BatchEnvironment;
2 7 2 enumeration Ljava/util/Enumeration<Ljava/io/File;>;
4 5 3 file Ljava/io/File;
Exception table:
from to target type
1 8 9 any
9 10 9 any
public void shutdown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield sun.rmi.rmic.BatchEnvironment.main:Lsun/rmi/rmic/Main;
1: aload 0
aconst_null
putfield sun.rmi.rmic.BatchEnvironment.generatedFiles:Ljava/util/Vector;
2: aload 0
invokespecial sun.tools.javac.BatchEnvironment.shutdown:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/rmi/rmic/BatchEnvironment;
public java.lang.String errorString(java.lang.String, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ldc "rmic."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 1
aload 1
ldc "warn.rmic."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 12
1: StackMap locals:
StackMap stack:
aload 1
2: aload 2
ifnull 3
aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
goto 4
StackMap locals:
StackMap stack: java.lang.String
3: aconst_null
4: StackMap locals: sun.rmi.rmic.BatchEnvironment java.lang.String java.lang.Object java.lang.Object java.lang.Object
StackMap stack: java.lang.String java.lang.String
aload 3
ifnull 5
aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
goto 6
StackMap locals: sun.rmi.rmic.BatchEnvironment java.lang.String java.lang.Object java.lang.Object java.lang.Object
StackMap stack: java.lang.String java.lang.String
5: aconst_null
6: StackMap locals: sun.rmi.rmic.BatchEnvironment java.lang.String java.lang.Object java.lang.Object java.lang.Object
StackMap stack: java.lang.String java.lang.String java.lang.String
aload 4
ifnull 7
aload 4
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
goto 8
StackMap locals: sun.rmi.rmic.BatchEnvironment java.lang.String java.lang.Object java.lang.Object java.lang.Object
StackMap stack: java.lang.String java.lang.String java.lang.String
7: aconst_null
8: StackMap locals: sun.rmi.rmic.BatchEnvironment java.lang.String java.lang.Object java.lang.Object java.lang.Object
StackMap stack: java.lang.String java.lang.String java.lang.String java.lang.String
invokestatic sun.rmi.rmic.Main.getText:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 5
start local 5 9: aload 1
ldc "warn."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
10: new java.lang.StringBuilder
dup
ldc "warning: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
11: StackMap locals: java.lang.String
StackMap stack:
aload 5
areturn
end local 5 12: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial sun.tools.javac.BatchEnvironment.errorString:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/rmi/rmic/BatchEnvironment;
0 13 1 err Ljava/lang/String;
0 13 2 arg0 Ljava/lang/Object;
0 13 3 arg1 Ljava/lang/Object;
0 13 4 arg2 Ljava/lang/Object;
9 12 5 result Ljava/lang/String;
MethodParameters:
Name Flags
err
arg0
arg1
arg2
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/rmi/rmic/BatchEnvironment;
}
SourceFile: "BatchEnvironment.java"
NestMembers:
sun.rmi.rmic.BatchEnvironment$Path sun.rmi.rmic.BatchEnvironment$Path$PathIterator sun.rmi.rmic.BatchEnvironment$Path$PathIterator$1
InnerClasses:
private Path = sun.rmi.rmic.BatchEnvironment$Path of sun.rmi.rmic.BatchEnvironment