public class com.sun.corba.se.internal.CosNaming.BootstrapServer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.corba.se.internal.CosNaming.BootstrapServer
super_class: java.lang.Object
{
private com.sun.corba.se.spi.orb.ORB orb;
descriptor: Lcom/sun/corba/se/spi/orb/ORB;
flags: (0x0002) ACC_PRIVATE
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/corba/se/internal/CosNaming/BootstrapServer;
public static final void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=4, locals=12, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: sipush 900
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 9
4: StackMap locals: java.lang.String int int
StackMap stack:
aload 0
iload 3
aaload
ldc "-InitialServicesFile"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
iload 3
aload 0
arraylength
iconst_1
isub
if_icmpge 6
5: aload 0
iload 3
iconst_1
iadd
aaload
astore 1
6: StackMap locals:
StackMap stack:
aload 0
iload 3
aaload
ldc "-ORBInitialPort"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
iload 3
aload 0
arraylength
iconst_1
isub
if_icmpge 8
7: aload 0
iload 3
iconst_1
iadd
aaload
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 2
8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 0
arraylength
if_icmplt 4
end local 3 10: aload 1
ifnonnull 15
11: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "bootstrap.usage"
12: ldc "BootstrapServer"
13: invokestatic com.sun.corba.se.impl.orbutil.CorbaResourceUtil.getText:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
14: return
15: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3
start local 3 16: aload 3
invokevirtual java.io.File.exists:()Z
ifeq 21
aload 3
invokevirtual java.io.File.canRead:()Z
ifne 21
17: getstatic java.lang.System.err:Ljava/io/PrintStream;
18: ldc "bootstrap.filenotreadable"
aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
19: invokestatic com.sun.corba.se.impl.orbutil.CorbaResourceUtil.getText:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
20: return
21: StackMap locals: java.io.File
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
22: ldc "bootstrap.success"
iload 2
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
23: aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
24: invokestatic com.sun.corba.se.impl.orbutil.CorbaResourceUtil.getText:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
25: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 4
start local 4 26: aload 4
ldc "com.sun.CORBA.ORBServerPort"
27: iload 2
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
28: invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
29: aload 0
aload 4
invokestatic org.omg.CORBA.ORB.init:([Ljava/lang/String;Ljava/util/Properties;)Lorg/omg/CORBA/ORB;
checkcast com.sun.corba.se.spi.orb.ORB
astore 5
start local 5 30: aload 5
invokevirtual com.sun.corba.se.spi.orb.ORB.getLocalResolver:()Lcom/sun/corba/se/spi/resolver/LocalResolver;
astore 6
start local 6 31: aload 5
aload 3
invokestatic com.sun.corba.se.spi.resolver.ResolverDefault.makeFileResolver:(Lcom/sun/corba/se/spi/orb/ORB;Ljava/io/File;)Lcom/sun/corba/se/spi/resolver/Resolver;
astore 7
start local 7 32: aload 7
aload 6
invokestatic com.sun.corba.se.spi.resolver.ResolverDefault.makeCompositeResolver:(Lcom/sun/corba/se/spi/resolver/Resolver;Lcom/sun/corba/se/spi/resolver/Resolver;)Lcom/sun/corba/se/spi/resolver/Resolver;
astore 8
start local 8 33: aload 8
aload 6
invokestatic com.sun.corba.se.spi.resolver.ResolverDefault.makeSplitLocalResolver:(Lcom/sun/corba/se/spi/resolver/Resolver;Lcom/sun/corba/se/spi/resolver/LocalResolver;)Lcom/sun/corba/se/spi/resolver/LocalResolver;
astore 9
start local 9 34: aload 5
aload 9
invokevirtual com.sun.corba.se.spi.orb.ORB.setLocalResolver:(Lcom/sun/corba/se/spi/resolver/LocalResolver;)V
35: aload 5
ldc "RootPOA"
invokevirtual com.sun.corba.se.spi.orb.ORB.resolve_initial_references:(Ljava/lang/String;)Lorg/omg/CORBA/Object;
pop
36: goto 41
StackMap locals: java.lang.String[] java.lang.String int java.io.File java.util.Properties com.sun.corba.se.spi.orb.ORB com.sun.corba.se.spi.resolver.LocalResolver com.sun.corba.se.spi.resolver.Resolver com.sun.corba.se.spi.resolver.Resolver com.sun.corba.se.spi.resolver.LocalResolver
StackMap stack: org.omg.CORBA.ORBPackage.InvalidName
37: astore 10
start local 10 38: new java.lang.RuntimeException
dup
ldc "This should not happen"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
astore 11
start local 11 39: aload 11
aload 10
invokevirtual java.lang.RuntimeException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
40: aload 11
athrow
end local 11 end local 10 41: StackMap locals:
StackMap stack:
aload 5
invokevirtual com.sun.corba.se.spi.orb.ORB.run:()V
42: return
end local 9 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 43 0 args [Ljava/lang/String;
1 43 1 propertiesFilename Ljava/lang/String;
2 43 2 initialPort I
3 10 3 i I
16 43 3 file Ljava/io/File;
26 43 4 props Ljava/util/Properties;
30 43 5 orb Lcom/sun/corba/se/spi/orb/ORB;
31 43 6 lres Lcom/sun/corba/se/spi/resolver/LocalResolver;
32 43 7 fres Lcom/sun/corba/se/spi/resolver/Resolver;
33 43 8 cres Lcom/sun/corba/se/spi/resolver/Resolver;
34 43 9 sres Lcom/sun/corba/se/spi/resolver/LocalResolver;
38 41 10 e Lorg/omg/CORBA/ORBPackage/InvalidName;
39 41 11 rte Ljava/lang/RuntimeException;
Exception table:
from to target type
35 36 37 Class org.omg.CORBA.ORBPackage.InvalidName
MethodParameters:
Name Flags
args
}
SourceFile: "BootstrapServer.java"