public class org.jruby.RubySignalException extends org.jruby.RubyException
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubySignalException
super_class: org.jruby.RubyException
{
private static final org.jruby.runtime.ObjectAllocator SIGNAL_EXCEPTION_ALLOCATOR;
descriptor: Lorg/jruby/runtime/ObjectAllocator;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private org.jruby.runtime.builtin.IRubyObject signo;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jruby/RubySignalException;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jruby.RubySignalException.$assertionsDisabled:Z
3: invokedynamic allocate()Lorg/jruby/runtime/ObjectAllocator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject;
org/jruby/RubySignalException.lambda$0(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject; (6)
(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject;
4: putstatic org.jruby.RubySignalException.SIGNAL_EXCEPTION_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
5: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)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 1
aload 2
invokespecial org.jruby.RubyException.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubySignalException;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 exceptionClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
exceptionClass
protected org.jruby.exceptions.RaiseException constructThrowable(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.exceptions.SignalException
dup
aload 1
aload 0
invokespecial org.jruby.exceptions.SignalException.<init>:(Ljava/lang/String;Lorg/jruby/RubySignalException;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubySignalException;
0 1 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
static org.jruby.RubyClass define(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/RubyClass;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc "SignalException"
aload 1
getstatic org.jruby.RubySignalException.SIGNAL_EXCEPTION_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 2
start local 2 1: aload 2
ldc Lorg/jruby/RubySignalException;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
2: aload 2
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 exceptionClass Lorg/jruby/RubyClass;
1 3 2 signalExceptionClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
exceptionClass
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: iconst_1
istore 5
start local 5 2: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 3: aload 2
arraylength
istore 9
start local 9 4: iload 9
ifle 10
5: aload 4
aload 2
iconst_0
aaload
ldc "to_int"
invokestatic org.jruby.util.TypeConverter.checkIntegerType:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
6: aload 6
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 9
7: aload 2
iconst_0
aaload
astore 6
8: goto 10
9: StackMap locals: org.jruby.RubySignalException org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.Block org.jruby.Ruby int org.jruby.runtime.builtin.IRubyObject top top int
StackMap stack:
iconst_2
istore 5
10: StackMap locals:
StackMap stack:
aload 4
aload 2
iconst_1
iload 5
invokestatic org.jruby.runtime.Arity.checkArgumentCount:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;II)I
pop
11: iload 5
iconst_2
if_icmpne 20
12: aload 6
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
invokevirtual org.jruby.RubyInteger.getLongValue:()J
lstore 7
start local 7 13: lload 7
lconst_0
lcmp
iflt 14
lload 7
getstatic jnr.constants.platform.Signal.NSIG:Ljnr/constants/platform/Signal;
invokevirtual jnr.constants.platform.Signal.longValue:()J
lcmp
ifle 15
14: StackMap locals: org.jruby.RubySignalException org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.Block org.jruby.Ruby int org.jruby.runtime.builtin.IRubyObject long int
StackMap stack:
aload 4
new java.lang.StringBuilder
dup
ldc "invalid signal number ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 7
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
15: StackMap locals:
StackMap stack:
iload 9
iconst_1
if_icmple 18
16: aload 2
iconst_1
aaload
astore 6
17: goto 25
18: StackMap locals:
StackMap stack:
aload 4
lload 7
invokestatic org.jruby.RubySignal.signo2signm:(J)Ljava/lang/String;
invokestatic org.jruby.RubySignal.signmWithPrefix:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
astore 6
19: goto 25
end local 7 20: StackMap locals: org.jruby.RubySignalException org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.Block org.jruby.Ruby int org.jruby.runtime.builtin.IRubyObject top top int
StackMap stack:
aload 6
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 10
start local 10 21: aload 10
invokestatic org.jruby.RubySignal.signmWithoutPrefix:(Ljava/lang/String;)Ljava/lang/String;
invokestatic org.jruby.RubySignal.signm2signo:(Ljava/lang/String;)J
lstore 7
start local 7 22: lload 7
lconst_0
lcmp
ifne 24
23: aload 4
new java.lang.StringBuilder
dup
ldc "unsupported name "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
24: StackMap locals: org.jruby.RubySignalException org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.Block org.jruby.Ruby int org.jruby.runtime.builtin.IRubyObject long int java.lang.String
StackMap stack:
aload 4
aload 10
invokestatic org.jruby.RubySignal.signmWithPrefix:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
astore 6
end local 10 25: StackMap locals:
StackMap stack:
aload 0
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 6
aastore
aload 3
invokespecial org.jruby.RubyException.initialize:([Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
26: aload 0
aload 4
lload 7
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
putfield org.jruby.RubySignalException.signo:Lorg/jruby/runtime/builtin/IRubyObject;
27: aload 0
areturn
end local 9 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 28 0 this Lorg/jruby/RubySignalException;
0 28 1 context Lorg/jruby/runtime/ThreadContext;
0 28 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 28 3 block Lorg/jruby/runtime/Block;
1 28 4 runtime Lorg/jruby/Ruby;
2 28 5 argnum I
3 28 6 sig Lorg/jruby/runtime/builtin/IRubyObject;
13 20 7 _signo J
22 28 7 _signo J
4 28 9 argc I
21 25 10 signm Ljava/lang/String;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(optional = 2, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
args
block
public org.jruby.runtime.builtin.IRubyObject signo(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.jruby.RubySignalException.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.jruby.RubySignalException.signo:Lorg/jruby/runtime/builtin/IRubyObject;
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubySignalException.signo:Lorg/jruby/runtime/builtin/IRubyObject;
getstatic org.jruby.RubyBasicObject.UNDEF:Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 2
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubySignalException.signo:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubySignalException;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject message(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.jruby.RubyException.message:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubySignalException;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"message", "signm"})
MethodParameters:
Name Flags
context
private static org.jruby.runtime.builtin.IRubyObject lambda$0(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.RubySignalException
dup
aload 0
aload 1
invokespecial org.jruby.RubySignalException.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 klass Lorg/jruby/RubyClass;
}
SourceFile: "RubySignalException.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"SignalException"}, parent = "Exception")