public class org.jruby.runtime.load.JarredScript 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.JarredScript
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
private final java.lang.String searchName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.runtime.load.LoadServiceResource, java.lang.String);
descriptor: (Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.runtime.load.JarredScript.resource:Lorg/jruby/runtime/load/LoadServiceResource;
2: aload 0
aload 2
putfield org.jruby.runtime.load.JarredScript.searchName:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/runtime/load/JarredScript;
0 4 1 resource Lorg/jruby/runtime/load/LoadServiceResource;
0 4 2 searchName Ljava/lang/String;
MethodParameters:
Name Flags
resource
searchName
public org.jruby.runtime.load.LoadServiceResource getResource();
descriptor: ()Lorg/jruby/runtime/load/LoadServiceResource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.load.JarredScript.resource:Lorg/jruby/runtime/load/LoadServiceResource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/JarredScript;
public void load(org.jruby.Ruby, boolean);
descriptor: (Lorg/jruby/Ruby;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.load.JarredScript.resource:Lorg/jruby/runtime/load/LoadServiceResource;
invokevirtual org.jruby.runtime.load.LoadServiceResource.getURL:()Ljava/net/URL;
astore 3
start local 3 1: aload 1
invokevirtual org.jruby.Ruby.getJRubyClassLoader:()Lorg/jruby/util/JRubyClassLoader;
aload 3
invokevirtual org.jruby.util.JRubyClassLoader.addURL:(Ljava/net/URL;)V
end local 3 2: goto 5
StackMap locals:
StackMap stack: java.io.IOException
3: astore 3
start local 3 4: aload 1
aload 3
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 3 5: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.jruby.runtime.load.JarredScript.searchName:Ljava/lang/String;
invokestatic org.jruby.runtime.load.ClassExtensionLibrary.tryFind:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/runtime/load/ClassExtensionLibrary;
astore 3
start local 3 6: aload 3
ifnull 8
7: aload 3
aload 1
iload 2
invokevirtual org.jruby.runtime.load.ClassExtensionLibrary.load:(Lorg/jruby/Ruby;Z)V
8: StackMap locals: org.jruby.runtime.load.ClassExtensionLibrary
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/runtime/load/JarredScript;
0 9 1 runtime Lorg/jruby/Ruby;
0 9 2 wrap Z
1 2 3 jarFile Ljava/net/URL;
4 5 3 e Ljava/io/IOException;
6 9 3 serviceExtension Lorg/jruby/runtime/load/ClassExtensionLibrary;
Exception table:
from to target type
0 2 3 Class java.io.IOException
MethodParameters:
Name Flags
runtime
wrap
}
SourceFile: "JarredScript.java"