public class org.jruby.util.NailMain
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.util.NailMain
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 Lorg/jruby/util/NailMain;
public static void nailMain(com.martiansoftware.nailgun.NGContext);
descriptor: (Lcom/martiansoftware/nailgun/NGContext;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new org.jruby.util.NailMain
dup
invokespecial org.jruby.util.NailMain.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual org.jruby.util.NailMain.run:(Lcom/martiansoftware/nailgun/NGContext;)I
istore 2
start local 2 2: iload 2
ifeq 4
3: aload 0
iload 2
invokevirtual com.martiansoftware.nailgun.NGContext.exit:(I)V
4: StackMap locals: org.jruby.util.NailMain int
StackMap stack:
invokestatic java.lang.System.gc:()V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 context Lcom/martiansoftware/nailgun/NGContext;
1 6 1 main Lorg/jruby/util/NailMain;
2 6 2 status I
MethodParameters:
Name Flags
context
public int run(com.martiansoftware.nailgun.NGContext);
descriptor: (Lcom/martiansoftware/nailgun/NGContext;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.martiansoftware.nailgun.NGContext.assertLoopbackClient:()V
1: new org.jruby.RubyInstanceConfig
dup
invokespecial org.jruby.RubyInstanceConfig.<init>:()V
astore 2
start local 2 2: new org.jruby.Main
dup
aload 2
invokespecial org.jruby.Main.<init>:(Lorg/jruby/RubyInstanceConfig;)V
astore 3
start local 3 3: aload 2
aload 1
invokevirtual com.martiansoftware.nailgun.NGContext.getWorkingDirectory:()Ljava/lang/String;
invokevirtual org.jruby.RubyInstanceConfig.setCurrentDirectory:(Ljava/lang/String;)V
4: aload 2
aload 1
invokevirtual com.martiansoftware.nailgun.NGContext.getEnv:()Ljava/util/Properties;
invokestatic org.jruby.util.OSEnvironment.propertiesToStringMap:(Ljava/util/Properties;)Ljava/util/Map;
invokevirtual org.jruby.RubyInstanceConfig.setEnvironment:(Ljava/util/Map;)V
5: aload 3
aload 1
invokevirtual com.martiansoftware.nailgun.NGContext.getArgs:()[Ljava/lang/String;
invokevirtual org.jruby.Main.run:([Ljava/lang/String;)Lorg/jruby/Main$Status;
invokevirtual org.jruby.Main$Status.getStatus:()I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/util/NailMain;
0 6 1 context Lcom/martiansoftware/nailgun/NGContext;
2 6 2 config Lorg/jruby/RubyInstanceConfig;
3 6 3 main Lorg/jruby/Main;
MethodParameters:
Name Flags
context
}
SourceFile: "NailMain.java"
InnerClasses:
public Status = org.jruby.Main$Status of org.jruby.Main