public class com.sun.jndi.toolkit.corba.CorbaUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.jndi.toolkit.corba.CorbaUtils
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 Lcom/sun/jndi/toolkit/corba/CorbaUtils;
public static org.omg.CORBA.Object remoteToCorba(java.rmi.Remote, org.omg.CORBA.ORB);
descriptor: (Ljava/rmi/Remote;Lorg/omg/CORBA/ORB;)Lorg/omg/CORBA/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic javax.rmi.PortableRemoteObject.toStub:(Ljava/rmi/Remote;)Ljava/rmi/Remote;
astore 2
start local 2 1: goto 8
end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
2: astore 3
start local 3 3: new javax.naming.ConfigurationException
dup
4: ldc "Problem with PortableRemoteObject.toStub(); object not exported or stub not found"
5: invokespecial javax.naming.ConfigurationException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 6: aload 4
aload 3
invokevirtual javax.naming.ConfigurationException.setRootCause:(Ljava/lang/Throwable;)V
7: aload 4
athrow
end local 4 end local 3 start local 2 8: StackMap locals: java.rmi.Remote
StackMap stack:
aload 2
instanceof javax.rmi.CORBA.Stub
ifne 10
9: aconst_null
areturn
10: StackMap locals:
StackMap stack:
aload 2
checkcast javax.rmi.CORBA.Stub
aload 1
invokevirtual javax.rmi.CORBA.Stub.connect:(Lorg/omg/CORBA/ORB;)V
11: goto 19
StackMap locals:
StackMap stack: java.rmi.RemoteException
12: pop
goto 19
13: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 14: new javax.naming.ConfigurationException
dup
15: ldc "Problem invoking javax.rmi.CORBA.Stub.connect()"
16: invokespecial javax.naming.ConfigurationException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 17: aload 4
aload 3
invokevirtual javax.naming.ConfigurationException.setRootCause:(Ljava/lang/Throwable;)V
18: aload 4
athrow
end local 4 end local 3 19: StackMap locals:
StackMap stack:
aload 2
checkcast org.omg.CORBA.Object
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 remoteObj Ljava/rmi/Remote;
0 20 1 orb Lorg/omg/CORBA/ORB;
1 2 2 stub Ljava/rmi/Remote;
8 20 2 stub Ljava/rmi/Remote;
3 8 3 t Ljava/lang/Throwable;
6 8 4 ce Ljavax/naming/ConfigurationException;
14 19 3 t Ljava/lang/Throwable;
17 19 4 ce Ljavax/naming/ConfigurationException;
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
10 11 12 Class java.rmi.RemoteException
10 11 13 Class java.lang.Throwable
Exceptions:
throws javax.naming.ConfigurationException
MethodParameters:
Name Flags
remoteObj
orb
public static org.omg.CORBA.ORB getOrb(java.lang.String, int, java.util.Hashtable<?, ?>);
descriptor: (Ljava/lang/String;ILjava/util/Hashtable;)Lorg/omg/CORBA/ORB;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 13
1: aload 2
instanceof java.util.Properties
ifeq 4
2: aload 2
invokevirtual java.util.Hashtable.clone:()Ljava/lang/Object;
checkcast java.util.Properties
astore 3
start local 3 3: goto 14
end local 3 4: StackMap locals:
StackMap stack:
new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 3
start local 3 5: aload 2
invokevirtual java.util.Hashtable.keys:()Ljava/util/Enumeration;
astore 4
start local 4 6: goto 11
7: StackMap locals: java.util.Properties java.util.Enumeration
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 8: aload 2
aload 5
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 9: aload 6
instanceof java.lang.String
ifeq 11
10: aload 3
aload 5
aload 6
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 5 11: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 7
end local 4 12: goto 14
end local 3 13: StackMap locals:
StackMap stack:
new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 3
start local 3 14: StackMap locals: java.util.Properties
StackMap stack:
aload 0
ifnull 16
15: aload 3
ldc "org.omg.CORBA.ORBInitialHost"
aload 0
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: StackMap locals:
StackMap stack:
iload 1
iflt 18
17: aload 3
ldc "org.omg.CORBA.ORBInitialPort"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: StackMap locals:
StackMap stack:
aload 2
ifnull 22
19: aload 2
ldc "java.naming.applet"
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.applet.Applet
astore 4
start local 4 20: aload 4
ifnull 22
21: aload 4
aload 3
invokestatic org.omg.CORBA.ORB.init:(Ljava/applet/Applet;Ljava/util/Properties;)Lorg/omg/CORBA/ORB;
areturn
end local 4 22: StackMap locals:
StackMap stack:
iconst_0
anewarray java.lang.String
aload 3
invokestatic org.omg.CORBA.ORB.init:([Ljava/lang/String;Ljava/util/Properties;)Lorg/omg/CORBA/ORB;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 server Ljava/lang/String;
0 23 1 port I
0 23 2 env Ljava/util/Hashtable<**>;
3 4 3 orbProp Ljava/util/Properties;
5 13 3 orbProp Ljava/util/Properties;
14 23 3 orbProp Ljava/util/Properties;
6 12 4 envProp Ljava/util/Enumeration<*>;
8 11 5 key Ljava/lang/String;
9 11 6 val Ljava/lang/Object;
20 22 4 applet Ljava/applet/Applet;
Signature: (Ljava/lang/String;ILjava/util/Hashtable<**>;)Lorg/omg/CORBA/ORB;
MethodParameters:
Name Flags
server
port
env
public static boolean isObjectFactoryTrusted(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
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
instanceof javax.naming.Reference
ifeq 4
2: aload 0
checkcast javax.naming.Reference
astore 1
3: goto 6
StackMap locals: javax.naming.Reference
StackMap stack:
4: aload 0
instanceof javax.naming.Referenceable
ifeq 6
5: aload 0
checkcast javax.naming.Referenceable
invokeinterface javax.naming.Referenceable.getReference:()Ljavax/naming/Reference;
astore 1
6: StackMap locals:
StackMap stack:
aload 1
ifnull 11
aload 1
invokevirtual javax.naming.Reference.getFactoryClassLocation:()Ljava/lang/String;
ifnull 11
7: getstatic com.sun.jndi.cosnaming.CNCtx.trustURLCodebase:Z
ifne 11
8: new javax.naming.ConfigurationException
dup
9: ldc "The object factory is untrusted. Set the system property 'com.sun.jndi.cosnaming.object.trustURLCodebase' to 'true'."
10: invokespecial javax.naming.ConfigurationException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 obj Ljava/lang/Object;
1 12 1 ref Ljavax/naming/Reference;
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
obj
public static final java.lang.String decode(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "8859_1"
invokestatic com.sun.jndi.toolkit.corba.CorbaUtils.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
pop
3: new java.net.MalformedURLException
dup
ldc "ISO-Latin-1 decoder unavailable"
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 s Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.io.UnsupportedEncodingException
Exceptions:
throws java.net.MalformedURLException
MethodParameters:
Name Flags
s
public static final java.lang.String decode(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic java.net.URLDecoder.decode:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 2
start local 2 3: new java.net.MalformedURLException
dup
new java.lang.StringBuilder
dup
ldc "Invalid URI encoding: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.MalformedURLException.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: aload 3
aload 2
invokevirtual java.net.MalformedURLException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
5: aload 3
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 s Ljava/lang/String;
0 6 1 enc Ljava/lang/String;
3 6 2 iae Ljava/lang/IllegalArgumentException;
4 6 3 mue Ljava/net/MalformedURLException;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalArgumentException
Exceptions:
throws java.net.MalformedURLException, java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
s
enc
}
SourceFile: "CorbaUtils.java"