public class com.sun.jndi.cosnaming.IiopUrl$Address
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.jndi.cosnaming.IiopUrl$Address
super_class: java.lang.Object
{
public int port;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int major;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int minor;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public java.lang.String host;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield com.sun.jndi.cosnaming.IiopUrl$Address.port:I
2: iload 2
ifne 4
aload 1
bipush 64
invokevirtual java.lang.String.indexOf:(I)I
dup
istore 4
start local 4 3: ifge 8
end local 4 4: StackMap locals: com.sun.jndi.cosnaming.IiopUrl$Address java.lang.String int
StackMap stack:
aload 0
iconst_1
putfield com.sun.jndi.cosnaming.IiopUrl$Address.major:I
5: aload 0
iconst_0
putfield com.sun.jndi.cosnaming.IiopUrl$Address.minor:I
6: iconst_0
istore 3
start local 3 7: goto 21
end local 3 start local 4 8: StackMap locals: com.sun.jndi.cosnaming.IiopUrl$Address java.lang.String int top int
StackMap stack:
aload 1
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
istore 5
start local 5 9: iload 5
ifge 13
10: new java.net.MalformedURLException
dup
11: new java.lang.StringBuilder
dup
ldc "invalid version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: int
StackMap stack:
aload 0
aload 1
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield com.sun.jndi.cosnaming.IiopUrl$Address.major:I
14: aload 0
aload 1
iload 5
iconst_1
iadd
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield com.sun.jndi.cosnaming.IiopUrl$Address.minor:I
15: goto 20
StackMap locals:
StackMap stack: java.lang.NumberFormatException
16: pop
17: new java.net.MalformedURLException
dup
18: new java.lang.StringBuilder
dup
ldc "Nonnumeric version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
19: invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
iload 4
iconst_1
iadd
istore 3
end local 5 end local 4 start local 3 21: StackMap locals: com.sun.jndi.cosnaming.IiopUrl$Address java.lang.String int int
StackMap stack:
aload 1
bipush 47
iload 3
invokevirtual java.lang.String.indexOf:(II)I
istore 5
start local 5 22: iload 5
ifge 24
23: aload 1
invokevirtual java.lang.String.length:()I
istore 5
24: StackMap locals: com.sun.jndi.cosnaming.IiopUrl$Address java.lang.String int int top int
StackMap stack:
aload 1
ldc "["
iload 3
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;I)Z
ifeq 33
25: aload 1
bipush 93
iload 3
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 6
start local 6 26: iload 6
iflt 27
iload 6
iload 5
if_icmple 30
27: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
28: new java.lang.StringBuilder
dup
ldc "IiopURL: name is an Invalid URL: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
29: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
30: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 3
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield com.sun.jndi.cosnaming.IiopUrl$Address.host:Ljava/lang/String;
31: iload 6
iconst_1
iadd
istore 3
end local 6 32: goto 41
33: StackMap locals:
StackMap stack:
aload 1
bipush 58
iload 3
invokevirtual java.lang.String.indexOf:(II)I
istore 6
start local 6 34: iload 6
iflt 35
iload 6
iload 5
if_icmple 36
35: StackMap locals: int
StackMap stack:
iload 5
goto 37
36: StackMap locals:
StackMap stack:
iload 6
37: StackMap locals:
StackMap stack: int
istore 7
start local 7 38: iload 3
iload 7
if_icmpge 40
39: aload 0
aload 1
iload 3
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield com.sun.jndi.cosnaming.IiopUrl$Address.host:Ljava/lang/String;
40: StackMap locals: int
StackMap stack:
iload 7
istore 3
end local 7 end local 6 41: StackMap locals:
StackMap stack:
iload 3
iconst_1
iadd
iload 5
if_icmpge 51
42: aload 1
ldc ":"
iload 3
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;I)Z
ifeq 48
43: iinc 3 1
44: aload 0
aload 1
45: iload 3
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
46: invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield com.sun.jndi.cosnaming.IiopUrl$Address.port:I
47: goto 51
48: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
49: new java.lang.StringBuilder
dup
ldc "IiopURL: name is an Invalid URL: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
50: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
51: StackMap locals:
StackMap stack:
iload 5
istore 3
52: ldc ""
aload 0
getfield com.sun.jndi.cosnaming.IiopUrl$Address.host:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 53
aload 0
getfield com.sun.jndi.cosnaming.IiopUrl$Address.host:Ljava/lang/String;
ifnonnull 54
53: StackMap locals:
StackMap stack:
aload 0
ldc "localhost"
putfield com.sun.jndi.cosnaming.IiopUrl$Address.host:Ljava/lang/String;
54: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jndi.cosnaming.IiopUrl$Address.port:I
iconst_m1
if_icmpne 58
55: aload 0
iload 2
ifeq 56
sipush 900
goto 57
56: StackMap locals:
StackMap stack: com.sun.jndi.cosnaming.IiopUrl$Address
sipush 9999
57: StackMap locals: com.sun.jndi.cosnaming.IiopUrl$Address java.lang.String int int top int
StackMap stack: com.sun.jndi.cosnaming.IiopUrl$Address int
putfield com.sun.jndi.cosnaming.IiopUrl$Address.port:I
58: StackMap locals:
StackMap stack:
return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Lcom/sun/jndi/cosnaming/IiopUrl$Address;
0 59 1 hostPortVers Ljava/lang/String;
0 59 2 oldFormat Z
7 8 3 start I
21 59 3 start I
3 4 4 at I
8 21 4 at I
9 21 5 dot I
22 59 5 slash I
26 32 6 brac I
34 41 6 colon I
38 41 7 hostEnd I
Exception table:
from to target type
13 15 16 Class java.lang.NumberFormatException
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
hostPortVers
oldFormat
}
SourceFile: "IiopUrl.java"
NestHost: com.sun.jndi.cosnaming.IiopUrl
InnerClasses:
public Address = com.sun.jndi.cosnaming.IiopUrl$Address of com.sun.jndi.cosnaming.IiopUrl