class javax.rmi.GetORBPropertiesFileAction implements java.security.PrivilegedAction
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.rmi.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.GetORBPropertiesFileAction this
0: .line 239
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 237
aload 0 /* this */
iconst_0
putfield javax.rmi.GetORBPropertiesFileAction.debug:Z
2: .line 240
return
end local 0 // javax.rmi.GetORBPropertiesFileAction this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/rmi/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.GetORBPropertiesFileAction this
start local 1 // java.lang.String name
0: .line 246
new javax.rmi.GetORBPropertiesFileAction$1
dup
aload 0 /* this */
aload 1 /* name */
invokespecial javax.rmi.GetORBPropertiesFileAction$1.<init>:(Ljavax/rmi/GetORBPropertiesFileAction;Ljava/lang/String;)V
1: .line 245
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 253
aload 2 /* propValue */
areturn
end local 2 // java.lang.String propValue
end local 1 // java.lang.String name
end local 0 // javax.rmi.GetORBPropertiesFileAction this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/rmi/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.GetORBPropertiesFileAction this
start local 1 // java.util.Properties props
start local 2 // java.lang.String fileName
0: .line 259
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 260
aload 3 /* file */
invokevirtual java.io.File.exists:()Z
ifne 3
2: .line 261
return
3: .line 263
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 266
aload 1 /* props */
aload 4 /* in */
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
5: .line 267
goto 9
StackMap locals: javax.rmi.GetORBPropertiesFileAction java.util.Properties java.lang.String java.io.File java.io.FileInputStream
StackMap stack: java.lang.Throwable
6: astore 5
7: .line 268
aload 4 /* in */
invokevirtual java.io.FileInputStream.close:()V
8: .line 269
aload 5
athrow
9: .line 268
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 270
goto 16
StackMap locals: javax.rmi.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 271
aload 0 /* this */
getfield javax.rmi.GetORBPropertiesFileAction.debug:Z
ifeq 16
13: .line 272
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 273
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 272
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 3 // java.lang.Exception exc
16: .line 275
StackMap locals:
StackMap stack:
return
end local 2 // java.lang.String fileName
end local 1 // java.util.Properties props
end local 0 // javax.rmi.GetORBPropertiesFileAction this
LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/rmi/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.GetORBPropertiesFileAction this
0: .line 279
new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 1 /* defaults */
start local 1 // java.util.Properties defaults
1: .line 281
aload 0 /* this */
ldc "java.home"
invokevirtual javax.rmi.GetORBPropertiesFileAction.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2 /* javaHome */
start local 2 // java.lang.String javaHome
2: .line 282
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 283
ldc "orb.properties"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: .line 282
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3 /* fileName */
start local 3 // java.lang.String fileName
5: .line 285
aload 0 /* this */
aload 1 /* defaults */
aload 3 /* fileName */
invokevirtual javax.rmi.GetORBPropertiesFileAction.getPropertiesFromFile:(Ljava/util/Properties;Ljava/lang/String;)V
6: .line 287
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 289
aload 0 /* this */
ldc "user.home"
invokevirtual javax.rmi.GetORBPropertiesFileAction.getSystemProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 5 /* userHome */
start local 5 // java.lang.String userHome
8: .line 290
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 292
aload 0 /* this */
aload 4 /* results */
aload 3 /* fileName */
invokevirtual javax.rmi.GetORBPropertiesFileAction.getPropertiesFromFile:(Ljava/util/Properties;Ljava/lang/String;)V
10: .line 293
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.GetORBPropertiesFileAction this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/rmi/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: "PortableRemoteObject.java"
NestMembers:
javax.rmi.GetORBPropertiesFileAction$1
InnerClasses:
javax.rmi.GetORBPropertiesFileAction$1