public class org.jruby.runtime.load.JavaCompiledScript implements org.jruby.runtime.load.Library
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.runtime.load.JavaCompiledScript
super_class: java.lang.Object
{
private final org.jruby.runtime.load.LoadServiceResource resource;
descriptor: Lorg/jruby/runtime/load/LoadServiceResource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.runtime.load.LoadServiceResource);
descriptor: (Lorg/jruby/runtime/load/LoadServiceResource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.jruby.runtime.load.JavaCompiledScript this
start local 1 // org.jruby.runtime.load.LoadServiceResource resource
0: .line 39
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 40
aload 0 /* this */
aload 1 /* resource */
putfield org.jruby.runtime.load.JavaCompiledScript.resource:Lorg/jruby/runtime/load/LoadServiceResource;
2: .line 41
return
end local 1 // org.jruby.runtime.load.LoadServiceResource resource
end local 0 // org.jruby.runtime.load.JavaCompiledScript this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/load/JavaCompiledScript;
0 3 1 resource Lorg/jruby/runtime/load/LoadServiceResource;
MethodParameters:
Name Flags
resource
public void load(org.jruby.Ruby, boolean);
descriptor: (Lorg/jruby/Ruby;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 // org.jruby.runtime.load.JavaCompiledScript this
start local 1 // org.jruby.Ruby runtime
start local 2 // boolean wrap
0: .line 45
aload 1 /* runtime */
aload 0 /* this */
getfield org.jruby.runtime.load.JavaCompiledScript.resource:Lorg/jruby/runtime/load/LoadServiceResource;
invokevirtual org.jruby.runtime.load.LoadServiceResource.getInputStream:()Ljava/io/InputStream;
aload 0 /* this */
getfield org.jruby.runtime.load.JavaCompiledScript.resource:Lorg/jruby/runtime/load/LoadServiceResource;
invokevirtual org.jruby.runtime.load.LoadServiceResource.getPath:()Ljava/io/File;
aload 0 /* this */
getfield org.jruby.runtime.load.JavaCompiledScript.resource:Lorg/jruby/runtime/load/LoadServiceResource;
invokevirtual org.jruby.runtime.load.LoadServiceResource.getName:()Ljava/lang/String;
aload 0 /* this */
getfield org.jruby.runtime.load.JavaCompiledScript.resource:Lorg/jruby/runtime/load/LoadServiceResource;
invokevirtual org.jruby.runtime.load.LoadServiceResource.isAbsolute:()Z
invokestatic org.jruby.runtime.load.CompiledScriptLoader.loadScriptFromFile:(Lorg/jruby/Ruby;Ljava/io/InputStream;Ljava/io/File;Ljava/lang/String;Z)Lorg/jruby/ir/IRScope;
astore 3 /* script */
start local 3 // org.jruby.ir.IRScope script
1: .line 46
aload 3 /* script */
ifnonnull 3
2: .line 49
return
3: .line 51
StackMap locals: org.jruby.ir.IRScope
StackMap stack:
aload 3 /* script */
aload 0 /* this */
getfield org.jruby.runtime.load.JavaCompiledScript.resource:Lorg/jruby/runtime/load/LoadServiceResource;
invokevirtual org.jruby.runtime.load.LoadServiceResource.getName:()Ljava/lang/String;
invokevirtual org.jruby.ir.IRScope.setFileName:(Ljava/lang/String;)V
4: .line 52
aload 1 /* runtime */
aload 3 /* script */
iload 2 /* wrap */
invokevirtual org.jruby.Ruby.loadScope:(Lorg/jruby/ir/IRScope;Z)V
end local 3 // org.jruby.ir.IRScope script
5: .line 53
goto 8
StackMap locals: org.jruby.runtime.load.JavaCompiledScript org.jruby.Ruby int
StackMap stack: java.io.IOException
6: astore 3 /* e */
start local 3 // java.io.IOException e
7: .line 54
aload 1 /* runtime */
aload 3 /* e */
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 3 // java.io.IOException e
8: .line 56
StackMap locals:
StackMap stack:
return
end local 2 // boolean wrap
end local 1 // org.jruby.Ruby runtime
end local 0 // org.jruby.runtime.load.JavaCompiledScript this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/runtime/load/JavaCompiledScript;
0 9 1 runtime Lorg/jruby/Ruby;
0 9 2 wrap Z
1 5 3 script Lorg/jruby/ir/IRScope;
7 8 3 e Ljava/io/IOException;
Exception table:
from to target type
0 2 6 Class java.io.IOException
3 5 6 Class java.io.IOException
MethodParameters:
Name Flags
runtime
wrap
}
SourceFile: "JavaCompiledScript.java"