public class sun.security.util.PropertyExpander
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.util.PropertyExpander
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/security/util/PropertyExpander;
public static java.lang.String expand(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: aload 0
iconst_0
invokestatic sun.security.util.PropertyExpander.expand:(Ljava/lang/String;Z)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/String;
Exceptions:
throws sun.security.util.PropertyExpander$ExpandException
MethodParameters:
Name Flags
value
public static java.lang.String expand(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "${"
iconst_0
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
istore 2
start local 2 3: iload 2
iconst_m1
if_icmpne 4
aload 0
areturn
4: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 3
start local 3 5: aload 0
invokevirtual java.lang.String.length:()I
istore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 51
8: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
iload 2
iload 5
if_icmple 11
9: aload 3
aload 0
iload 5
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: iload 2
istore 5
11: StackMap locals:
StackMap stack:
iload 2
iconst_2
iadd
istore 6
start local 6 12: iload 6
iload 4
if_icmpge 21
aload 0
iload 6
invokevirtual java.lang.String.charAt:(I)C
bipush 123
if_icmpne 21
13: aload 0
ldc "}}"
iload 6
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
istore 6
14: iload 6
iconst_m1
if_icmpeq 15
iload 6
iconst_2
iadd
iload 4
if_icmpne 17
15: StackMap locals: int
StackMap stack:
aload 3
aload 0
iload 2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: goto 52
17: StackMap locals:
StackMap stack:
iinc 6 1
18: aload 3
aload 0
iload 2
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: goto 45
20: StackMap locals:
StackMap stack:
iinc 6 1
21: StackMap locals:
StackMap stack:
iload 6
iload 4
if_icmpge 22
aload 0
iload 6
invokevirtual java.lang.String.charAt:(I)C
bipush 125
if_icmpne 20
22: StackMap locals:
StackMap stack:
iload 6
iload 4
if_icmpne 25
23: aload 3
aload 0
iload 2
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
24: goto 52
25: StackMap locals:
StackMap stack:
aload 0
iload 2
iconst_2
iadd
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
start local 7 26: aload 7
ldc "/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 29
27: aload 3
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
28: goto 45
29: StackMap locals: java.lang.String
StackMap stack:
aload 7
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 30: aload 8
ifnull 40
31: iload 1
ifeq 38
32: aload 3
invokevirtual java.lang.StringBuilder.length:()I
ifgt 34
33: new java.net.URI
dup
aload 8
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
invokevirtual java.net.URI.isAbsolute:()Z
ifne 38
34: StackMap locals: java.lang.String
StackMap stack:
aload 8
invokestatic sun.net.www.ParseUtil.encodePath:(Ljava/lang/String;)Ljava/lang/String;
astore 8
35: goto 38
StackMap locals:
StackMap stack: java.net.URISyntaxException
36: pop
37: aload 8
invokestatic sun.net.www.ParseUtil.encodePath:(Ljava/lang/String;)Ljava/lang/String;
astore 8
38: StackMap locals:
StackMap stack:
aload 3
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
39: goto 45
40: StackMap locals:
StackMap stack:
new sun.security.util.PropertyExpander$ExpandException
dup
41: new java.lang.StringBuilder
dup
ldc "unable to expand property "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
42: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
43: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
44: invokespecial sun.security.util.PropertyExpander$ExpandException.<init>:(Ljava/lang/String;)V
athrow
end local 8 end local 7 45: StackMap locals:
StackMap stack:
iload 6
iconst_1
iadd
istore 5
46: aload 0
ldc "${"
iload 5
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
istore 2
47: iload 2
iconst_m1
if_icmpne 51
48: iload 5
iload 4
if_icmpge 52
49: aload 3
aload 0
iload 5
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
50: goto 52
end local 6 51: StackMap locals:
StackMap stack:
iload 2
iload 4
if_icmplt 8
52: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.StringBuilder.toString:()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 53 0 value Ljava/lang/String;
0 53 1 encodeURL Z
3 53 2 p I
5 53 3 sb Ljava/lang/StringBuilder;
6 53 4 max I
7 53 5 i I
12 51 6 pe I
26 45 7 prop Ljava/lang/String;
30 45 8 val Ljava/lang/String;
Exception table:
from to target type
32 35 36 Class java.net.URISyntaxException
Exceptions:
throws sun.security.util.PropertyExpander$ExpandException
MethodParameters:
Name Flags
value
encodeURL
}
SourceFile: "PropertyExpander.java"
NestMembers:
sun.security.util.PropertyExpander$ExpandException
InnerClasses:
public ExpandException = sun.security.util.PropertyExpander$ExpandException of sun.security.util.PropertyExpander