class javax.rmi.CORBA.GetORBPropertiesFileAction implements java.security.PrivilegedAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.rmi.CORBA.GetORBPropertiesFileAction
super_class: java.lang.Object
{
private boolean debug;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 // javax.rmi.CORBA.GetORBPropertiesFileAction this
0: .line 51
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 49
aload 0 /* this */
iconst_0
putfield javax.rmi.CORBA.GetORBPropertiesFileAction.debug:Z
2: .line 52
return
end local 0 // javax.rmi.CORBA.GetORBPropertiesFileAction this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/rmi/CORBA/GetORBPropertiesFileAction;
private java.lang.String getSystemProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 // javax.rmi.CORBA.GetORBPropertiesFileAction this
start local 1 // java.lang.String name
0: .line 58
new javax.rmi.CORBA.GetORBPropertiesFileAction$1
dup
aload 0 /* this */
aload 1 /* name */
invokespecial javax.rmi.CORBA.GetORBPropertiesFileAction$1.<init>:(Ljavax/rmi/CORBA/GetORBPropertiesFileAction;Ljava/lang/String;)V
1: .line 57
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 2 /* propValue */
start local 2 // java.lang.String propValue
2: .line 65
aload 2 /* propValue */
areturn
end local 2 // java.lang.String propValue
end local 1 // java.lang.String name
end local 0 // javax.rmi.CORBA.GetORBPropertiesFileAction this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/rmi/CORBA/GetORBPropertiesFileAction;
0 3 1 name Ljava/lang/String;
2 3 2 propValue Ljava/lang/String;
MethodParameters:
Name Flags
name final
private void getPropertiesFromFile(java.util.Properties, java.lang.String);
descriptor: (Ljava/util/Properties;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 // javax.rmi.CORBA.GetORBPropertiesFileAction this
start local 1 // java.util.Properties props
start local 2 // java.lang.String fileName
0: .line 71
new java.io.File
dup
aload 2 /* fileName */
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3 /* file */
start local 3 // java.io.File file
1: .line 72
aload 3 /* file */
invokevirtual java.io.File.exists:()Z
ifne 3
2: .line 73
return
3: .line 75
StackMap locals: java.io.File
StackMap stack:
new java.io.FileInputStream
dup
aload 3 /* file */
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 4 /* in */
start local 4 // java.io.FileInputStream in
4: .line 78
aload 1 /* props */
aload 4 /* in */
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
5: .line 79
goto 9
StackMap locals: javax.rmi.CORBA.GetORBPropertiesFileAction java.util.Properties java.lang.String java.io.File java.io.FileInputStream
StackMap stack: java.lang.Throwable
6: astore 5
7: .line 80
aload 4 /* in */
invokevirtual java.io.FileInputStream.close:()V
8: .line 81
aload 5
athrow
9: .line 80
StackMap locals:
StackMap stack:
aload 4 /* in */
invokevirtual java.io.FileInputStream.close:()V
end local 4 // java.io.FileInputStream in
end local 3 // java.io.File file
10: .line 82
goto 16
StackMap locals: javax.rmi.CORBA.GetORBPropertiesFileAction java.util.Properties java.lang.String
StackMap stack: java.lang.Exception
11: astore 3 /* exc */
start local 3 // java.lang.Exception exc
12: .line 83
aload 0 /* this */
getfield javax.rmi.CORBA.GetORBPropertiesFileAction.debug:Z
ifeq 16
13: .line 84
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "ORB properties file "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2 /* fileName */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: .line 85
ldc " not found: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3 /* exc */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: .line 84
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 3 // java.lang.Exception exc
16: .line 87
StackMap locals:
StackMap stack:
return
end local 2 // java.lang.String fileName
end local 1 // java.util.Properties props
end local 0 // javax.rmi.CORBA.GetORBPropertiesFileAction this
LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/rmi/CORBA/GetORBPropertiesFileAction;
0 17 1 props Ljava/util/Properties;
0 17 2 fileName Ljava/lang/String;
1 10 3 file Ljava/io/File;
4 10 4 in Ljava/io/FileInputStream;
12 16 3 exc Ljava/lang/Exception;
Exception table:
from to target type
4 6 6 any
0 2 11 Class java.lang.Exception
3 10 11 Class java.lang.Exception
MethodParameters:
Name Flags
props
fileName
public java.lang.Object run();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=1
start local 0 // javax.rmi.CORBA.GetORBPropertiesFileAction this
0: .line 91
new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 1 /* defaults */
start local 1 // java.util.Properties defaults
1: .line 93
aload 0 /* this */
ldc "java.home"
invokevirtual javax.rmi.CORBA.GetORBPropertiesFileAction.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2 /* javaHome */
start local 2 // java.lang.String javaHome
2: .line 94
new java.lang.StringBuilder
dup
aload 2 /* javaHome */
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "lib"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: .line 95
ldc "orb.properties"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: .line 94
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3 /* fileName */
start local 3 // java.lang.String fileName
5: .line 97
aload 0 /* this */
aload 1 /* defaults */
aload 3 /* fileName */
invokevirtual javax.rmi.CORBA.GetORBPropertiesFileAction.getPropertiesFromFile:(Ljava/util/Properties;Ljava/lang/String;)V
6: .line 99
new java.util.Properties
dup
aload 1 /* defaults */
invokespecial java.util.Properties.<init>:(Ljava/util/Properties;)V
astore 4 /* results */
start local 4 // java.util.Properties results
7: .line 101
aload 0 /* this */
ldc "user.home"
invokevirtual javax.rmi.CORBA.GetORBPropertiesFileAction.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5 /* userHome */
start local 5 // java.lang.String userHome
8: .line 102
new java.lang.StringBuilder
dup
aload 5 /* userHome */
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "orb.properties"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3 /* fileName */
9: .line 104
aload 0 /* this */
aload 4 /* results */
aload 3 /* fileName */
invokevirtual javax.rmi.CORBA.GetORBPropertiesFileAction.getPropertiesFromFile:(Ljava/util/Properties;Ljava/lang/String;)V
10: .line 105
aload 4 /* results */
areturn
end local 5 // java.lang.String userHome
end local 4 // java.util.Properties results
end local 3 // java.lang.String fileName
end local 2 // java.lang.String javaHome
end local 1 // java.util.Properties defaults
end local 0 // javax.rmi.CORBA.GetORBPropertiesFileAction this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/rmi/CORBA/GetORBPropertiesFileAction;
1 11 1 defaults Ljava/util/Properties;
2 11 2 javaHome Ljava/lang/String;
5 11 3 fileName Ljava/lang/String;
7 11 4 results Ljava/util/Properties;
8 11 5 userHome Ljava/lang/String;
}
SourceFile: "GetORBPropertiesFileAction.java"
NestMembers:
javax.rmi.CORBA.GetORBPropertiesFileAction$1
InnerClasses:
javax.rmi.CORBA.GetORBPropertiesFileAction$1