public class sun.net.NetProperties
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.net.NetProperties
super_class: java.lang.Object
{
private static java.util.Properties props;
descriptor: Ljava/util/Properties;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
putstatic sun.net.NetProperties.props:Ljava/util/Properties;
1: new sun.net.NetProperties$1
dup
invokespecial sun.net.NetProperties$1.<init>:()V
2: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
3: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/net/NetProperties;
private static void loadDefaultProperties();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=4, args_size=0
0: ldc "java.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnonnull 3
2: new java.lang.Error
dup
ldc "Can't find java.home ??"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
new java.io.File
dup
aload 0
ldc "conf"
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 1
start local 1 4: new java.io.File
dup
aload 1
ldc "net.properties"
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 1
5: aload 1
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
astore 0
6: new java.io.FileInputStream
dup
aload 0
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
astore 2
start local 2 7: new java.io.BufferedInputStream
dup
aload 2
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 3
start local 3 8: getstatic sun.net.NetProperties.props:Ljava/util/Properties;
aload 3
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
9: aload 3
invokevirtual java.io.BufferedInputStream.close:()V
end local 3 end local 2 end local 1 10: goto 12
StackMap locals:
StackMap stack: java.lang.Exception
11: pop
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 13 0 fname Ljava/lang/String;
4 10 1 f Ljava/io/File;
7 10 2 in Ljava/io/InputStream;
8 10 3 bin Ljava/io/BufferedInputStream;
Exception table:
from to target type
3 10 11 Class java.lang.Exception
public static java.lang.String get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.net.NetProperties.props:Ljava/util/Properties;
aload 0
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 0
aload 1
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2: areturn
3: StackMap locals: java.lang.String java.lang.String
StackMap stack: java.lang.IllegalArgumentException
pop
goto 5
4: StackMap locals:
StackMap stack: java.lang.NullPointerException
pop
5: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 key Ljava/lang/String;
1 6 1 def Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.IllegalArgumentException
1 2 4 Class java.lang.NullPointerException
MethodParameters:
Name Flags
key
public static java.lang.Integer getInteger(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/lang/Integer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getstatic sun.net.NetProperties.props:Ljava/util/Properties;
aload 0
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
2: goto 5
StackMap locals: java.lang.String int java.lang.String
StackMap stack: java.lang.IllegalArgumentException
3: pop
goto 5
4: StackMap locals:
StackMap stack: java.lang.NullPointerException
pop
5: StackMap locals:
StackMap stack:
aload 2
ifnull 9
6: aload 2
invokestatic java.lang.Integer.decode:(Ljava/lang/String;)Ljava/lang/Integer;
7: areturn
8: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
9: StackMap locals:
StackMap stack:
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 key Ljava/lang/String;
0 10 1 defval I
1 10 2 val Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.IllegalArgumentException
1 2 4 Class java.lang.NullPointerException
6 7 8 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
key
defval
public static java.lang.Boolean getBoolean(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Boolean;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getstatic sun.net.NetProperties.props:Ljava/util/Properties;
aload 0
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
2: goto 5
StackMap locals: java.lang.String java.lang.String
StackMap stack: java.lang.IllegalArgumentException
3: pop
goto 5
4: StackMap locals:
StackMap stack: java.lang.NullPointerException
pop
5: StackMap locals:
StackMap stack:
aload 1
ifnull 9
6: aload 1
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
7: areturn
8: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 key Ljava/lang/String;
1 10 1 val Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.lang.IllegalArgumentException
1 2 4 Class java.lang.NullPointerException
6 7 8 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
key
}
SourceFile: "NetProperties.java"
NestMembers:
sun.net.NetProperties$1
InnerClasses:
sun.net.NetProperties$1