public class com.sun.jndi.url.rmi.rmiURLContext extends com.sun.jndi.toolkit.url.GenericURLContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.jndi.url.rmi.rmiURLContext
super_class: com.sun.jndi.toolkit.url.GenericURLContext
{
public void <init>(java.util.Hashtable<?, ?>);
descriptor: (Ljava/util/Hashtable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.jndi.toolkit.url.GenericURLContext.<init>:(Ljava/util/Hashtable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jndi/url/rmi/rmiURLContext;
0 2 1 env Ljava/util/Hashtable<**>;
Signature: (Ljava/util/Hashtable<**>;)V
MethodParameters:
Name Flags
env
protected javax.naming.spi.ResolveResult getRootURLContext(java.lang.String, java.util.Hashtable<?, ?>);
descriptor: (Ljava/lang/String;Ljava/util/Hashtable;)Ljavax/naming/spi/ResolveResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "rmi:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 4
1: new java.lang.IllegalArgumentException
dup
2: new java.lang.StringBuilder
dup
ldc "rmiURLContext: name is not an RMI 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;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 5: iconst_m1
istore 4
start local 4 6: aconst_null
astore 5
start local 5 7: iconst_4
istore 6
start local 6 8: aload 1
ldc "//"
iload 6
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;I)Z
ifeq 39
9: iinc 6 2
10: aload 1
bipush 47
iload 6
invokevirtual java.lang.String.indexOf:(II)I
istore 7
start local 7 11: iload 7
ifge 13
12: aload 1
invokevirtual java.lang.String.length:()I
istore 7
13: StackMap locals: com.sun.jndi.url.rmi.rmiURLContext java.lang.String java.util.Hashtable java.lang.String int java.lang.String int int
StackMap stack:
aload 1
ldc "["
iload 6
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;I)Z
ifeq 22
14: aload 1
bipush 93
iload 6
iconst_1
iadd
invokevirtual java.lang.String.indexOf:(II)I
istore 8
start local 8 15: iload 8
iflt 16
iload 8
iload 7
if_icmple 19
16: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
17: new java.lang.StringBuilder
dup
ldc "rmiURLContext: 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;
18: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 1
iload 6
iload 8
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
20: iload 8
iconst_1
iadd
istore 6
end local 8 21: goto 30
22: StackMap locals:
StackMap stack:
aload 1
bipush 58
iload 6
invokevirtual java.lang.String.indexOf:(II)I
istore 8
start local 8 23: iload 8
iflt 24
iload 8
iload 7
if_icmple 25
24: StackMap locals: int
StackMap stack:
iload 7
goto 26
25: StackMap locals:
StackMap stack:
iload 8
26: StackMap locals:
StackMap stack: int
istore 9
start local 9 27: iload 6
iload 9
if_icmpge 29
28: aload 1
iload 6
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
29: StackMap locals: int
StackMap stack:
iload 9
istore 6
end local 9 end local 8 30: StackMap locals:
StackMap stack:
iload 6
iconst_1
iadd
iload 7
if_icmpge 38
31: aload 1
ldc ":"
iload 6
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;I)Z
ifeq 35
32: iinc 6 1
33: aload 1
iload 6
iload 7
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
34: goto 38
35: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
36: new java.lang.StringBuilder
dup
ldc "rmiURLContext: 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;
37: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
38: StackMap locals:
StackMap stack:
iload 7
istore 6
end local 7 39: StackMap locals:
StackMap stack:
ldc ""
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 41
40: aconst_null
astore 3
41: StackMap locals:
StackMap stack:
aload 1
ldc "/"
iload 6
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;I)Z
ifeq 43
42: iinc 6 1
43: StackMap locals:
StackMap stack:
iload 6
aload 1
invokevirtual java.lang.String.length:()I
if_icmpge 45
44: aload 1
iload 6
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
45: StackMap locals:
StackMap stack:
new javax.naming.CompositeName
dup
invokespecial javax.naming.CompositeName.<init>:()V
astore 7
start local 7 46: aload 5
ifnull 48
47: aload 7
aload 5
invokevirtual javax.naming.CompositeName.add:(Ljava/lang/String;)Ljavax/naming/Name;
pop
48: StackMap locals: javax.naming.CompositeName
StackMap stack:
new com.sun.jndi.rmi.registry.RegistryContext
dup
aload 3
iload 4
aload 2
invokespecial com.sun.jndi.rmi.registry.RegistryContext.<init>:(Ljava/lang/String;ILjava/util/Hashtable;)V
astore 8
start local 8 49: new javax.naming.spi.ResolveResult
dup
aload 8
aload 7
invokespecial javax.naming.spi.ResolveResult.<init>:(Ljava/lang/Object;Ljavax/naming/Name;)V
areturn
end local 8 end local 7 end local 6 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 50 0 this Lcom/sun/jndi/url/rmi/rmiURLContext;
0 50 1 url Ljava/lang/String;
0 50 2 env Ljava/util/Hashtable<**>;
5 50 3 host Ljava/lang/String;
6 50 4 port I
7 50 5 objName Ljava/lang/String;
8 50 6 i I
11 39 7 slash I
15 21 8 brac I
23 30 8 colon I
27 30 9 hostEnd I
46 50 7 remaining Ljavax/naming/CompositeName;
49 50 8 regCtx Ljavax/naming/Context;
Exceptions:
throws javax.naming.NamingException
Signature: (Ljava/lang/String;Ljava/util/Hashtable<**>;)Ljavax/naming/spi/ResolveResult;
MethodParameters:
Name Flags
url
env
}
SourceFile: "rmiURLContext.java"