public class org.jruby.runtime.load.LoadService
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.runtime.load.LoadService
super_class: java.lang.Object
{
static final org.jruby.util.log.Logger LOG;
descriptor: Lorg/jruby/util/log/Logger;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private final org.jruby.runtime.load.LoadService$LoadTimer loadTimer;
descriptor: Lorg/jruby/runtime/load/LoadService$LoadTimer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean canGetAbsolutePath;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
protected static final java.util.regex.Pattern sourcePattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected static final java.util.regex.Pattern extensionPattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected org.jruby.RubyArray loadPath;
descriptor: Lorg/jruby/RubyArray;
flags: (0x0004) ACC_PROTECTED
protected org.jruby.util.collections.StringArraySet loadedFeatures;
descriptor: Lorg/jruby/util/collections/StringArraySet;
flags: (0x0004) ACC_PROTECTED
protected org.jruby.RubyArray loadedFeaturesDup;
descriptor: Lorg/jruby/RubyArray;
flags: (0x0004) ACC_PROTECTED
private final java.util.Map<java.lang.String, java.lang.String> loadedFeaturesIndex;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
protected final java.util.Map<java.lang.String, java.util.jar.JarFile> jarFiles;
descriptor: Ljava/util/Map;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/jar/JarFile;>;
protected final org.jruby.Ruby runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.jruby.runtime.load.LibrarySearcher librarySearcher;
descriptor: Lorg/jruby/runtime/load/LibrarySearcher;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final org.jruby.runtime.load.LoadService$RequireLocks requireLocks;
descriptor: Lorg/jruby/runtime/load/LoadService$RequireLocks;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final java.util.regex.Pattern URI_PATTERN;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected final java.util.Map<java.lang.String, org.jruby.runtime.load.Library> builtinLibraries;
descriptor: Ljava/util/Map;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/jruby/runtime/load/Library;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
private static volatile int[] $SWITCH_TABLE$org$jruby$runtime$load$LoadService$SuffixType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jruby/runtime/load/LoadService;
invokestatic org.jruby.util.log.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/jruby/util/log/Logger;
putstatic org.jruby.runtime.load.LoadService.LOG:Lorg/jruby/util/log/Logger;
1: ldc "\\.(?:rb)$"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.jruby.runtime.load.LoadService.sourcePattern:Ljava/util/regex/Pattern;
2: ldc "\\.(?:so|o|dll|bundle|jar)$"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.jruby.runtime.load.LoadService.extensionPattern:Ljava/util/regex/Pattern;
3: ldc "([a-z]+?://.*)$"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.jruby.runtime.load.LoadService.URI_PATTERN:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield org.jruby.runtime.load.LoadService.canGetAbsolutePath:Z
2: aload 0
new java.util.concurrent.ConcurrentHashMap
dup
bipush 64
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(I)V
putfield org.jruby.runtime.load.LoadService.loadedFeaturesIndex:Ljava/util/Map;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.jruby.runtime.load.LoadService.jarFiles:Ljava/util/Map;
4: aload 0
new org.jruby.runtime.load.LoadService$RequireLocks
dup
aload 0
invokespecial org.jruby.runtime.load.LoadService$RequireLocks.<init>:(Lorg/jruby/runtime/load/LoadService;)V
putfield org.jruby.runtime.load.LoadService.requireLocks:Lorg/jruby/runtime/load/LoadService$RequireLocks;
5: aload 0
new java.util.HashMap
dup
bipush 36
invokespecial java.util.HashMap.<init>:(I)V
putfield org.jruby.runtime.load.LoadService.builtinLibraries:Ljava/util/Map;
6: aload 0
aload 1
putfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
7: getstatic org.jruby.RubyInstanceConfig.DEBUG_LOAD_TIMINGS:Z
ifeq 10
8: aload 0
new org.jruby.runtime.load.LoadService$TracingLoadTimer
dup
invokespecial org.jruby.runtime.load.LoadService$TracingLoadTimer.<init>:()V
putfield org.jruby.runtime.load.LoadService.loadTimer:Lorg/jruby/runtime/load/LoadService$LoadTimer;
9: goto 11
10: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.Ruby
StackMap stack:
aload 0
new org.jruby.runtime.load.LoadService$LoadTimer
dup
invokespecial org.jruby.runtime.load.LoadService$LoadTimer.<init>:()V
putfield org.jruby.runtime.load.LoadService.loadTimer:Lorg/jruby/runtime/load/LoadService$LoadTimer;
11: StackMap locals:
StackMap stack:
aload 0
new org.jruby.runtime.load.LibrarySearcher
dup
aload 0
invokespecial org.jruby.runtime.load.LibrarySearcher.<init>:(Lorg/jruby/runtime/load/LoadService;)V
putfield org.jruby.runtime.load.LoadService.librarySearcher:Lorg/jruby/runtime/load/LibrarySearcher;
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/runtime/load/LoadService;
0 13 1 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
runtime
public void init(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyArray.newArray:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArray;
putfield org.jruby.runtime.load.LoadService.loadPath:Lorg/jruby/RubyArray;
1: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getJRubyHome:()Ljava/lang/String;
astore 2
start local 2 2: aload 0
new org.jruby.util.collections.StringArraySet
dup
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokespecial org.jruby.util.collections.StringArraySet.<init>:(Lorg/jruby/Ruby;)V
putfield org.jruby.runtime.load.LoadService.loadedFeatures:Lorg/jruby/util/collections/StringArraySet;
3: aload 0
aload 1
invokevirtual org.jruby.runtime.load.LoadService.addPaths:(Ljava/util/List;)V
4: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
ldc "ENV"
invokevirtual org.jruby.RubyClass.getConstant:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyHash
astore 3
start local 3 5: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
ldc "RUBYLIB"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
astore 4
start local 4 6: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 5
start local 5 7: aload 3
aload 5
aload 4
invokevirtual org.jruby.RubyHash.has_key_p:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
invokevirtual org.jruby.RubyBoolean.isTrue:()Z
ifeq 11
8: aload 3
aload 5
aload 4
invokevirtual org.jruby.RubyHash.op_aref:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 6
start local 6 9: aload 6
getstatic java.io.File.pathSeparator:Ljava/lang/String;
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 7
start local 7 10: aload 0
aload 7
invokevirtual org.jruby.runtime.load.LoadService.addPaths:([Ljava/lang/String;)V
end local 7 end local 6 11: StackMap locals: org.jruby.runtime.load.LoadService java.util.List java.lang.String org.jruby.RubyHash org.jruby.RubyString org.jruby.runtime.ThreadContext
StackMap stack:
aload 2
ifnull 21
12: aload 0
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.ext.rbconfig.RbConfigLibrary.getSiteDir:(Lorg/jruby/Ruby;)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.addPath:(Ljava/lang/String;)V
13: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.ext.rbconfig.RbConfigLibrary.isSiteVendorSame:(Lorg/jruby/Ruby;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 15
14: aload 0
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.ext.rbconfig.RbConfigLibrary.getVendorDir:(Lorg/jruby/Ruby;)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.addPath:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.ext.rbconfig.RbConfigLibrary.getRubygemsDir:(Lorg/jruby/Ruby;)Ljava/lang/String;
astore 6
start local 6 16: aload 6
ifnull 18
17: aload 0
aload 6
invokevirtual org.jruby.runtime.load.LoadService.addPath:(Ljava/lang/String;)V
18: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.ext.rbconfig.RbConfigLibrary.getRubyLibDir:(Lorg/jruby/Ruby;)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.addPath:(Ljava/lang/String;)V
end local 6 19: goto 21
StackMap locals: org.jruby.runtime.load.LoadService java.util.List java.lang.String org.jruby.RubyHash org.jruby.RubyString org.jruby.runtime.ThreadContext
StackMap stack: java.lang.SecurityException
20: pop
21: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getInstanceConfig:()Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getExtraLoadPaths:()Ljava/util/List;
invokevirtual org.jruby.runtime.load.LoadService.addPaths:(Ljava/util/List;)V
22: return
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 23 0 this Lorg/jruby/runtime/load/LoadService;
0 23 1 prependDirectories Ljava/util/List<Ljava/lang/String;>;
2 23 2 jrubyHome Ljava/lang/String;
5 23 3 env Lorg/jruby/RubyHash;
6 23 4 env_rubylib Lorg/jruby/RubyString;
7 23 5 currentContext Lorg/jruby/runtime/ThreadContext;
9 11 6 rubylib Ljava/lang/String;
10 11 7 paths [Ljava/lang/String;
16 19 6 rubygemsDir Ljava/lang/String;
Exception table:
from to target type
11 19 20 Class java.lang.SecurityException
Signature: (Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
prependDirectories
public void addPaths(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.jruby.runtime.load.LoadService java.util.List top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 0
aload 2
invokevirtual org.jruby.runtime.load.LoadService.addPath:(Ljava/lang/String;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/load/LoadService;
0 5 1 additionalDirectories Ljava/util/List<Ljava/lang/String;>;
2 3 2 dir Ljava/lang/String;
Signature: (Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
additionalDirectories
public void addPaths(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 4
StackMap locals: org.jruby.runtime.load.LoadService java.lang.String[] top int int java.lang.String[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 0
aload 2
invokevirtual org.jruby.runtime.load.LoadService.addPath:(Ljava/lang/String;)V
end local 2 3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
iload 4
if_icmplt 1
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/runtime/load/LoadService;
0 6 1 additionalDirectories [Ljava/lang/String;
2 3 2 dir Ljava/lang/String;
MethodParameters:
Name Flags
additionalDirectories
public void provide(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jruby.runtime.load.LoadService.addLoadedFeature:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/load/LoadService;
0 2 1 shortName Ljava/lang/String;
0 2 2 fullName Ljava/lang/String;
MethodParameters:
Name Flags
shortName
fullName
protected boolean isFeatureInIndex(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.load.LoadService.loadedFeaturesIndex:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LoadService;
0 1 1 shortName Ljava/lang/String;
MethodParameters:
Name Flags
shortName
protected void addLoadedFeature(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
invokevirtual org.jruby.runtime.load.LoadService.addLoadedFeature:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/load/LoadService;
0 2 1 name Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
name
protected void addLoadedFeature(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.load.LoadService.loadedFeatures:Lorg/jruby/util/collections/StringArraySet;
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 2
invokevirtual org.jruby.util.collections.StringArraySet.appendString:(Lorg/jruby/Ruby;Ljava/lang/String;)V
1: aload 0
aload 1
aload 2
invokevirtual org.jruby.runtime.load.LoadService.addFeatureToIndex:(Ljava/lang/String;Ljava/lang/String;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/load/LoadService;
0 3 1 shortName Ljava/lang/String;
0 3 2 name Ljava/lang/String;
MethodParameters:
Name Flags
shortName
name
protected void addFeatureToIndex(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield org.jruby.runtime.load.LoadService.loadedFeatures:Lorg/jruby/util/collections/StringArraySet;
invokevirtual org.jruby.util.collections.StringArraySet.dup:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyArray
putfield org.jruby.runtime.load.LoadService.loadedFeaturesDup:Lorg/jruby/RubyArray;
1: aload 0
getfield org.jruby.runtime.load.LoadService.loadedFeaturesIndex:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/load/LoadService;
0 3 1 shortName Ljava/lang/String;
0 3 2 name Ljava/lang/String;
MethodParameters:
Name Flags
shortName
name
protected void addPath(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
StackMap locals:
StackMap stack:
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.load.LoadService.loadPath:Lorg/jruby/RubyArray;
astore 2
start local 2 3: aload 2
dup
astore 3
monitorenter
4: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 1
bipush 92
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
astore 4
start local 4 5: aload 2
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 4
invokevirtual org.jruby.RubyArray.includes:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 7
aload 3
monitorexit
6: return
7: StackMap locals: org.jruby.RubyArray org.jruby.RubyArray org.jruby.RubyString
StackMap stack:
aload 2
aload 4
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
end local 4 8: aload 3
monitorexit
9: goto 12
StackMap locals: org.jruby.runtime.load.LoadService java.lang.String org.jruby.RubyArray org.jruby.RubyArray
StackMap stack: java.lang.Throwable
10: aload 3
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/runtime/load/LoadService;
0 13 1 path Ljava/lang/String;
3 13 2 loadPath Lorg/jruby/RubyArray;
5 8 4 pathToAdd Lorg/jruby/RubyString;
Exception table:
from to target type
4 6 10 any
7 9 10 any
10 11 10 any
MethodParameters:
Name Flags
path
public void load(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.load.LoadService.loadTimer:Lorg/jruby/runtime/load/LoadService$LoadTimer;
aload 1
invokevirtual org.jruby.runtime.load.LoadService$LoadTimer.startLoad:(Ljava/lang/String;)J
lstore 3
start local 3 1: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentLine:()I
istore 5
start local 5 2: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getProfile:()Lorg/jruby/Profile;
aload 1
invokeinterface org.jruby.Profile.allowLoad:(Ljava/lang/String;)Z
ifne 4
3: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "no such file to load -- "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokevirtual org.jruby.Ruby.newLoadError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
4: StackMap locals: long int
StackMap stack:
new org.jruby.runtime.load.LoadService$SearchState
dup
aload 1
invokespecial org.jruby.runtime.load.LoadService$SearchState.<init>:(Ljava/lang/String;)V
astore 6
start local 6 5: aload 6
aload 1
invokevirtual org.jruby.runtime.load.LoadService$SearchState.prepareLoadSearch:(Ljava/lang/String;)V
6: aload 0
aload 6
invokevirtual org.jruby.runtime.load.LoadService.findLibraryBySearchState:(Lorg/jruby/runtime/load/LoadService$SearchState;)Lorg/jruby/runtime/load/Library;
astore 7
start local 7 7: aload 7
ifnonnull 11
8: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.util.JRubyFile.createResourceAsFile:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/util/FileResource;
astore 8
start local 8 9: aload 8
invokeinterface org.jruby.util.FileResource.exists:()Z
ifne 10
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "no such file to load -- "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokevirtual org.jruby.Ruby.newLoadError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
10: StackMap locals: org.jruby.runtime.load.LoadService$SearchState org.jruby.runtime.load.Library org.jruby.util.FileResource
StackMap stack:
aload 1
aload 1
aload 8
invokestatic org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.create:(Ljava/lang/String;Ljava/lang/String;Lorg/jruby/util/FileResource;)Lorg/jruby/runtime/load/LibrarySearcher$ResourceLibrary;
astore 7
end local 8 11: StackMap locals:
StackMap stack:
aload 7
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
iload 2
invokeinterface org.jruby.runtime.load.Library.load:(Lorg/jruby/Ruby;Z)V
12: goto 20
StackMap locals:
StackMap stack: java.io.IOException
13: astore 8
start local 8 14: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 8
invokestatic org.jruby.runtime.load.LoadService.debugLoadException:(Lorg/jruby/Ruby;Ljava/lang/Throwable;)V
15: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 1
aload 8
invokestatic org.jruby.runtime.load.LoadService.newLoadErrorFromThrowable:(Lorg/jruby/Ruby;Ljava/lang/String;Ljava/lang/Throwable;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 8 end local 7 end local 6 16: StackMap locals: org.jruby.runtime.load.LoadService java.lang.String int long int
StackMap stack: java.lang.Throwable
astore 9
17: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
iload 5
invokevirtual org.jruby.Ruby.setCurrentLine:(I)V
18: aload 0
getfield org.jruby.runtime.load.LoadService.loadTimer:Lorg/jruby/runtime/load/LoadService$LoadTimer;
aload 1
lload 3
invokevirtual org.jruby.runtime.load.LoadService$LoadTimer.endLoad:(Ljava/lang/String;J)V
19: aload 9
athrow
20: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
iload 5
invokevirtual org.jruby.Ruby.setCurrentLine:(I)V
21: aload 0
getfield org.jruby.runtime.load.LoadService.loadTimer:Lorg/jruby/runtime/load/LoadService$LoadTimer;
aload 1
lload 3
invokevirtual org.jruby.runtime.load.LoadService$LoadTimer.endLoad:(Ljava/lang/String;J)V
22: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/jruby/runtime/load/LoadService;
0 23 1 file Ljava/lang/String;
0 23 2 wrap Z
1 23 3 startTime J
2 23 5 currentLine I
5 16 6 state Lorg/jruby/runtime/load/LoadService$SearchState;
7 16 7 library Lorg/jruby/runtime/load/Library;
9 11 8 fileResource Lorg/jruby/util/FileResource;
14 16 8 e Ljava/io/IOException;
Exception table:
from to target type
11 12 13 Class java.io.IOException
2 16 16 any
MethodParameters:
Name Flags
file
wrap
public void loadFromClassLoader(java.lang.ClassLoader, java.lang.String, boolean);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.runtime.load.LoadService.loadTimer:Lorg/jruby/runtime/load/LoadService$LoadTimer;
new java.lang.StringBuilder
dup
ldc "classloader:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$LoadTimer.startLoad:(Ljava/lang/String;)J
lstore 4
start local 4 1: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentLine:()I
istore 6
start local 6 2: new org.jruby.runtime.load.LoadService$SearchState
dup
aload 2
invokespecial org.jruby.runtime.load.LoadService$SearchState.<init>:(Ljava/lang/String;)V
astore 7
start local 7 3: aload 7
aload 2
invokevirtual org.jruby.runtime.load.LoadService$SearchState.prepareLoadSearch:(Ljava/lang/String;)V
4: aconst_null
astore 8
start local 8 5: aload 0
aload 1
aload 2
invokevirtual org.jruby.runtime.load.LoadService.getClassPathResource:(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
astore 9
start local 9 6: aload 9
ifnull 9
7: aload 7
aload 0
aload 9
aload 2
invokevirtual org.jruby.runtime.load.LoadService.resolveLoadName:(Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$SearchState.setLoadName:(Ljava/lang/String;)V
8: aload 0
aload 7
aload 9
invokevirtual org.jruby.runtime.load.LoadService.createLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Lorg/jruby/runtime/load/LoadServiceResource;)Lorg/jruby/runtime/load/Library;
astore 8
9: StackMap locals: org.jruby.runtime.load.LoadService java.lang.ClassLoader java.lang.String int long int org.jruby.runtime.load.LoadService$SearchState org.jruby.runtime.load.Library org.jruby.runtime.load.LoadServiceResource
StackMap stack:
aload 8
ifnonnull 11
10: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "no such file to load -- "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newLoadError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
11: StackMap locals:
StackMap stack:
aload 8
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
iload 3
invokeinterface org.jruby.runtime.load.Library.load:(Lorg/jruby/Ruby;Z)V
12: goto 20
StackMap locals:
StackMap stack: java.io.IOException
13: astore 10
start local 10 14: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 10
invokestatic org.jruby.runtime.load.LoadService.debugLoadException:(Lorg/jruby/Ruby;Ljava/lang/Throwable;)V
15: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 2
aload 10
invokestatic org.jruby.runtime.load.LoadService.newLoadErrorFromThrowable:(Lorg/jruby/Ruby;Ljava/lang/String;Ljava/lang/Throwable;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 10 end local 9 end local 8 end local 7 16: StackMap locals: org.jruby.runtime.load.LoadService java.lang.ClassLoader java.lang.String int long int
StackMap stack: java.lang.Throwable
astore 11
17: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
iload 6
invokevirtual org.jruby.Ruby.setCurrentLine:(I)V
18: aload 0
getfield org.jruby.runtime.load.LoadService.loadTimer:Lorg/jruby/runtime/load/LoadService$LoadTimer;
new java.lang.StringBuilder
dup
ldc "classloader:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
lload 4
invokevirtual org.jruby.runtime.load.LoadService$LoadTimer.endLoad:(Ljava/lang/String;J)V
19: aload 11
athrow
20: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
iload 6
invokevirtual org.jruby.Ruby.setCurrentLine:(I)V
21: aload 0
getfield org.jruby.runtime.load.LoadService.loadTimer:Lorg/jruby/runtime/load/LoadService$LoadTimer;
new java.lang.StringBuilder
dup
ldc "classloader:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
lload 4
invokevirtual org.jruby.runtime.load.LoadService$LoadTimer.endLoad:(Ljava/lang/String;J)V
22: return
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/jruby/runtime/load/LoadService;
0 23 1 classLoader Ljava/lang/ClassLoader;
0 23 2 file Ljava/lang/String;
0 23 3 wrap Z
1 23 4 startTime J
2 23 6 currentLine I
3 16 7 state Lorg/jruby/runtime/load/LoadService$SearchState;
5 16 8 library Lorg/jruby/runtime/load/Library;
6 16 9 resource Lorg/jruby/runtime/load/LoadServiceResource;
14 16 10 e Ljava/io/IOException;
Exception table:
from to target type
11 12 13 Class java.io.IOException
2 16 16 any
MethodParameters:
Name Flags
classLoader
file
wrap
public org.jruby.runtime.load.LoadService$SearchState findFileForLoad(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/runtime/load/LoadService$SearchState;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.jruby.platform.Platform.IS_WINDOWS:Z
ifeq 2
1: aload 1
bipush 92
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 1
2: StackMap locals:
StackMap stack:
aload 1
ldc ".so"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 4
3: new java.lang.StringBuilder
dup
aload 1
iconst_0
aload 1
invokevirtual java.lang.String.length:()I
iconst_3
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".jar"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
4: StackMap locals:
StackMap stack:
new org.jruby.runtime.load.LoadService$SearchState
dup
aload 1
invokespecial org.jruby.runtime.load.LoadService$SearchState.<init>:(Ljava/lang/String;)V
astore 2
start local 2 5: aload 2
aload 1
invokevirtual org.jruby.runtime.load.LoadService$SearchState.prepareRequireSearch:(Ljava/lang/String;)V
6: aload 0
aload 2
invokevirtual org.jruby.runtime.load.LoadService.findLibraryBySearchState:(Lorg/jruby/runtime/load/LoadService$SearchState;)Lorg/jruby/runtime/load/Library;
pop
7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/runtime/load/LoadService;
0 8 1 file Ljava/lang/String;
5 8 2 state Lorg/jruby/runtime/load/LoadService$SearchState;
MethodParameters:
Name Flags
file
public boolean require(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual org.jruby.runtime.load.LoadService.smartLoadInternal:(Ljava/lang/String;Z)Lorg/jruby/runtime/load/LoadService$RequireState;
getstatic org.jruby.runtime.load.LoadService$RequireState.LOADED:Lorg/jruby/runtime/load/LoadService$RequireState;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/load/LoadService;
0 2 1 requireName Ljava/lang/String;
MethodParameters:
Name Flags
requireName
public boolean autoloadRequire(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.jruby.runtime.load.LoadService.smartLoadInternal:(Ljava/lang/String;Z)Lorg/jruby/runtime/load/LoadService$RequireState;
getstatic org.jruby.runtime.load.LoadService$RequireState.CIRCULAR:Lorg/jruby/runtime/load/LoadService$RequireState;
if_acmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/load/LoadService;
0 2 1 requireName Ljava/lang/String;
MethodParameters:
Name Flags
requireName
protected void warnCircularRequire(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
new java.lang.StringBuilder
dup
ldc "loading in progress, circular require considered harmful - "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 2
invokevirtual org.jruby.runtime.ThreadContext.renderCurrentBacktrace:(Ljava/lang/StringBuilder;)V
2: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getWarnings:()Lorg/jruby/common/RubyWarnings;
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.common.RubyWarnings.warn:(Ljava/lang/String;)V
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/LoadService;
0 4 1 requireName Ljava/lang/String;
1 4 2 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
requireName
public boolean smartLoad(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.runtime.load.LoadService.require:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LoadService;
0 1 1 file Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
file
private org.jruby.runtime.load.LoadService$RequireState smartLoadInternal(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lorg/jruby/runtime/load/LoadService$RequireState;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.jruby.runtime.load.LoadService.checkEmptyLoad:(Ljava/lang/String;)V
1: aload 0
aload 1
invokevirtual org.jruby.runtime.load.LoadService.featureAlreadyLoaded:(Ljava/lang/String;)Z
ifeq 3
2: getstatic org.jruby.runtime.load.LoadService$RequireState.ALREADY_LOADED:Lorg/jruby/runtime/load/LoadService$RequireState;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.runtime.load.LoadService.findFileForLoad:(Ljava/lang/String;)Lorg/jruby/runtime/load/LoadService$SearchState;
astore 3
start local 3 4: aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.library:Lorg/jruby/runtime/load/Library;
ifnonnull 6
5: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "no such file to load -- "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.searchFile:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.searchFile:Ljava/lang/String;
invokevirtual org.jruby.Ruby.newLoadError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
6: StackMap locals: org.jruby.runtime.load.LoadService$SearchState
StackMap stack:
aload 0
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.featureAlreadyLoaded:(Ljava/lang/String;)Z
ifeq 8
7: getstatic org.jruby.runtime.load.LoadService$RequireState.ALREADY_LOADED:Lorg/jruby/runtime/load/LoadService$RequireState;
areturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getProfile:()Lorg/jruby/Profile;
aload 1
invokeinterface org.jruby.Profile.allowRequire:(Ljava/lang/String;)Z
ifne 10
9: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "no such file to load -- "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokevirtual org.jruby.Ruby.newLoadError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
10: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.load.LoadService.requireLocks:Lorg/jruby/runtime/load/LoadService$RequireLocks;
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$RequireLocks.lock:(Ljava/lang/String;)Lorg/jruby/runtime/load/LoadService$LockResult;
getstatic org.jruby.runtime.load.LoadService$LockResult.CIRCULAR:Lorg/jruby/runtime/load/LoadService$LockResult;
if_acmpne 14
11: iload 2
ifeq 13
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.isVerbose:()Z
ifeq 13
12: aload 0
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.warnCircularRequire:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
getstatic org.jruby.runtime.load.LoadService$RequireState.CIRCULAR:Lorg/jruby/runtime/load/LoadService$RequireState;
areturn
14: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.load.LoadService.loadTimer:Lorg/jruby/runtime/load/LoadService$LoadTimer;
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$LoadTimer.startLoad:(Ljava/lang/String;)J
lstore 4
start local 4 15: aload 0
aload 1
invokevirtual org.jruby.runtime.load.LoadService.featureAlreadyLoaded:(Ljava/lang/String;)Z
ifeq 20
16: getstatic org.jruby.runtime.load.LoadService$RequireState.ALREADY_LOADED:Lorg/jruby/runtime/load/LoadService$RequireState;
astore 8
17: aload 0
getfield org.jruby.runtime.load.LoadService.loadTimer:Lorg/jruby/runtime/load/LoadService$LoadTimer;
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
lload 4
invokevirtual org.jruby.runtime.load.LoadService$LoadTimer.endLoad:(Ljava/lang/String;J)V
18: aload 0
getfield org.jruby.runtime.load.LoadService.requireLocks:Lorg/jruby/runtime/load/LoadService$RequireLocks;
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$RequireLocks.unlock:(Ljava/lang/String;)V
19: aload 8
areturn
20: StackMap locals: long
StackMap stack:
aload 0
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.featureAlreadyLoaded:(Ljava/lang/String;)Z
ifeq 25
21: getstatic org.jruby.runtime.load.LoadService$RequireState.ALREADY_LOADED:Lorg/jruby/runtime/load/LoadService$RequireState;
astore 8
22: aload 0
getfield org.jruby.runtime.load.LoadService.loadTimer:Lorg/jruby/runtime/load/LoadService$LoadTimer;
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
lload 4
invokevirtual org.jruby.runtime.load.LoadService$LoadTimer.endLoad:(Ljava/lang/String;J)V
23: aload 0
getfield org.jruby.runtime.load.LoadService.requireLocks:Lorg/jruby/runtime/load/LoadService$RequireLocks;
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$RequireLocks.unlock:(Ljava/lang/String;)V
24: aload 8
areturn
25: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 3
invokevirtual org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript:(Lorg/jruby/Ruby;Lorg/jruby/runtime/load/LoadService$SearchState;)Z
istore 6
start local 6 26: iload 6
ifeq 28
27: aload 0
aload 1
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.addLoadedFeature:(Ljava/lang/String;Ljava/lang/String;)V
28: StackMap locals: int
StackMap stack:
iload 6
ifeq 29
getstatic org.jruby.runtime.load.LoadService$RequireState.LOADED:Lorg/jruby/runtime/load/LoadService$RequireState;
goto 30
StackMap locals:
StackMap stack:
29: getstatic org.jruby.runtime.load.LoadService$RequireState.ALREADY_LOADED:Lorg/jruby/runtime/load/LoadService$RequireState;
StackMap locals:
StackMap stack: org.jruby.runtime.load.LoadService$RequireState
30: astore 8
31: aload 0
getfield org.jruby.runtime.load.LoadService.loadTimer:Lorg/jruby/runtime/load/LoadService$LoadTimer;
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
lload 4
invokevirtual org.jruby.runtime.load.LoadService$LoadTimer.endLoad:(Ljava/lang/String;J)V
32: aload 0
getfield org.jruby.runtime.load.LoadService.requireLocks:Lorg/jruby/runtime/load/LoadService$RequireLocks;
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$RequireLocks.unlock:(Ljava/lang/String;)V
33: aload 8
areturn
end local 6 34: StackMap locals: org.jruby.runtime.load.LoadService java.lang.String int org.jruby.runtime.load.LoadService$SearchState long
StackMap stack: java.lang.Throwable
astore 7
35: aload 0
getfield org.jruby.runtime.load.LoadService.loadTimer:Lorg/jruby/runtime/load/LoadService$LoadTimer;
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
lload 4
invokevirtual org.jruby.runtime.load.LoadService$LoadTimer.endLoad:(Ljava/lang/String;J)V
36: aload 0
getfield org.jruby.runtime.load.LoadService.requireLocks:Lorg/jruby/runtime/load/LoadService$RequireLocks;
aload 3
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$RequireLocks.unlock:(Ljava/lang/String;)V
37: aload 7
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lorg/jruby/runtime/load/LoadService;
0 38 1 file Ljava/lang/String;
0 38 2 circularRequireWarning Z
4 38 3 state Lorg/jruby/runtime/load/LoadService$SearchState;
15 38 4 startTime J
26 34 6 loaded Z
Exception table:
from to target type
15 17 34 any
20 22 34 any
25 31 34 any
MethodParameters:
Name Flags
file
circularRequireWarning
public static void reflectedLoad(org.jruby.Ruby, java.lang.String, java.lang.String, java.lang.ClassLoader, boolean);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
ifnonnull 2
invokestatic org.jruby.Ruby.isSecurityRestricted:()Z
ifeq 2
1: aload 0
invokevirtual org.jruby.Ruby.getInstanceConfig:()Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getLoader:()Ljava/lang/ClassLoader;
astore 3
2: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
astore 5
start local 5 3: aload 5
instanceof org.jruby.runtime.load.Library
ifeq 7
4: aload 5
checkcast org.jruby.runtime.load.Library
astore 6
start local 6 5: aload 6
aload 0
iconst_0
invokeinterface org.jruby.runtime.load.Library.load:(Lorg/jruby/Ruby;Z)V
end local 6 6: goto 17
StackMap locals: java.lang.Object
StackMap stack:
7: aload 5
instanceof org.jruby.runtime.load.BasicLibraryService
ifeq 11
8: aload 5
checkcast org.jruby.runtime.load.BasicLibraryService
astore 6
start local 6 9: aload 6
aload 0
invokeinterface org.jruby.runtime.load.BasicLibraryService.basicLoad:(Lorg/jruby/Ruby;)Z
pop
end local 6 10: goto 17
11: StackMap locals:
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "library `"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' is not of type Library or BasicLibraryService"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokevirtual org.jruby.Ruby.newLoadError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 5 12: StackMap locals: org.jruby.Ruby java.lang.String java.lang.String java.lang.ClassLoader int
StackMap stack: org.jruby.exceptions.RaiseException
astore 5
start local 5 13: aload 5
athrow
end local 5 14: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
start local 5 15: aload 0
aload 5
invokestatic org.jruby.runtime.load.LoadService.debugLoadException:(Lorg/jruby/Ruby;Ljava/lang/Throwable;)V
16: aload 0
new java.lang.StringBuilder
dup
ldc "library `"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' could not be loaded: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokevirtual org.jruby.Ruby.newLoadError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 5 17: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 runtime Lorg/jruby/Ruby;
0 18 1 libraryName Ljava/lang/String;
0 18 2 className Ljava/lang/String;
0 18 3 classLoader Ljava/lang/ClassLoader;
0 18 4 wrap Z
3 12 5 libObject Ljava/lang/Object;
5 6 6 library Lorg/jruby/runtime/load/Library;
9 10 6 service Lorg/jruby/runtime/load/BasicLibraryService;
13 14 5 re Lorg/jruby/exceptions/RaiseException;
15 17 5 e Ljava/lang/Throwable;
Exception table:
from to target type
0 12 12 Class org.jruby.exceptions.RaiseException
0 12 14 Class java.lang.Throwable
MethodParameters:
Name Flags
runtime
libraryName
className
classLoader
wrap
private static void debugLoadException(org.jruby.Ruby, java.lang.Throwable);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Throwable;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.Ruby.isDebug:()Z
ifeq 1
aload 1
aload 0
invokevirtual org.jruby.Ruby.getErr:()Ljava/io/PrintStream;
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintStream;)V
1: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 ex Ljava/lang/Throwable;
MethodParameters:
Name Flags
runtime final
ex final
public org.jruby.runtime.builtin.IRubyObject getLoadPath();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.load.LoadService.loadPath:Lorg/jruby/RubyArray;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LoadService;
public org.jruby.runtime.builtin.IRubyObject getLoadedFeatures();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.load.LoadService.loadedFeatures:Lorg/jruby/util/collections/StringArraySet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LoadService;
public void removeInternalLoadedFeature(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.load.LoadService.loadedFeatures:Lorg/jruby/util/collections/StringArraySet;
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 1
invokevirtual org.jruby.util.collections.StringArraySet.deleteString:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/load/LoadService;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private boolean isFeaturesIndexUpToDate();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.runtime.ThreadContext.preTrace:()V
1: aload 0
getfield org.jruby.runtime.load.LoadService.loadedFeaturesDup:Lorg/jruby/RubyArray;
ifnull 2
aload 0
getfield org.jruby.runtime.load.LoadService.loadedFeaturesDup:Lorg/jruby/RubyArray;
aload 0
getfield org.jruby.runtime.load.LoadService.loadedFeatures:Lorg/jruby/util/collections/StringArraySet;
invokevirtual org.jruby.RubyArray.eql:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 2
4: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.runtime.ThreadContext.postTrace:()V
5: iload 2
ireturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
7: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.runtime.ThreadContext.postTrace:()V
8: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/runtime/load/LoadService;
Exception table:
from to target type
1 4 6 any
public boolean featureAlreadyLoaded(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.load.LoadService.loadedFeatures:Lorg/jruby/util/collections/StringArraySet;
aload 1
invokevirtual org.jruby.util.collections.StringArraySet.containsString:(Ljava/lang/String;)Z
ifeq 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.runtime.load.LoadService.isFeaturesIndexUpToDate:()Z
ifne 4
2: aload 0
getfield org.jruby.runtime.load.LoadService.loadedFeaturesIndex:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.runtime.load.LoadService.isFeatureInIndex:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/load/LoadService;
0 5 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
protected boolean isJarfileLibrary(org.jruby.runtime.load.LoadService$SearchState, java.lang.String);
descriptor: (Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.load.LoadService$SearchState.library:Lorg/jruby/runtime/load/Library;
instanceof org.jruby.runtime.load.JarredScript
ifeq 1
aload 2
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/load/LoadService;
0 2 1 state Lorg/jruby/runtime/load/LoadService$SearchState;
0 2 2 file Ljava/lang/String;
MethodParameters:
Name Flags
state
file final
protected void reraiseRaiseExceptions(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.exceptions.RaiseException
ifeq 2
1: aload 1
checkcast org.jruby.exceptions.RaiseException
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/load/LoadService;
0 3 1 e Ljava/lang/Throwable;
Exceptions:
throws org.jruby.exceptions.RaiseException
MethodParameters:
Name Flags
e
protected boolean tryLoadingLibraryOrScript(org.jruby.Ruby, org.jruby.runtime.load.LoadService$SearchState);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/load/LoadService$SearchState;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getfield org.jruby.runtime.load.LoadService$SearchState.library:Lorg/jruby/runtime/load/Library;
aload 1
iconst_0
invokeinterface org.jruby.runtime.load.Library.load:(Lorg/jruby/Ruby;Z)V
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack: org.jruby.exceptions.MainExitException
astore 3
start local 3 3: aload 3
athrow
end local 3 4: StackMap locals:
StackMap stack: org.jruby.exceptions.RaiseException
astore 3
start local 3 5: aload 3
instanceof org.jruby.exceptions.Unrescuable
ifeq 6
aload 3
invokestatic org.jruby.runtime.Helpers.throwException:(Ljava/lang/Throwable;)V
6: StackMap locals: org.jruby.exceptions.RaiseException
StackMap stack:
aload 0
aload 2
aload 2
getfield org.jruby.runtime.load.LoadService$SearchState.searchFile:Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.isJarfileLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;)Z
ifeq 7
iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 3
athrow
end local 3 8: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.Ruby org.jruby.runtime.load.LoadService$SearchState
StackMap stack: org.jruby.exceptions.JumpException
astore 3
start local 3 9: aload 3
athrow
end local 3 10: StackMap locals:
StackMap stack: org.jruby.exceptions.CatchThrow
astore 3
start local 3 11: aload 3
athrow
end local 3 12: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
start local 3 13: aload 3
instanceof org.jruby.exceptions.Unrescuable
ifeq 14
aload 3
invokestatic org.jruby.runtime.Helpers.throwException:(Ljava/lang/Throwable;)V
14: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
aload 2
aload 2
getfield org.jruby.runtime.load.LoadService$SearchState.searchFile:Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.isJarfileLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;)Z
ifeq 15
iconst_1
ireturn
15: StackMap locals:
StackMap stack:
aload 1
aload 3
invokestatic org.jruby.runtime.load.LoadService.debugLoadException:(Lorg/jruby/Ruby;Ljava/lang/Throwable;)V
16: aload 1
aload 2
getfield org.jruby.runtime.load.LoadService$SearchState.searchFile:Ljava/lang/String;
aload 3
invokestatic org.jruby.runtime.load.LoadService.newLoadErrorFromThrowable:(Lorg/jruby/Ruby;Ljava/lang/String;Ljava/lang/Throwable;)Lorg/jruby/exceptions/RaiseException;
astore 4
start local 4 17: aload 4
aload 3
invokevirtual org.jruby.exceptions.RaiseException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
18: aload 4
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/jruby/runtime/load/LoadService;
0 19 1 runtime Lorg/jruby/Ruby;
0 19 2 state Lorg/jruby/runtime/load/LoadService$SearchState;
3 4 3 ex Lorg/jruby/exceptions/MainExitException;
5 8 3 ex Lorg/jruby/exceptions/RaiseException;
9 10 3 ex Lorg/jruby/exceptions/JumpException;
11 12 3 ex Lorg/jruby/exceptions/CatchThrow;
13 19 3 ex Ljava/lang/Throwable;
17 19 4 re Lorg/jruby/exceptions/RaiseException;
Exception table:
from to target type
0 1 2 Class org.jruby.exceptions.MainExitException
0 1 4 Class org.jruby.exceptions.RaiseException
0 1 8 Class org.jruby.exceptions.JumpException
0 1 10 Class org.jruby.exceptions.CatchThrow
0 1 12 Class java.lang.Throwable
MethodParameters:
Name Flags
runtime
state
private static org.jruby.exceptions.RaiseException newLoadErrorFromThrowable(org.jruby.Ruby, java.lang.String, java.lang.Throwable);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;Ljava/lang/Throwable;)Lorg/jruby/exceptions/RaiseException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.jruby.RubyInstanceConfig.DEBUG_PARSER:Z
ifne 1
getstatic org.jruby.RubyInstanceConfig.IR_READING_DEBUG:Z
ifeq 2
StackMap locals:
StackMap stack:
1: aload 2
invokevirtual java.lang.Throwable.printStackTrace:()V
2: StackMap locals:
StackMap stack:
aload 0
ldc "load error: %s -- %s: %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_2
aload 2
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokevirtual org.jruby.Ruby.newLoadError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
0 3 1 file Ljava/lang/String;
0 3 2 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
runtime
file
t
protected java.lang.String buildClassName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "^\\.\\/"
ldc ""
invokevirtual java.lang.String.replaceFirst:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
1: aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 2: iload 2
iconst_m1
if_icmpeq 4
3: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
4: StackMap locals: int
StackMap stack:
aload 1
ldc "-"
ldc "_minus_"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
bipush 46
bipush 95
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 1
5: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/runtime/load/LoadService;
0 6 1 className Ljava/lang/String;
2 6 2 lastDot I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
className
protected void checkEmptyLoad(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "no such file to load -- "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokevirtual org.jruby.Ruby.newLoadError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/load/LoadService;
0 3 1 file Ljava/lang/String;
Exceptions:
throws org.jruby.exceptions.RaiseException
MethodParameters:
Name Flags
file
protected final void debugLogTry(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.jruby.RubyInstanceConfig.DEBUG_LOAD_SERVICE:Z
ifeq 2
1: getstatic org.jruby.runtime.load.LoadService.LOG:Lorg/jruby/util/log/Logger;
ldc "trying {}: {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokeinterface org.jruby.util.log.Logger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/load/LoadService;
0 3 1 what Ljava/lang/String;
0 3 2 msg Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
what
msg
protected final void debugLogFound(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.jruby.RubyInstanceConfig.DEBUG_LOAD_SERVICE:Z
ifeq 2
1: getstatic org.jruby.runtime.load.LoadService.LOG:Lorg/jruby/util/log/Logger;
ldc "found {}: {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokeinterface org.jruby.util.log.Logger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/load/LoadService;
0 3 1 what Ljava/lang/String;
0 3 2 msg Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
what
msg
protected final void debugLogFound(org.jruby.runtime.load.LoadServiceResource);
descriptor: (Lorg/jruby/runtime/load/LoadServiceResource;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: getstatic org.jruby.RubyInstanceConfig.DEBUG_LOAD_SERVICE:Z
ifeq 6
1: aload 1
invokevirtual org.jruby.runtime.load.LoadServiceResource.getURL:()Ljava/net/URL;
invokevirtual java.net.URL.toString:()Ljava/lang/String;
astore 2
start local 2 2: goto 5
end local 2 StackMap locals:
StackMap stack: java.io.IOException
3: astore 3
start local 3 4: aload 3
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
astore 2
end local 3 start local 2 5: StackMap locals: java.lang.String
StackMap stack:
getstatic org.jruby.runtime.load.LoadService.LOG:Lorg/jruby/util/log/Logger;
ldc "found: {}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokeinterface org.jruby.util.log.Logger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/runtime/load/LoadService;
0 7 1 resource Lorg/jruby/runtime/load/LoadServiceResource;
2 3 2 resourceUrl Ljava/lang/String;
5 6 2 resourceUrl Ljava/lang/String;
4 5 3 e Ljava/io/IOException;
Exception table:
from to target type
1 2 3 Class java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
resource
protected org.jruby.runtime.load.Library findLibraryBySearchState(org.jruby.runtime.load.LoadService$SearchState);
descriptor: (Lorg/jruby/runtime/load/LoadService$SearchState;)Lorg/jruby/runtime/load/Library;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.load.LoadService.librarySearcher:Lorg/jruby/runtime/load/LibrarySearcher;
aload 1
invokevirtual org.jruby.runtime.load.LibrarySearcher.findBySearchState:(Lorg/jruby/runtime/load/LoadService$SearchState;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
ifnull 2
1: aload 1
getfield org.jruby.runtime.load.LoadService$SearchState.library:Lorg/jruby/runtime/load/Library;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/load/LoadService;
0 3 1 state Lorg/jruby/runtime/load/LoadService$SearchState;
MethodParameters:
Name Flags
state
protected org.jruby.runtime.load.Library findBuiltinLibrary(org.jruby.runtime.load.LoadService$SearchState, java.lang.String, org.jruby.runtime.load.LoadService$SuffixType);
descriptor: (Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/Library;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.getSuffixes:()[Ljava/lang/String;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 10
StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType top int int java.lang.String[]
StackMap stack:
1: aload 7
iload 5
aaload
astore 4
start local 4 2: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 8
start local 8 3: aload 0
ldc "builtinLib"
aload 8
invokevirtual org.jruby.runtime.load.LoadService.debugLogTry:(Ljava/lang/String;Ljava/lang/String;)V
4: aload 0
getfield org.jruby.runtime.load.LoadService.builtinLibraries:Ljava/util/Map;
aload 8
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 9
5: aload 1
aload 8
invokevirtual org.jruby.runtime.load.LoadService$SearchState.setLoadName:(Ljava/lang/String;)V
6: aload 0
getfield org.jruby.runtime.load.LoadService.builtinLibraries:Ljava/util/Map;
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.jruby.runtime.load.Library
astore 9
start local 9 7: aload 0
ldc "builtinLib"
aload 8
invokevirtual org.jruby.runtime.load.LoadService.debugLogFound:(Ljava/lang/String;Ljava/lang/String;)V
8: aload 9
areturn
end local 9 end local 8 end local 4 9: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 6
if_icmplt 1
11: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/runtime/load/LoadService;
0 12 1 state Lorg/jruby/runtime/load/LoadService$SearchState;
0 12 2 baseName Ljava/lang/String;
0 12 3 suffixType Lorg/jruby/runtime/load/LoadService$SuffixType;
2 9 4 suffix Ljava/lang/String;
3 9 8 namePlusSuffix Ljava/lang/String;
7 9 9 lib Lorg/jruby/runtime/load/Library;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
state
baseName
suffixType
protected org.jruby.runtime.load.Library findLibraryWithoutCWD(org.jruby.runtime.load.LoadService$SearchState, java.lang.String, org.jruby.runtime.load.LoadService$SuffixType);
descriptor: (Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/Library;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: invokestatic org.jruby.runtime.load.LoadService.$SWITCH_TABLE$org$jruby$runtime$load$LoadService$SuffixType:()[I
aload 3
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 9
2: 9
3: 2
4: 13
default: 15
}
2: StackMap locals: org.jruby.runtime.load.Library
StackMap stack:
aload 0
aload 1
aload 2
getstatic org.jruby.runtime.load.LoadService$SuffixType.Source:Lorg/jruby/runtime/load/LoadService$SuffixType;
invokevirtual org.jruby.runtime.load.LoadService.findBuiltinLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/Library;
astore 4
3: aload 4
ifnonnull 4
aload 0
aload 1
aload 0
aload 1
aload 2
getstatic org.jruby.runtime.load.LoadService$SuffixType.Source:Lorg/jruby/runtime/load/LoadService$SuffixType;
invokevirtual org.jruby.runtime.load.LoadService.tryResourceFromJarURL:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
invokevirtual org.jruby.runtime.load.LoadService.createLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Lorg/jruby/runtime/load/LoadServiceResource;)Lorg/jruby/runtime/load/Library;
astore 4
4: StackMap locals:
StackMap stack:
aload 4
ifnonnull 5
aload 0
aload 1
aload 0
aload 1
aload 2
getstatic org.jruby.runtime.load.LoadService$SuffixType.Source:Lorg/jruby/runtime/load/LoadService$SuffixType;
invokevirtual org.jruby.runtime.load.LoadService.tryResourceFromLoadPathOrURL:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
invokevirtual org.jruby.runtime.load.LoadService.createLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Lorg/jruby/runtime/load/LoadServiceResource;)Lorg/jruby/runtime/load/Library;
astore 4
5: StackMap locals:
StackMap stack:
aload 4
ifnonnull 6
aload 0
aload 1
aload 2
getstatic org.jruby.runtime.load.LoadService$SuffixType.Extension:Lorg/jruby/runtime/load/LoadService$SuffixType;
invokevirtual org.jruby.runtime.load.LoadService.findBuiltinLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/Library;
astore 4
6: StackMap locals:
StackMap stack:
aload 4
ifnonnull 7
aload 0
aload 1
aload 0
aload 1
aload 2
getstatic org.jruby.runtime.load.LoadService$SuffixType.Extension:Lorg/jruby/runtime/load/LoadService$SuffixType;
invokevirtual org.jruby.runtime.load.LoadService.tryResourceFromJarURL:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
invokevirtual org.jruby.runtime.load.LoadService.createLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Lorg/jruby/runtime/load/LoadServiceResource;)Lorg/jruby/runtime/load/Library;
astore 4
7: StackMap locals:
StackMap stack:
aload 4
ifnonnull 15
aload 0
aload 1
aload 0
aload 1
aload 2
getstatic org.jruby.runtime.load.LoadService$SuffixType.Extension:Lorg/jruby/runtime/load/LoadService$SuffixType;
invokevirtual org.jruby.runtime.load.LoadService.tryResourceFromLoadPathOrURL:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
invokevirtual org.jruby.runtime.load.LoadService.createLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Lorg/jruby/runtime/load/LoadServiceResource;)Lorg/jruby/runtime/load/Library;
astore 4
8: goto 15
9: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.runtime.load.LoadService.findBuiltinLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/Library;
astore 4
10: aload 4
ifnonnull 11
aload 0
aload 1
aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.runtime.load.LoadService.tryResourceFromJarURL:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
invokevirtual org.jruby.runtime.load.LoadService.createLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Lorg/jruby/runtime/load/LoadServiceResource;)Lorg/jruby/runtime/load/Library;
astore 4
11: StackMap locals:
StackMap stack:
aload 4
ifnonnull 15
aload 0
aload 1
aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.runtime.load.LoadService.tryResourceFromLoadPathOrURL:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
invokevirtual org.jruby.runtime.load.LoadService.createLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Lorg/jruby/runtime/load/LoadServiceResource;)Lorg/jruby/runtime/load/Library;
astore 4
12: goto 15
13: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
aload 1
aload 2
getstatic org.jruby.runtime.load.LoadService$SuffixType.Neither:Lorg/jruby/runtime/load/LoadService$SuffixType;
invokevirtual org.jruby.runtime.load.LoadService.tryResourceFromJarURL:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
invokevirtual org.jruby.runtime.load.LoadService.createLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Lorg/jruby/runtime/load/LoadServiceResource;)Lorg/jruby/runtime/load/Library;
astore 4
14: aload 4
ifnonnull 15
aload 0
aload 1
aload 0
aload 1
aload 2
getstatic org.jruby.runtime.load.LoadService$SuffixType.Neither:Lorg/jruby/runtime/load/LoadService$SuffixType;
invokevirtual org.jruby.runtime.load.LoadService.tryResourceFromLoadPathOrURL:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
invokevirtual org.jruby.runtime.load.LoadService.createLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Lorg/jruby/runtime/load/LoadServiceResource;)Lorg/jruby/runtime/load/Library;
astore 4
15: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/jruby/runtime/load/LoadService;
0 16 1 state Lorg/jruby/runtime/load/LoadService$SearchState;
0 16 2 baseName Ljava/lang/String;
0 16 3 suffixType Lorg/jruby/runtime/load/LoadService$SuffixType;
1 16 4 library Lorg/jruby/runtime/load/Library;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
state
baseName
suffixType
protected org.jruby.runtime.load.Library findLibraryWithClassloaders(org.jruby.runtime.load.LoadService$SearchState, java.lang.String, org.jruby.runtime.load.LoadService$SuffixType);
descriptor: (Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/Library;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.getSuffixes:()[Ljava/lang/String;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 8
StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType top int int java.lang.String[]
StackMap stack:
1: aload 7
iload 5
aaload
astore 4
start local 4 2: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 8
start local 8 3: aload 0
aload 8
invokevirtual org.jruby.runtime.load.LoadService.findFileInClasspath:(Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
astore 9
start local 9 4: aload 9
ifnull 7
5: aload 1
aload 0
aload 9
aload 8
invokevirtual org.jruby.runtime.load.LoadService.resolveLoadName:(Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$SearchState.setLoadName:(Ljava/lang/String;)V
6: aload 0
aload 1
aload 9
invokevirtual org.jruby.runtime.load.LoadService.createLibrary:(Lorg/jruby/runtime/load/LoadService$SearchState;Lorg/jruby/runtime/load/LoadServiceResource;)Lorg/jruby/runtime/load/Library;
areturn
end local 9 end local 8 end local 4 7: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 6
if_icmplt 1
9: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/runtime/load/LoadService;
0 10 1 state Lorg/jruby/runtime/load/LoadService$SearchState;
0 10 2 baseName Ljava/lang/String;
0 10 3 suffixType Lorg/jruby/runtime/load/LoadService$SuffixType;
2 7 4 suffix Ljava/lang/String;
3 7 8 file Ljava/lang/String;
4 7 9 resource Lorg/jruby/runtime/load/LoadServiceResource;
MethodParameters:
Name Flags
state
baseName
suffixType
protected org.jruby.runtime.load.Library createLibrary(org.jruby.runtime.load.LoadService$SearchState, org.jruby.runtime.load.LoadServiceResource);
descriptor: (Lorg/jruby/runtime/load/LoadService$SearchState;Lorg/jruby/runtime/load/LoadServiceResource;)Lorg/jruby/runtime/load/Library;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.jruby.runtime.load.LoadServiceResource.getName:()Ljava/lang/String;
astore 3
start local 3 3: aload 1
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
astore 4
start local 4 4: aload 3
ldc ".so"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 5
aload 3
ldc ".dll"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 5
aload 3
ldc ".bundle"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 6
5: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "C extensions are disabled, can't load `"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual org.jruby.runtime.load.LoadServiceResource.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual org.jruby.runtime.load.LoadServiceResource.getName:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newLoadError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
6: StackMap locals:
StackMap stack:
aload 3
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 8
7: new org.jruby.runtime.load.JarredScript
dup
aload 2
aload 1
getfield org.jruby.runtime.load.LoadService$SearchState.searchFile:Ljava/lang/String;
invokespecial org.jruby.runtime.load.JarredScript.<init>:(Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)V
areturn
8: StackMap locals:
StackMap stack:
aload 3
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 10
9: new org.jruby.runtime.load.JavaCompiledScript
dup
aload 2
invokespecial org.jruby.runtime.load.JavaCompiledScript.<init>:(Lorg/jruby/runtime/load/LoadServiceResource;)V
areturn
10: StackMap locals:
StackMap stack:
new org.jruby.runtime.load.ExternalScript
dup
aload 2
aload 4
invokespecial org.jruby.runtime.load.ExternalScript.<init>:(Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/runtime/load/LoadService;
0 11 1 state Lorg/jruby/runtime/load/LoadService$SearchState;
0 11 2 resource Lorg/jruby/runtime/load/LoadServiceResource;
3 11 3 file Ljava/lang/String;
4 11 4 location Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
state
resource
protected org.jruby.runtime.load.LoadServiceResource tryResourceFromCWD(org.jruby.runtime.load.LoadService$SearchState, java.lang.String, org.jruby.runtime.load.LoadService$SuffixType);
descriptor: (Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 3
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.getSuffixes:()[Ljava/lang/String;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 15
StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource top int int java.lang.String[]
StackMap stack:
2: aload 8
iload 6
aaload
astore 5
start local 5 3: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 4: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentDirectory:()Ljava/lang/String;
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 9
invokestatic org.jruby.RubyFile.expandUserPath:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Ljava/lang/String;
invokestatic org.jruby.util.JRubyFile.create:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/util/JRubyFile;
astore 10
start local 10 5: aload 0
ldc "resourceFromCWD"
aload 10
invokevirtual org.jruby.util.JRubyFile.toString:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.debugLogTry:(Ljava/lang/String;Ljava/lang/String;)V
6: aload 10
invokevirtual org.jruby.util.JRubyFile.isFile:()Z
ifeq 14
aload 10
invokevirtual org.jruby.util.JRubyFile.isAbsolute:()Z
ifeq 14
aload 10
invokevirtual org.jruby.util.JRubyFile.canRead:()Z
ifeq 14
7: iconst_1
istore 11
start local 11 8: new org.jruby.runtime.load.LoadServiceResource
dup
aload 10
aload 0
aload 10
aload 9
invokevirtual org.jruby.runtime.load.LoadService.getFileName:(Lorg/jruby/util/JRubyFile;Ljava/lang/String;)Ljava/lang/String;
iload 11
invokespecial org.jruby.runtime.load.LoadServiceResource.<init>:(Ljava/io/File;Ljava/lang/String;Z)V
astore 4
9: aload 0
aload 4
invokevirtual org.jruby.runtime.load.LoadService.debugLogFound:(Lorg/jruby/runtime/load/LoadServiceResource;)V
10: aload 1
aload 0
aload 4
aload 9
invokevirtual org.jruby.runtime.load.LoadService.resolveLoadName:(Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$SearchState.setLoadName:(Ljava/lang/String;)V
11: goto 16
end local 11 end local 10 12: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource java.lang.String int int java.lang.String[] java.lang.String
StackMap stack: java.lang.IllegalArgumentException
pop
goto 14
13: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
end local 9 end local 5 14: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
iload 7
if_icmplt 2
16: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jruby/runtime/load/LoadService;
0 17 1 state Lorg/jruby/runtime/load/LoadService$SearchState;
0 17 2 baseName Ljava/lang/String;
0 17 3 suffixType Lorg/jruby/runtime/load/LoadService$SuffixType;
1 17 4 foundResource Lorg/jruby/runtime/load/LoadServiceResource;
3 14 5 suffix Ljava/lang/String;
4 14 9 namePlusSuffix Ljava/lang/String;
5 12 10 file Lorg/jruby/util/JRubyFile;
8 12 11 absolute Z
Exception table:
from to target type
4 11 12 Class java.lang.IllegalArgumentException
4 11 13 Class java.lang.SecurityException
Exceptions:
throws org.jruby.exceptions.RaiseException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
state
baseName
suffixType
protected org.jruby.runtime.load.LoadServiceResource tryResourceFromDotSlash(org.jruby.runtime.load.LoadService$SearchState, java.lang.String, org.jruby.runtime.load.LoadService$SuffixType);
descriptor: (Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 3
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.getSuffixes:()[Ljava/lang/String;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 7
StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource top int int java.lang.String[]
StackMap stack:
2: aload 8
iload 6
aaload
astore 5
start local 5 3: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 4: aload 0
aload 9
ldc "resourceFromDotSlash"
invokevirtual org.jruby.runtime.load.LoadService.tryResourceAsIs:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
astore 4
5: aload 4
ifnull 6
goto 8
end local 9 end local 5 6: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
7: iload 6
iload 7
if_icmplt 2
8: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource
StackMap stack:
aload 4
areturn
end local 4 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/LoadService;
0 9 1 state Lorg/jruby/runtime/load/LoadService$SearchState;
0 9 2 baseName Ljava/lang/String;
0 9 3 suffixType Lorg/jruby/runtime/load/LoadService$SuffixType;
1 9 4 foundResource Lorg/jruby/runtime/load/LoadServiceResource;
3 6 5 suffix Ljava/lang/String;
4 6 9 namePlusSuffix Ljava/lang/String;
Exceptions:
throws org.jruby.exceptions.RaiseException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
state
baseName
suffixType
protected org.jruby.runtime.load.LoadServiceResource tryResourceFromHome(org.jruby.runtime.load.LoadService$SearchState, java.lang.String, org.jruby.runtime.load.LoadService$SuffixType);
descriptor: (Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=16, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
ldc "ENV"
invokevirtual org.jruby.RubyClass.getConstant:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyHash
astore 5
start local 5 2: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
ldc "HOME"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
astore 6
start local 6 3: aload 5
aload 6
invokevirtual org.jruby.RubyHash.has_key_p:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
invokevirtual org.jruby.RubyBoolean.isFalse:()Z
ifeq 5
4: aconst_null
areturn
5: StackMap locals: org.jruby.runtime.load.LoadServiceResource org.jruby.RubyHash org.jruby.RubyString
StackMap stack:
aload 5
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 6
invokevirtual org.jruby.RubyHash.op_aref:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 7
start local 7 6: aload 2
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 8
start local 8 7: aload 3
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.getSuffixes:()[Ljava/lang/String;
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 21
StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource org.jruby.RubyHash org.jruby.RubyString java.lang.String java.lang.String top int int java.lang.String[]
StackMap stack:
8: aload 12
iload 10
aaload
astore 9
start local 9 9: new java.lang.StringBuilder
dup
aload 8
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 13
start local 13 10: aload 7
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 13
invokestatic org.jruby.RubyFile.expandUserPath:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Ljava/lang/String;
invokestatic org.jruby.util.JRubyFile.create:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/util/JRubyFile;
astore 14
start local 14 11: aload 0
ldc "resourceFromHome"
aload 14
invokevirtual org.jruby.util.JRubyFile.toString:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.debugLogTry:(Ljava/lang/String;Ljava/lang/String;)V
12: aload 14
invokevirtual org.jruby.util.JRubyFile.isFile:()Z
ifeq 20
aload 14
invokevirtual org.jruby.util.JRubyFile.isAbsolute:()Z
ifeq 20
aload 14
invokevirtual org.jruby.util.JRubyFile.canRead:()Z
ifeq 20
13: iconst_1
istore 15
start local 15 14: aload 1
aload 14
invokevirtual org.jruby.util.JRubyFile.getPath:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$SearchState.setLoadName:(Ljava/lang/String;)V
15: new org.jruby.runtime.load.LoadServiceResource
dup
aload 14
aload 1
getfield org.jruby.runtime.load.LoadService$SearchState.loadName:Ljava/lang/String;
iload 15
invokespecial org.jruby.runtime.load.LoadServiceResource.<init>:(Ljava/io/File;Ljava/lang/String;Z)V
astore 4
16: aload 0
aload 4
invokevirtual org.jruby.runtime.load.LoadService.debugLogFound:(Lorg/jruby/runtime/load/LoadServiceResource;)V
17: goto 22
end local 15 end local 14 18: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource org.jruby.RubyHash org.jruby.RubyString java.lang.String java.lang.String java.lang.String int int java.lang.String[] java.lang.String
StackMap stack: java.lang.IllegalArgumentException
pop
goto 20
19: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
end local 13 end local 9 20: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource org.jruby.RubyHash org.jruby.RubyString java.lang.String java.lang.String top int int java.lang.String[]
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
21: iload 10
iload 11
if_icmplt 8
22: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource org.jruby.RubyHash org.jruby.RubyString java.lang.String java.lang.String
StackMap stack:
aload 4
areturn
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 23 0 this Lorg/jruby/runtime/load/LoadService;
0 23 1 state Lorg/jruby/runtime/load/LoadService$SearchState;
0 23 2 baseName Ljava/lang/String;
0 23 3 suffixType Lorg/jruby/runtime/load/LoadService$SuffixType;
1 23 4 foundResource Lorg/jruby/runtime/load/LoadServiceResource;
2 23 5 env Lorg/jruby/RubyHash;
3 23 6 env_home Lorg/jruby/RubyString;
6 23 7 home Ljava/lang/String;
7 23 8 path Ljava/lang/String;
9 20 9 suffix Ljava/lang/String;
10 20 13 namePlusSuffix Ljava/lang/String;
11 18 14 file Lorg/jruby/util/JRubyFile;
14 18 15 absolute Z
Exception table:
from to target type
10 17 18 Class java.lang.IllegalArgumentException
10 17 19 Class java.lang.SecurityException
Exceptions:
throws org.jruby.exceptions.RaiseException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
state
baseName
suffixType
protected org.jruby.runtime.load.LoadServiceResource tryResourceFromJarURL(org.jruby.runtime.load.LoadService$SearchState, java.lang.String, org.jruby.runtime.load.LoadService$SuffixType);
descriptor: (Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 2
ldc "jar:file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
2: aload 0
aload 1
aload 2
ldc "jar:"
ldc ""
invokevirtual java.lang.String.replaceFirst:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aload 3
invokevirtual org.jruby.runtime.load.LoadService.tryResourceFromJarURL:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
areturn
3: StackMap locals: org.jruby.runtime.load.LoadServiceResource
StackMap stack:
aload 2
ldc "jar:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 27
4: aload 3
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.getSuffixes:()[Ljava/lang/String;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 25
StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource top int int java.lang.String[]
StackMap stack:
5: aload 8
iload 6
aaload
astore 5
start local 5 6: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 7: new java.net.URI
dup
ldc "jar"
aload 9
iconst_4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aconst_null
invokespecial java.net.URI.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 10
start local 10 8: aload 10
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
astore 11
start local 11 9: aload 0
ldc "resourceFromJarURL"
aload 11
invokevirtual java.net.URL.toString:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.debugLogTry:(Ljava/lang/String;Ljava/lang/String;)V
10: aload 11
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
ifnull 21
11: new org.jruby.runtime.load.LoadServiceResource
dup
aload 11
aload 9
invokespecial org.jruby.runtime.load.LoadServiceResource.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 4
12: aload 0
aload 4
invokevirtual org.jruby.runtime.load.LoadService.debugLogFound:(Lorg/jruby/runtime/load/LoadServiceResource;)V
end local 11 end local 10 13: goto 21
StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource java.lang.String int int java.lang.String[] java.lang.String
StackMap stack: java.io.FileNotFoundException
14: pop
goto 21
15: StackMap locals:
StackMap stack: java.net.URISyntaxException
astore 10
start local 10 16: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 10
invokevirtual java.net.URISyntaxException.getMessage:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newIOError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 10 17: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 10
start local 10 18: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 10
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 10 19: StackMap locals:
StackMap stack: java.io.IOException
astore 10
start local 10 20: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 10
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 10 21: StackMap locals:
StackMap stack:
aload 4
ifnull 24
22: aload 1
aload 0
aload 4
aload 9
invokevirtual org.jruby.runtime.load.LoadService.resolveLoadName:(Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$SearchState.setLoadName:(Ljava/lang/String;)V
23: goto 50
end local 9 end local 5 24: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
25: iload 6
iload 7
if_icmplt 5
26: goto 50
StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource
StackMap stack:
27: aload 2
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 50
aload 2
ldc "!/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 50
28: aload 3
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.getSuffixes:()[Ljava/lang/String;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 49
StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource top int int java.lang.String[]
StackMap stack:
29: aload 8
iload 6
aaload
astore 5
start local 5 30: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 31: aload 9
iconst_5
aload 9
ldc "!/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 10
start local 10 32: new java.util.jar.JarFile
dup
aload 10
invokespecial java.util.jar.JarFile.<init>:(Ljava/lang/String;)V
astore 11
start local 11 33: aload 0
aload 9
aload 9
ldc "!/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.expandRelativeJarPath:(Ljava/lang/String;)Ljava/lang/String;
astore 12
start local 12 34: aload 0
ldc "resourceFromJarURL"
aload 12
invokevirtual org.jruby.runtime.load.LoadService.debugLogTry:(Ljava/lang/String;Ljava/lang/String;)V
35: aload 11
aload 12
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
ifnull 45
36: new java.net.URI
dup
ldc "jar"
new java.lang.StringBuilder
dup
ldc "file:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "!/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 12
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
invokespecial java.net.URI.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 13
start local 13 37: new org.jruby.runtime.load.LoadServiceResource
dup
aload 13
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
aload 9
invokespecial org.jruby.runtime.load.LoadServiceResource.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 4
38: aload 0
aload 4
invokevirtual org.jruby.runtime.load.LoadService.debugLogFound:(Lorg/jruby/runtime/load/LoadServiceResource;)V
end local 13 end local 12 end local 11 end local 10 39: goto 45
StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource java.lang.String int int java.lang.String[] java.lang.String
StackMap stack: java.net.URISyntaxException
40: astore 10
start local 10 41: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 10
invokevirtual java.net.URISyntaxException.getMessage:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newIOError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 10 42: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 10
start local 10 43: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 10
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 10 44: StackMap locals:
StackMap stack: java.lang.Exception
pop
45: StackMap locals:
StackMap stack:
aload 4
ifnull 48
46: aload 1
aload 0
aload 4
aload 9
invokevirtual org.jruby.runtime.load.LoadService.resolveLoadName:(Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$SearchState.setLoadName:(Ljava/lang/String;)V
47: goto 50
end local 9 end local 5 48: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
49: iload 6
iload 7
if_icmplt 29
50: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lorg/jruby/runtime/load/LoadService;
0 51 1 state Lorg/jruby/runtime/load/LoadService$SearchState;
0 51 2 baseName Ljava/lang/String;
0 51 3 suffixType Lorg/jruby/runtime/load/LoadService$SuffixType;
1 51 4 foundResource Lorg/jruby/runtime/load/LoadServiceResource;
6 24 5 suffix Ljava/lang/String;
7 24 9 namePlusSuffix Ljava/lang/String;
8 13 10 resourceUri Ljava/net/URI;
9 13 11 url Ljava/net/URL;
16 17 10 e Ljava/net/URISyntaxException;
18 19 10 e Ljava/net/MalformedURLException;
20 21 10 e Ljava/io/IOException;
30 48 5 suffix Ljava/lang/String;
31 48 9 namePlusSuffix Ljava/lang/String;
32 39 10 jarFile Ljava/lang/String;
33 39 11 file Ljava/util/jar/JarFile;
34 39 12 expandedFilename Ljava/lang/String;
37 39 13 resourceUri Ljava/net/URI;
41 42 10 e Ljava/net/URISyntaxException;
43 44 10 e Ljava/net/MalformedURLException;
Exception table:
from to target type
7 13 14 Class java.io.FileNotFoundException
7 13 15 Class java.net.URISyntaxException
7 13 17 Class java.net.MalformedURLException
7 13 19 Class java.io.IOException
31 39 40 Class java.net.URISyntaxException
31 39 42 Class java.net.MalformedURLException
31 39 44 Class java.lang.Exception
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
state
baseName
suffixType
protected org.jruby.runtime.load.LoadServiceResource tryResourceFromLoadPathOrURL(org.jruby.runtime.load.LoadService$SearchState, java.lang.String, org.jruby.runtime.load.LoadService$SuffixType);
descriptor: (Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=15, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 2
ldc "./"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
2: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.runtime.load.LoadService.tryResourceFromDotSlash:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
astore 4
3: aload 4
ifnull 5
4: aload 1
aload 0
aload 4
aload 4
invokevirtual org.jruby.runtime.load.LoadServiceResource.getName:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.resolveLoadName:(Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$SearchState.setLoadName:(Ljava/lang/String;)V
5: StackMap locals: org.jruby.runtime.load.LoadServiceResource
StackMap stack:
aload 4
areturn
6: StackMap locals:
StackMap stack:
aload 2
ldc "~/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
7: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.runtime.load.LoadService.tryResourceFromHome:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
astore 4
8: aload 4
ifnull 10
9: aload 1
aload 0
aload 4
aload 4
invokevirtual org.jruby.runtime.load.LoadServiceResource.getName:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.resolveLoadName:(Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$SearchState.setLoadName:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 4
areturn
11: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 2
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.isAbsolute:()Z
ifne 12
aload 2
ldc "../"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 22
12: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.getSuffixes:()[Ljava/lang/String;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 20
StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource top int int java.lang.String[]
StackMap stack:
13: aload 8
iload 6
aaload
astore 5
start local 5 14: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
start local 9 15: aload 0
aload 9
invokevirtual org.jruby.runtime.load.LoadService.tryResourceAsIs:(Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
astore 4
16: aload 4
ifnull 19
17: aload 1
aload 0
aload 4
aload 9
invokevirtual org.jruby.runtime.load.LoadService.resolveLoadName:(Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$SearchState.setLoadName:(Ljava/lang/String;)V
18: aload 4
areturn
end local 9 end local 5 19: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
20: iload 6
iload 7
if_icmplt 13
21: aconst_null
areturn
22: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource
StackMap stack:
iconst_0
istore 5
start local 5 23: goto 54
24: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield org.jruby.runtime.load.LoadService.loadPath:Lorg/jruby/RubyArray;
iload 5
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.runtime.load.LoadService.getLoadPathEntry:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/String;
astore 6
start local 6 25: aload 6
ldc "."
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 26
aload 6
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 33
26: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.runtime.load.LoadService.tryResourceFromCWD:(Lorg/jruby/runtime/load/LoadService$SearchState;Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LoadServiceResource;
astore 4
27: aload 4
ifnull 53
28: aload 4
invokevirtual org.jruby.runtime.load.LoadServiceResource.getName:()Ljava/lang/String;
astore 7
start local 7 29: aload 7
ldc "./"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 31
30: aload 7
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 7
31: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 0
aload 4
aload 7
invokevirtual org.jruby.runtime.load.LoadService.resolveLoadName:(Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$SearchState.setLoadName:(Ljava/lang/String;)V
32: goto 55
end local 7 33: StackMap locals:
StackMap stack:
aload 0
aload 6
invokevirtual org.jruby.runtime.load.LoadService.loadPathLooksLikeJarURL:(Ljava/lang/String;)Z
istore 7
start local 7 34: aload 0
aload 6
invokevirtual org.jruby.runtime.load.LoadService.loadPathLooksLikeClasspathURL:(Ljava/lang/String;)Z
istore 8
start local 8 35: aload 3
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.getSuffixes:()[Ljava/lang/String;
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 52
StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource int java.lang.String int int top int int java.lang.String[]
StackMap stack:
36: aload 12
iload 10
aaload
astore 9
start local 9 37: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 13
start local 13 38: iload 7
ifeq 41
39: aload 0
aload 13
aload 6
invokevirtual org.jruby.runtime.load.LoadService.tryResourceFromJarURLWithLoadPath:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
astore 4
40: goto 45
StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource int java.lang.String int int java.lang.String int int java.lang.String[] java.lang.String
StackMap stack:
41: iload 8
ifeq 44
42: aload 0
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.findFileInClasspath:(Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
astore 4
43: goto 45
44: StackMap locals:
StackMap stack:
aload 0
aload 13
aload 6
invokevirtual org.jruby.runtime.load.LoadService.tryResourceFromLoadPath:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
astore 4
45: StackMap locals:
StackMap stack:
aload 4
ifnull 51
46: aload 13
astore 14
start local 14 47: aload 14
ldc "./"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 49
48: aload 14
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 14
49: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 0
aload 4
aload 14
invokevirtual org.jruby.runtime.load.LoadService.resolveLoadName:(Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$SearchState.setLoadName:(Ljava/lang/String;)V
50: goto 55
end local 14 end local 13 end local 9 51: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource int java.lang.String int int top int int java.lang.String[]
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
52: iload 10
iload 11
if_icmplt 36
end local 8 end local 7 end local 6 53: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadService$SearchState java.lang.String org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadServiceResource int
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
54: iload 5
aload 0
getfield org.jruby.runtime.load.LoadService.loadPath:Lorg/jruby/RubyArray;
invokevirtual org.jruby.RubyArray.size:()I
if_icmplt 24
end local 5 55: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 56 0 this Lorg/jruby/runtime/load/LoadService;
0 56 1 state Lorg/jruby/runtime/load/LoadService$SearchState;
0 56 2 baseName Ljava/lang/String;
0 56 3 suffixType Lorg/jruby/runtime/load/LoadService$SuffixType;
1 56 4 foundResource Lorg/jruby/runtime/load/LoadServiceResource;
14 19 5 suffix Ljava/lang/String;
15 19 9 namePlusSuffix Ljava/lang/String;
23 55 5 i I
25 53 6 loadPathEntry Ljava/lang/String;
29 33 7 ss Ljava/lang/String;
34 53 7 looksLikeJarURL Z
35 53 8 looksLikeClasspathURL Z
37 51 9 suffix Ljava/lang/String;
38 51 13 namePlusSuffix Ljava/lang/String;
47 51 14 ss Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
state
baseName
suffixType
protected java.lang.String getLoadPathEntry(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 1
invokestatic org.jruby.RubyFile.get_path:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.asJavaString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LoadService;
0 1 1 entry Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
entry
protected org.jruby.runtime.load.LoadServiceResource tryResourceFromJarURLWithLoadPath(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
aload 2
invokevirtual org.jruby.runtime.load.LoadService.splitJarUrl:(Ljava/lang/String;)[Ljava/lang/String;
astore 4
start local 4 2: aload 4
iconst_0
aaload
astore 5
start local 5 3: aload 4
iconst_1
aaload
astore 6
start local 6 4: aload 0
aload 5
invokevirtual org.jruby.runtime.load.LoadService.getJarFile:(Ljava/lang/String;)Ljava/util/jar/JarFile;
astore 7
start local 7 5: aload 7
ifnull 19
6: new java.lang.StringBuilder
dup
aload 6
invokevirtual java.lang.String.length:()I
ifle 7
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 8
StackMap locals: org.jruby.runtime.load.LoadService java.lang.String java.lang.String org.jruby.runtime.load.LoadServiceResource java.lang.String[] java.lang.String java.lang.String java.util.jar.JarFile
StackMap stack: new 6 new 6
7: ldc ""
StackMap locals: org.jruby.runtime.load.LoadService java.lang.String java.lang.String org.jruby.runtime.load.LoadServiceResource java.lang.String[] java.lang.String java.lang.String java.util.jar.JarFile
StackMap stack: new 6 new 6 java.lang.String
8: invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 8
start local 8 9: aload 0
ldc "resourceFromJarURLWithLoadPath"
new java.lang.StringBuilder
dup
aload 7
invokevirtual java.util.jar.JarFile.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "!/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.debugLogTry:(Ljava/lang/String;Ljava/lang/String;)V
10: aload 7
aload 8
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
ifnull 19
11: new java.net.URI
dup
ldc "jar"
new java.lang.StringBuilder
dup
ldc "file:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "!/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aconst_null
invokespecial java.net.URI.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 9
start local 9 12: new org.jruby.runtime.load.LoadServiceResource
dup
aload 9
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
aload 9
invokevirtual java.net.URI.getSchemeSpecificPart:()Ljava/lang/String;
invokespecial org.jruby.runtime.load.LoadServiceResource.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 3
13: aload 0
aload 3
invokevirtual org.jruby.runtime.load.LoadService.debugLogFound:(Lorg/jruby/runtime/load/LoadServiceResource;)V
end local 9 14: goto 19
StackMap locals: org.jruby.runtime.load.LoadService java.lang.String java.lang.String org.jruby.runtime.load.LoadServiceResource java.lang.String[] java.lang.String java.lang.String java.util.jar.JarFile java.lang.String
StackMap stack: java.net.URISyntaxException
15: astore 9
start local 9 16: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 9
invokevirtual java.net.URISyntaxException.getMessage:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newIOError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 9 17: StackMap locals:
StackMap stack: java.net.MalformedURLException
astore 9
start local 9 18: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 9
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 9 end local 8 19: StackMap locals:
StackMap stack:
aload 3
areturn
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 20 0 this Lorg/jruby/runtime/load/LoadService;
0 20 1 namePlusSuffix Ljava/lang/String;
0 20 2 loadPathEntry Ljava/lang/String;
1 20 3 foundResource Lorg/jruby/runtime/load/LoadServiceResource;
2 20 4 urlParts [Ljava/lang/String;
3 20 5 jarFileName Ljava/lang/String;
4 20 6 entryPath Ljava/lang/String;
5 20 7 current Ljava/util/jar/JarFile;
9 19 8 canonicalEntry Ljava/lang/String;
12 14 9 resourceUri Ljava/net/URI;
16 17 9 e Ljava/net/URISyntaxException;
18 19 9 e Ljava/net/MalformedURLException;
Exception table:
from to target type
11 14 15 Class java.net.URISyntaxException
11 14 17 Class java.net.MalformedURLException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
namePlusSuffix
loadPathEntry
public java.util.jar.JarFile getJarFile(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/jar/JarFile;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.load.LoadService.jarFiles:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.jar.JarFile
astore 2
start local 2 1: aload 2
ifnonnull 12
2: new java.util.jar.JarFile
dup
aload 1
invokespecial java.util.jar.JarFile.<init>:(Ljava/lang/String;)V
astore 2
3: aload 0
getfield org.jruby.runtime.load.LoadService.jarFiles:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: goto 12
StackMap locals: org.jruby.runtime.load.LoadService java.lang.String java.util.jar.JarFile
StackMap stack: java.util.zip.ZipException
5: astore 3
start local 3 6: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getInstanceConfig:()Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.isDebug:()Z
ifeq 12
7: getstatic org.jruby.runtime.load.LoadService.LOG:Lorg/jruby/util/log/Logger;
new java.lang.StringBuilder
dup
ldc "ZipException trying to access "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokeinterface org.jruby.util.log.Logger.info:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 3 8: goto 12
9: StackMap locals:
StackMap stack: java.io.FileNotFoundException
pop
goto 12
10: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 11: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
aload 3
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 3 12: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/runtime/load/LoadService;
0 13 1 jarFileName Ljava/lang/String;
1 13 2 jarFile Ljava/util/jar/JarFile;
6 8 3 ignored Ljava/util/zip/ZipException;
11 12 3 e Ljava/io/IOException;
Exception table:
from to target type
2 4 5 Class java.util.zip.ZipException
2 4 9 Class java.io.FileNotFoundException
2 4 10 Class java.io.IOException
MethodParameters:
Name Flags
jarFileName
protected boolean loadPathLooksLikeJarURL(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "jar:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 2
aload 1
ldc ".jar"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 2
aload 1
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 1
aload 1
ldc "!"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpne 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/load/LoadService;
0 3 1 loadPathEntry Ljava/lang/String;
MethodParameters:
Name Flags
loadPathEntry
protected boolean loadPathLooksLikeClasspathURL(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "classpath:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LoadService;
0 1 1 loadPathEntry Ljava/lang/String;
MethodParameters:
Name Flags
loadPathEntry
private java.lang.String[] splitJarUrl(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: new java.net.URI
dup
aload 1
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
invokevirtual java.net.URI.getSchemeSpecificPart:()Ljava/lang/String;
astore 2
2: goto 4
StackMap locals: org.jruby.runtime.load.LoadService java.lang.String java.lang.String
StackMap stack: java.net.URISyntaxException
3: pop
4: StackMap locals:
StackMap stack:
aload 2
bipush 33
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 5: iload 3
iconst_m1
if_icmpne 7
6: iconst_2
anewarray java.lang.String
dup
iconst_0
aload 2
aastore
dup
iconst_1
ldc ""
aastore
areturn
7: StackMap locals: int
StackMap stack:
aload 2
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 8: iload 3
iconst_2
iadd
aload 2
invokevirtual java.lang.String.length:()I
if_icmpge 9
aload 2
iload 3
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 10
StackMap locals: java.lang.String
StackMap stack:
9: ldc ""
StackMap locals:
StackMap stack: java.lang.String
10: astore 5
start local 5 11: aload 4
ldc "jar:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
12: aload 4
iconst_4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
13: StackMap locals: java.lang.String
StackMap stack:
aload 4
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 15
14: aload 4
iconst_5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
15: StackMap locals:
StackMap stack:
iconst_2
anewarray java.lang.String
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 5
aastore
areturn
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 16 0 this Lorg/jruby/runtime/load/LoadService;
0 16 1 loadPathEntry Ljava/lang/String;
1 16 2 unescaped Ljava/lang/String;
5 16 3 idx I
8 16 4 filename Ljava/lang/String;
11 16 5 entry Ljava/lang/String;
Exception table:
from to target type
1 2 3 Class java.net.URISyntaxException
MethodParameters:
Name Flags
loadPathEntry
protected org.jruby.runtime.load.LoadServiceResource tryResourceFromLoadPath(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: invokestatic org.jruby.Ruby.isSecurityRestricted:()Z
ifne 17
2: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
start local 4 3: iconst_1
istore 5
start local 5 4: new java.io.File
dup
aload 4
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.isAbsolute:()Z
ifne 9
5: iconst_0
istore 5
6: aload 4
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 46
if_icmpeq 8
7: new java.lang.StringBuilder
dup
ldc "./"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
8: StackMap locals: org.jruby.runtime.load.LoadServiceResource java.lang.String int
StackMap stack:
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentDirectory:()Ljava/lang/String;
aload 2
invokestatic org.jruby.util.JRubyFile.create:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/util/JRubyFile;
invokevirtual org.jruby.util.JRubyFile.getAbsolutePath:()Ljava/lang/String;
astore 2
9: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 1
invokestatic org.jruby.RubyFile.expandUserPath:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Ljava/lang/String;
invokestatic org.jruby.util.JRubyFile.create:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/util/JRubyFile;
astore 6
start local 6 10: getstatic org.jruby.RubyInstanceConfig.DEBUG_LOAD_SERVICE:Z
ifeq 12
11: aload 0
ldc "resourceFromLoadPath"
new java.lang.StringBuilder
dup
ldc "'"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual org.jruby.util.JRubyFile.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual org.jruby.util.JRubyFile.isFile:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual org.jruby.util.JRubyFile.canRead:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.debugLogTry:(Ljava/lang/String;Ljava/lang/String;)V
12: StackMap locals: org.jruby.util.JRubyFile
StackMap stack:
aload 6
invokevirtual org.jruby.util.JRubyFile.canRead:()Z
ifeq 17
13: new org.jruby.runtime.load.LoadServiceResource
dup
aload 6
aload 4
iload 5
invokespecial org.jruby.runtime.load.LoadServiceResource.<init>:(Ljava/io/File;Ljava/lang/String;Z)V
astore 3
14: aload 0
aload 3
invokevirtual org.jruby.runtime.load.LoadService.debugLogFound:(Lorg/jruby/runtime/load/LoadServiceResource;)V
end local 6 end local 5 end local 4 15: goto 17
StackMap locals: org.jruby.runtime.load.LoadService java.lang.String java.lang.String org.jruby.runtime.load.LoadServiceResource
StackMap stack: java.lang.SecurityException
16: pop
17: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/jruby/runtime/load/LoadService;
0 18 1 namePlusSuffix Ljava/lang/String;
0 18 2 loadPathEntry Ljava/lang/String;
1 18 3 foundResource Lorg/jruby/runtime/load/LoadServiceResource;
3 15 4 reportedPath Ljava/lang/String;
4 15 5 absolute Z
10 15 6 actualPath Lorg/jruby/util/JRubyFile;
Exception table:
from to target type
1 15 16 Class java.lang.SecurityException
Exceptions:
throws org.jruby.exceptions.RaiseException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
namePlusSuffix
loadPathEntry
protected org.jruby.runtime.load.LoadServiceResource tryResourceAsIs(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "resourceAsIs"
invokevirtual org.jruby.runtime.load.LoadService.tryResourceAsIs:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LoadService;
0 1 1 namePlusSuffix Ljava/lang/String;
Exceptions:
throws org.jruby.exceptions.RaiseException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
namePlusSuffix
protected org.jruby.runtime.load.LoadServiceResource tryResourceAsIs(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: invokestatic org.jruby.Ruby.isSecurityRestricted:()Z
ifne 19
2: aload 1
astore 4
start local 4 3: new java.io.File
dup
aload 4
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.isAbsolute:()Z
ifeq 6
4: new java.io.File
dup
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 1
invokestatic org.jruby.RubyFile.expandUserPath:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 5
start local 5 5: goto 9
end local 5 6: StackMap locals: org.jruby.runtime.load.LoadServiceResource java.lang.String
StackMap stack:
aload 4
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 46
if_icmpne 8
aload 4
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 8
7: aload 4
ldc "\\./"
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentDirectory:()Ljava/lang/String;
invokevirtual java.lang.String.replaceFirst:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
8: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentDirectory:()Ljava/lang/String;
aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 1
invokestatic org.jruby.RubyFile.expandUserPath:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Ljava/lang/String;
invokestatic org.jruby.util.JRubyFile.create:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/util/JRubyFile;
astore 5
start local 5 9: StackMap locals: java.io.File
StackMap stack:
aload 0
aload 2
aload 5
invokevirtual java.io.File.toString:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.debugLogTry:(Ljava/lang/String;Ljava/lang/String;)V
10: aload 4
ldc ".."
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 14
11: aload 5
invokevirtual java.io.File.getCanonicalFile:()Ljava/io/File;
astore 5
12: goto 14
StackMap locals:
StackMap stack: java.io.IOException
13: pop
14: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.io.File.isFile:()Z
ifeq 19
aload 5
invokevirtual java.io.File.canRead:()Z
ifeq 19
15: new org.jruby.runtime.load.LoadServiceResource
dup
aload 5
aload 4
invokespecial org.jruby.runtime.load.LoadServiceResource.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 3
16: aload 0
aload 3
invokevirtual org.jruby.runtime.load.LoadService.debugLogFound:(Lorg/jruby/runtime/load/LoadServiceResource;)V
end local 5 end local 4 17: goto 19
StackMap locals: org.jruby.runtime.load.LoadService java.lang.String java.lang.String org.jruby.runtime.load.LoadServiceResource
StackMap stack: java.lang.SecurityException
18: pop
19: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/jruby/runtime/load/LoadService;
0 20 1 namePlusSuffix Ljava/lang/String;
0 20 2 debugName Ljava/lang/String;
1 20 3 foundResource Lorg/jruby/runtime/load/LoadServiceResource;
3 17 4 reportedPath Ljava/lang/String;
5 6 5 actualPath Ljava/io/File;
9 17 5 actualPath Ljava/io/File;
Exception table:
from to target type
11 12 13 Class java.io.IOException
1 17 18 Class java.lang.SecurityException
Exceptions:
throws org.jruby.exceptions.RaiseException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
namePlusSuffix
debugName
protected org.jruby.runtime.load.LoadServiceResource findFileInClasspath(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getJRubyClassLoader:()Lorg/jruby/util/JRubyClassLoader;
astore 2
start local 2 1: invokestatic org.jruby.Ruby.isSecurityRestricted:()Z
ifeq 3
aload 2
ifnonnull 3
2: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getInstanceConfig:()Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getLoader:()Ljava/lang/ClassLoader;
astore 2
3: StackMap locals: java.lang.ClassLoader
StackMap stack:
aload 1
ldc "classpath:/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 7
4: aload 0
aload 2
aload 1
invokevirtual org.jruby.runtime.load.LoadService.getClassPathResource:(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
astore 3
start local 3 5: aload 3
ifnull 9
6: aload 3
areturn
end local 3 7: StackMap locals:
StackMap stack:
aload 1
ldc "classpath:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
8: aload 1
ldc "classpath:"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
9: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 10: goto 27
11: StackMap locals: int
StackMap stack:
aload 0
aload 0
getfield org.jruby.runtime.load.LoadService.loadPath:Lorg/jruby/RubyArray;
iload 3
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.runtime.load.LoadService.getLoadPathEntry:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/String;
astore 4
start local 4 12: aload 4
invokevirtual java.lang.String.length:()I
ifne 13
goto 26
13: StackMap locals: java.lang.String
StackMap stack:
aload 4
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpeq 26
aload 4
invokevirtual java.lang.String.length:()I
iconst_1
if_icmple 14
aload 4
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpne 14
goto 26
14: StackMap locals:
StackMap stack:
aload 4
ldc "classpath:/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 17
15: aload 4
ldc "classpath:/"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
16: goto 19
StackMap locals:
StackMap stack:
17: aload 4
ldc "classpath:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 19
18: aload 4
ldc "classpath:"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
19: StackMap locals:
StackMap stack:
aload 1
aload 4
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 22
20: aload 1
aload 4
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
start local 5 21: goto 23
end local 5 22: StackMap locals:
StackMap stack:
aload 1
astore 5
start local 5 23: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 2
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.getClassPathResource:(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
astore 6
start local 6 24: aload 6
ifnull 26
25: aload 6
areturn
end local 6 end local 5 end local 4 26: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
27: iload 3
aload 0
getfield org.jruby.runtime.load.LoadService.loadPath:Lorg/jruby/RubyArray;
invokevirtual org.jruby.RubyArray.size:()I
if_icmplt 11
end local 3 28: aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpeq 29
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
if_icmple 30
aload 1
iconst_1
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpne 30
StackMap locals:
StackMap stack:
29: aconst_null
areturn
30: StackMap locals:
StackMap stack:
aload 0
aload 2
aload 1
invokevirtual org.jruby.runtime.load.LoadService.getClassPathResource:(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
astore 3
start local 3 31: aload 3
ifnull 33
32: aload 3
areturn
33: StackMap locals: org.jruby.runtime.load.LoadServiceResource
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/jruby/runtime/load/LoadService;
0 34 1 name Ljava/lang/String;
1 34 2 classLoader Ljava/lang/ClassLoader;
5 7 3 foundResource Lorg/jruby/runtime/load/LoadServiceResource;
10 28 3 i I
12 26 4 entry Ljava/lang/String;
21 22 5 entryName Ljava/lang/String;
23 26 5 entryName Ljava/lang/String;
24 26 6 foundResource Lorg/jruby/runtime/load/LoadServiceResource;
31 34 3 foundResource Lorg/jruby/runtime/load/LoadServiceResource;
MethodParameters:
Name Flags
name
protected static boolean isRequireable(java.net.URL);
descriptor: (Ljava/net/URL;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnull 6
1: aload 0
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "file"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
new java.io.File
dup
aload 0
invokestatic org.jruby.util.URLUtil.getPath:(Ljava/net/URL;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.isDirectory:()Z
ifeq 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.net.URL.openConnection:()Ljava/net/URLConnection;
pop
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack: java.lang.Exception
pop
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 loc Ljava/net/URL;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
MethodParameters:
Name Flags
loc
public org.jruby.runtime.load.LoadServiceResource getClassPathResource(java.lang.ClassLoader, java.lang.String);
descriptor: (Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/jruby/runtime/load/LoadServiceResource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 2
ldc "classpath:/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
2: iconst_1
istore 3
3: aload 2
ldc "classpath:/"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
4: goto 11
StackMap locals: int
StackMap stack:
5: aload 2
ldc "classpath:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 9
6: iconst_1
istore 3
7: aload 2
ldc "classpath:"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
8: goto 11
StackMap locals:
StackMap stack:
9: aload 2
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
aload 2
ldc "!/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 11
10: aload 2
aload 2
ldc "!/"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_2
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
11: StackMap locals:
StackMap stack:
getstatic org.jruby.runtime.load.LoadService.URI_PATTERN:Ljava/util/regex/Pattern;
aload 2
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 5
start local 5 12: aload 5
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 20
13: aload 0
ldc "fileInClassloader"
aload 5
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.debugLogTry:(Ljava/lang/String;Ljava/lang/String;)V
14: new java.net.URL
dup
aload 5
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
ldc "([^:])//"
ldc "$1/"
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 4
start local 4 15: aload 4
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
pop
16: goto 25
end local 4 17: StackMap locals: org.jruby.runtime.load.LoadService java.lang.ClassLoader java.lang.String int top java.util.regex.Matcher
StackMap stack: java.io.IOException
pop
18: aconst_null
astore 4
start local 4 19: goto 25
end local 4 20: StackMap locals:
StackMap stack:
aload 0
ldc "fileInClasspath"
aload 2
invokevirtual org.jruby.runtime.load.LoadService.debugLogTry:(Ljava/lang/String;Ljava/lang/String;)V
21: aload 1
aload 2
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 4
start local 4 22: goto 25
end local 4 23: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
pop
24: aconst_null
astore 4
start local 4 25: StackMap locals: org.jruby.runtime.load.LoadService java.lang.ClassLoader java.lang.String int java.net.URL java.util.regex.Matcher
StackMap stack:
aload 4
ifnull 30
26: aload 2
aload 4
iload 3
invokestatic org.jruby.runtime.load.LoadService.classpathFilenameFromURL:(Ljava/lang/String;Ljava/net/URL;Z)Ljava/lang/String;
astore 6
start local 6 27: new org.jruby.runtime.load.LoadServiceResource
dup
aload 4
aload 6
invokespecial org.jruby.runtime.load.LoadServiceResource.<init>:(Ljava/net/URL;Ljava/lang/String;)V
astore 7
start local 7 28: aload 0
aload 7
invokevirtual org.jruby.runtime.load.LoadService.debugLogFound:(Lorg/jruby/runtime/load/LoadServiceResource;)V
29: aload 7
areturn
end local 7 end local 6 30: StackMap locals:
StackMap stack:
aconst_null
areturn
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 31 0 this Lorg/jruby/runtime/load/LoadService;
0 31 1 classLoader Ljava/lang/ClassLoader;
0 31 2 name Ljava/lang/String;
1 31 3 isClasspathScheme Z
15 17 4 loc Ljava/net/URL;
19 20 4 loc Ljava/net/URL;
22 23 4 loc Ljava/net/URL;
25 31 4 loc Ljava/net/URL;
12 31 5 m Ljava/util/regex/Matcher;
27 30 6 path Ljava/lang/String;
28 30 7 foundResource Lorg/jruby/runtime/load/LoadServiceResource;
Exception table:
from to target type
14 16 17 Class java.io.IOException
21 22 23 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
classLoader
name
public static java.lang.String classpathFilenameFromURL(java.lang.String, java.net.URL, boolean);
descriptor: (Ljava/lang/String;Ljava/net/URL;Z)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
ldc "classpath:/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 1: iload 2
ifne 7
2: aload 1
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "jar"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
aload 1
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "file"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokestatic org.jruby.runtime.load.LoadService.isRequireable:(Ljava/net/URL;)Z
ifeq 7
4: aload 1
invokestatic org.jruby.util.URLUtil.getPath:(Ljava/net/URL;)Ljava/lang/String;
astore 3
5: getstatic org.jruby.platform.Platform.IS_WINDOWS:Z
ifeq 7
aload 1
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "file"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
6: new java.io.File
dup
aload 3
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getPath:()Ljava/lang/String;
astore 3
7: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 name Ljava/lang/String;
0 8 1 loc Ljava/net/URL;
0 8 2 isClasspathScheme Z
1 8 3 path Ljava/lang/String;
MethodParameters:
Name Flags
name
loc
isClasspathScheme
private java.lang.String expandRelativeJarPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "/[^/]+/\\.\\.|[^/]+/\\.\\./|\\./"
ldc ""
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
ldc "^\\\\"
ldc "/"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LoadService;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
protected java.lang.String resolveLoadName(org.jruby.runtime.load.LoadServiceResource, java.lang.String);
descriptor: (Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
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.LoadService.canGetAbsolutePath:Z
ifeq 9
1: aload 1
invokevirtual org.jruby.runtime.load.LoadServiceResource.getAbsolutePath:()Ljava/lang/String;
astore 3
start local 3 2: getstatic org.jruby.platform.Platform.IS_WINDOWS:Z
ifeq 4
3: aload 3
bipush 92
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 3
4: StackMap locals: java.lang.String
StackMap stack:
aload 3
5: areturn
end local 3 6: StackMap locals: org.jruby.runtime.load.LoadService org.jruby.runtime.load.LoadServiceResource java.lang.String
StackMap stack: java.security.AccessControlException
pop
7: aload 0
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getWarnings:()Lorg/jruby/common/RubyWarnings;
ldc "can't canonicalize loaded names due to security restrictions; disabling"
invokevirtual org.jruby.common.RubyWarnings.warn:(Ljava/lang/String;)V
8: aload 0
iconst_0
putfield org.jruby.runtime.load.LoadService.canGetAbsolutePath:Z
9: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.jruby.runtime.load.LoadService.resolveLoadName:(Lorg/jruby/runtime/load/LoadServiceResource;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/runtime/load/LoadService;
0 10 1 foundResource Lorg/jruby/runtime/load/LoadServiceResource;
0 10 2 previousPath Ljava/lang/String;
2 6 3 path Ljava/lang/String;
Exception table:
from to target type
1 5 6 Class java.security.AccessControlException
MethodParameters:
Name Flags
foundResource
previousPath
protected java.lang.String getFileName(org.jruby.util.JRubyFile, java.lang.String);
descriptor: (Lorg/jruby/util/JRubyFile;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.jruby.util.JRubyFile.getAbsolutePath:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LoadService;
0 1 1 file Lorg/jruby/util/JRubyFile;
0 1 2 namePlusSuffix Ljava/lang/String;
MethodParameters:
Name Flags
file
namePlusSuffix
public void addBuiltinLibrary(java.lang.String, org.jruby.runtime.load.Library);
descriptor: (Ljava/lang/String;Lorg/jruby/runtime/load/Library;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.load.LoadService.builtinLibraries:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/load/LoadService;
0 2 1 name Ljava/lang/String;
0 2 2 library Lorg/jruby/runtime/load/Library;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
name
library
public void removeBuiltinLibrary(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.load.LoadService.builtinLibraries:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/load/LoadService;
0 2 1 name Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
name
public java.util.List<java.lang.String> getBuiltinLibraries();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.load.LoadService.builtinLibraries:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LoadService;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
static int[] $SWITCH_TABLE$org$jruby$runtime$load$LoadService$SuffixType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.jruby.runtime.load.LoadService.$SWITCH_TABLE$org$jruby$runtime$load$LoadService$SuffixType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.jruby.runtime.load.LoadService$SuffixType.values:()[Lorg/jruby/runtime/load/LoadService$SuffixType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.jruby.runtime.load.LoadService$SuffixType.Both:Lorg/jruby/runtime/load/LoadService$SuffixType;
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.jruby.runtime.load.LoadService$SuffixType.Extension:Lorg/jruby/runtime/load/LoadService$SuffixType;
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.jruby.runtime.load.LoadService$SuffixType.Neither:Lorg/jruby/runtime/load/LoadService$SuffixType;
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.ordinal:()I
iconst_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic org.jruby.runtime.load.LoadService$SuffixType.Source:Lorg/jruby/runtime/load/LoadService$SuffixType;
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic org.jruby.runtime.load.LoadService.$SWITCH_TABLE$org$jruby$runtime$load$LoadService$SuffixType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "LoadService.java"
NestMembers:
org.jruby.runtime.load.LoadService$BailoutSearcher org.jruby.runtime.load.LoadService$ClassLoaderSearcher org.jruby.runtime.load.LoadService$ExtensionSearcher org.jruby.runtime.load.LoadService$LoadSearcher org.jruby.runtime.load.LoadService$LoadTimer org.jruby.runtime.load.LoadService$LockResult org.jruby.runtime.load.LoadService$NormalSearcher org.jruby.runtime.load.LoadService$RequireLocks org.jruby.runtime.load.LoadService$RequireState org.jruby.runtime.load.LoadService$ScriptClassSearcher org.jruby.runtime.load.LoadService$ScriptClassSearcher$ScriptClassLibrary org.jruby.runtime.load.LoadService$SearchState org.jruby.runtime.load.LoadService$SourceBailoutSearcher org.jruby.runtime.load.LoadService$SuffixType org.jruby.runtime.load.LoadService$TracingLoadTimer
InnerClasses:
FoundLibrary = org.jruby.runtime.load.LibrarySearcher$FoundLibrary of org.jruby.runtime.load.LibrarySearcher
ResourceLibrary = org.jruby.runtime.load.LibrarySearcher$ResourceLibrary of org.jruby.runtime.load.LibrarySearcher
public BailoutSearcher = org.jruby.runtime.load.LoadService$BailoutSearcher of org.jruby.runtime.load.LoadService
public ClassLoaderSearcher = org.jruby.runtime.load.LoadService$ClassLoaderSearcher of org.jruby.runtime.load.LoadService
public ExtensionSearcher = org.jruby.runtime.load.LoadService$ExtensionSearcher of org.jruby.runtime.load.LoadService
public abstract LoadSearcher = org.jruby.runtime.load.LoadService$LoadSearcher of org.jruby.runtime.load.LoadService
private LoadTimer = org.jruby.runtime.load.LoadService$LoadTimer of org.jruby.runtime.load.LoadService
final LockResult = org.jruby.runtime.load.LoadService$LockResult of org.jruby.runtime.load.LoadService
public NormalSearcher = org.jruby.runtime.load.LoadService$NormalSearcher of org.jruby.runtime.load.LoadService
private final RequireLocks = org.jruby.runtime.load.LoadService$RequireLocks of org.jruby.runtime.load.LoadService
private final RequireState = org.jruby.runtime.load.LoadService$RequireState of org.jruby.runtime.load.LoadService
public ScriptClassSearcher = org.jruby.runtime.load.LoadService$ScriptClassSearcher of org.jruby.runtime.load.LoadService
public SearchState = org.jruby.runtime.load.LoadService$SearchState of org.jruby.runtime.load.LoadService
public SourceBailoutSearcher = org.jruby.runtime.load.LoadService$SourceBailoutSearcher of org.jruby.runtime.load.LoadService
public final SuffixType = org.jruby.runtime.load.LoadService$SuffixType of org.jruby.runtime.load.LoadService
private final TracingLoadTimer = org.jruby.runtime.load.LoadService$TracingLoadTimer of org.jruby.runtime.load.LoadService