class org.jruby.RubyGlobal$ErrorInfoGlobalVariable extends org.jruby.runtime.GlobalVariable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyGlobal$ErrorInfoGlobalVariable
super_class: org.jruby.runtime.GlobalVariable
{
public void <init>(org.jruby.Ruby, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 // org.jruby.RubyGlobal$ErrorInfoGlobalVariable this
start local 1 // org.jruby.Ruby runtime
start local 2 // java.lang.String name
start local 3 // org.jruby.runtime.builtin.IRubyObject value
0: .line 720
aload 0 /* this */
aload 1 /* runtime */
aload 2 /* name */
aconst_null
invokespecial org.jruby.runtime.GlobalVariable.<init>:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
1: .line 721
aload 0 /* this */
aload 3 /* value */
invokevirtual org.jruby.RubyGlobal$ErrorInfoGlobalVariable.set:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: .line 722
return
end local 3 // org.jruby.runtime.builtin.IRubyObject value
end local 2 // java.lang.String name
end local 1 // org.jruby.Ruby runtime
end local 0 // org.jruby.RubyGlobal$ErrorInfoGlobalVariable this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyGlobal$ErrorInfoGlobalVariable;
0 3 1 runtime Lorg/jruby/Ruby;
0 3 2 name Ljava/lang/String;
0 3 3 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
name
value
public org.jruby.runtime.builtin.IRubyObject set(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.jruby.RubyGlobal$ErrorInfoGlobalVariable this
start local 1 // org.jruby.runtime.builtin.IRubyObject value
0: .line 726
aload 1 /* value */
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 4
1: .line 727
aload 0 /* this */
getfield org.jruby.RubyGlobal$ErrorInfoGlobalVariable.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getException:()Lorg/jruby/RubyClass;
aload 1 /* value */
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 4
2: .line 728
aload 1 /* value */
invokestatic org.jruby.javasupport.JavaUtil.isJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 3
aload 1 /* value */
invokestatic org.jruby.javasupport.JavaUtil.unwrapJavaObject:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/Object;
instanceof java.lang.Throwable
ifne 4
3: .line 729
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.jruby.RubyGlobal$ErrorInfoGlobalVariable.runtime:Lorg/jruby/Ruby;
ldc "assigning non-exception to $!"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
4: .line 732
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.jruby.RubyGlobal$ErrorInfoGlobalVariable.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 1 /* value */
invokevirtual org.jruby.runtime.ThreadContext.setErrorInfo:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 // org.jruby.runtime.builtin.IRubyObject value
end local 0 // org.jruby.RubyGlobal$ErrorInfoGlobalVariable this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyGlobal$ErrorInfoGlobalVariable;
0 5 1 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
value
public org.jruby.runtime.builtin.IRubyObject get();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.jruby.RubyGlobal$ErrorInfoGlobalVariable this
0: .line 737
aload 0 /* this */
getfield org.jruby.RubyGlobal$ErrorInfoGlobalVariable.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.runtime.ThreadContext.getErrorInfo:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 // org.jruby.RubyGlobal$ErrorInfoGlobalVariable this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyGlobal$ErrorInfoGlobalVariable;
}
SourceFile: "RubyGlobal.java"
NestHost: org.jruby.RubyGlobal
InnerClasses:
private ErrorInfoGlobalVariable = org.jruby.RubyGlobal$ErrorInfoGlobalVariable of org.jruby.RubyGlobal