public class org.jruby.embed.IsolatedScriptingContainer extends org.jruby.embed.ScriptingContainer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.embed.IsolatedScriptingContainer
super_class: org.jruby.embed.ScriptingContainer
{
private static final java.lang.String URI_CLASSLOADER;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "uri:classloader:/"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.jruby.embed.LocalContextScope.SINGLETON:Lorg/jruby/embed/LocalContextScope;
invokespecial org.jruby.embed.IsolatedScriptingContainer.<init>:(Lorg/jruby/embed/LocalContextScope;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/embed/IsolatedScriptingContainer;
public void <init>(org.jruby.embed.LocalContextScope, org.jruby.embed.LocalVariableBehavior);
descriptor: (Lorg/jruby/embed/LocalContextScope;Lorg/jruby/embed/LocalVariableBehavior;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokespecial org.jruby.embed.IsolatedScriptingContainer.<init>:(Lorg/jruby/embed/LocalContextScope;Lorg/jruby/embed/LocalVariableBehavior;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/embed/IsolatedScriptingContainer;
0 2 1 scope Lorg/jruby/embed/LocalContextScope;
0 2 2 behavior Lorg/jruby/embed/LocalVariableBehavior;
MethodParameters:
Name Flags
scope
behavior
public void <init>(org.jruby.embed.LocalContextScope);
descriptor: (Lorg/jruby/embed/LocalContextScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.jruby.embed.LocalVariableBehavior.TRANSIENT:Lorg/jruby/embed/LocalVariableBehavior;
invokespecial org.jruby.embed.IsolatedScriptingContainer.<init>:(Lorg/jruby/embed/LocalContextScope;Lorg/jruby/embed/LocalVariableBehavior;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/embed/IsolatedScriptingContainer;
0 2 1 scope Lorg/jruby/embed/LocalContextScope;
MethodParameters:
Name Flags
scope
public void <init>(org.jruby.embed.LocalVariableBehavior);
descriptor: (Lorg/jruby/embed/LocalVariableBehavior;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic org.jruby.embed.LocalContextScope.SINGLETON:Lorg/jruby/embed/LocalContextScope;
aload 1
invokespecial org.jruby.embed.IsolatedScriptingContainer.<init>:(Lorg/jruby/embed/LocalContextScope;Lorg/jruby/embed/LocalVariableBehavior;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/embed/IsolatedScriptingContainer;
0 2 1 behavior Lorg/jruby/embed/LocalVariableBehavior;
MethodParameters:
Name Flags
behavior
public void <init>(org.jruby.embed.LocalContextScope, org.jruby.embed.LocalVariableBehavior, boolean);
descriptor: (Lorg/jruby/embed/LocalContextScope;Lorg/jruby/embed/LocalVariableBehavior;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iload 3
invokespecial org.jruby.embed.ScriptingContainer.<init>:(Lorg/jruby/embed/LocalContextScope;Lorg/jruby/embed/LocalVariableBehavior;Z)V
1: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 4
start local 4 2: aload 4
ldc "uri:classloader:/"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 0
aload 4
invokevirtual org.jruby.embed.IsolatedScriptingContainer.setLoadPaths:(Ljava/util/List;)V
4: new org.jruby.util.UriLikePathHelper
dup
new org.jruby.util.ClassesLoader
dup
aload 0
invokevirtual org.jruby.embed.IsolatedScriptingContainer.getClassLoader:()Ljava/lang/ClassLoader;
invokespecial org.jruby.util.ClassesLoader.<init>:(Ljava/lang/ClassLoader;)V
invokespecial org.jruby.util.UriLikePathHelper.<init>:(Lorg/jruby/util/Loader;)V
astore 5
start local 5 5: aload 5
ldc "/.jrubydir"
invokevirtual org.jruby.util.UriLikePathHelper.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 6
start local 6 6: aload 6
ifnull 8
7: aload 0
ldc "uri:classloader:/"
invokevirtual org.jruby.embed.IsolatedScriptingContainer.setCurrentDirectory:(Ljava/lang/String;)V
8: StackMap locals: org.jruby.embed.IsolatedScriptingContainer org.jruby.embed.LocalContextScope org.jruby.embed.LocalVariableBehavior int java.util.List org.jruby.util.UriLikePathHelper java.net.URL
StackMap stack:
aload 0
aconst_null
invokevirtual org.jruby.embed.IsolatedScriptingContainer.setEnvironment:(Ljava/util/Map;)V
9: aload 0
invokevirtual org.jruby.embed.IsolatedScriptingContainer.getProvider:()Lorg/jruby/embed/internal/LocalContextProvider;
invokeinterface org.jruby.embed.internal.LocalContextProvider.getRubyInstanceConfig:()Lorg/jruby/RubyInstanceConfig;
iconst_0
invokevirtual org.jruby.RubyInstanceConfig.setClassloaderDelegate:(Z)V
10: return
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 11 0 this Lorg/jruby/embed/IsolatedScriptingContainer;
0 11 1 scope Lorg/jruby/embed/LocalContextScope;
0 11 2 behavior Lorg/jruby/embed/LocalVariableBehavior;
0 11 3 lazy Z
2 11 4 loadPaths Ljava/util/List<Ljava/lang/String;>;
5 11 5 uriPath Lorg/jruby/util/UriLikePathHelper;
6 11 6 url Ljava/net/URL;
MethodParameters:
Name Flags
scope
behavior
lazy
public void setEnvironment(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
aload 1
ldc "GEM_PATH"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: aload 1
ldc "GEM_HOME"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
aload 1
ldc "JARS_HOME"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 10
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 3
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
goto 4
StackMap locals:
StackMap stack:
3: new java.util.HashMap
dup
aload 1
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
StackMap locals:
StackMap stack: java.util.HashMap
4: astore 2
start local 2 5: aload 2
ldc "GEM_PATH"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 6
aload 2
ldc "GEM_PATH"
ldc "uri:classloader:/"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals: java.util.Map
StackMap stack:
aload 2
ldc "GEM_HOME"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 7
aload 2
ldc "GEM_HOME"
ldc "uri:classloader:/"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
aload 2
ldc "JARS_HOME"
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 8
aload 2
ldc "JARS_HOME"
ldc "uri:classloader:/jars"
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: StackMap locals:
StackMap stack:
aload 0
aload 2
invokespecial org.jruby.embed.ScriptingContainer.setEnvironment:(Ljava/util/Map;)V
end local 2 9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.jruby.embed.ScriptingContainer.setEnvironment:(Ljava/util/Map;)V
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/embed/IsolatedScriptingContainer;
0 12 1 environment Ljava/util/Map;
5 9 2 env Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
environment
}
SourceFile: "IsolatedScriptingContainer.java"