public class org.jruby.main.DripMain
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.main.DripMain
super_class: java.lang.Object
{
public static org.jruby.RubyInstanceConfig DRIP_CONFIG;
descriptor: Lorg/jruby/RubyInstanceConfig;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static org.jruby.Ruby DRIP_RUNTIME;
descriptor: Lorg/jruby/Ruby;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
public static final java.lang.String JRUBY_DRIP_WARMUP_ENV;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "JRUBY_DRIP_WARMUP"
public static final java.lang.String JRUBY_DRIP_WARMUP_DEFAULT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "1 + 1"
public static final java.lang.String JRUBY_DRIP_PREBOOT_FILE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "./dripmain.rb"
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/main/DripMain;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: invokestatic org.jruby.Ruby.newInstance:()Lorg/jruby/Ruby;
astore 1
start local 1 1: ldc "JRUBY_DRIP_WARMUP"
invokestatic java.lang.System.getenv:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 5
aload 2
invokevirtual java.lang.String.length:()I
ifle 5
3: aload 1
aload 2
invokevirtual org.jruby.Ruby.evalScriptlet:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
4: goto 6
5: StackMap locals: org.jruby.Ruby java.lang.String
StackMap stack:
aload 1
ldc "1 + 1"
invokevirtual org.jruby.Ruby.evalScriptlet:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
6: StackMap locals:
StackMap stack:
invokestatic org.jruby.Ruby.clearGlobalRuntime:()V
7: new java.io.File
dup
ldc "./dripmain.rb"
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3
start local 3 8: getstatic org.jruby.util.cli.Options.NATIVE_STDIO:Lcom/headius/options/Option;
ldc "false"
invokevirtual com.headius.options.Option.force:(Ljava/lang/String;)V
9: new org.jruby.RubyInstanceConfig
dup
invokespecial org.jruby.RubyInstanceConfig.<init>:()V
astore 4
start local 4 10: aload 4
invokestatic org.jruby.Ruby.newInstance:(Lorg/jruby/RubyInstanceConfig;)Lorg/jruby/Ruby;
astore 1
11: aload 3
invokevirtual java.io.File.exists:()Z
ifeq 19
12: new java.io.FileInputStream
dup
aload 3
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 5
start local 5 13: aload 1
invokevirtual org.jruby.Ruby.getLoadService:()Lorg/jruby/runtime/load/LoadService;
aload 3
invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
iconst_0
invokevirtual org.jruby.runtime.load.LoadService.load:(Ljava/lang/String;Z)V
14: goto 18
StackMap locals: java.lang.String[] org.jruby.Ruby java.lang.String java.io.File org.jruby.RubyInstanceConfig java.io.FileInputStream
StackMap stack: java.lang.Throwable
15: astore 6
16: aload 5
invokevirtual java.io.FileInputStream.close:()V
17: aload 6
athrow
18: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.io.FileInputStream.close:()V
end local 5 19: StackMap locals:
StackMap stack:
aload 4
putstatic org.jruby.main.DripMain.DRIP_CONFIG:Lorg/jruby/RubyInstanceConfig;
20: aload 1
putstatic org.jruby.main.DripMain.DRIP_RUNTIME:Lorg/jruby/Ruby;
21: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 args [Ljava/lang/String;
1 22 1 ruby Lorg/jruby/Ruby;
2 22 2 envWarmup Ljava/lang/String;
8 22 3 dripMain Ljava/io/File;
10 22 4 config Lorg/jruby/RubyInstanceConfig;
13 19 5 fis Ljava/io/FileInputStream;
Exception table:
from to target type
13 15 15 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
args
}
SourceFile: "DripMain.java"