public class org.jruby.RubySignal
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubySignal
super_class: java.lang.Object
{
private static final org.jruby.util.SignalFacade SIGNAL_FACADE;
descriptor: Lorg/jruby/util/SignalFacade;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String SIGNAME_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "SIG"
private static final java.util.Map<java.lang.String, java.lang.Integer> SIGNAME_MAP;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
private static final java.util.Map<java.lang.Integer, java.lang.String> SIGNUM_MAP;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=8, args_size=0
0: invokestatic org.jruby.RubySignal.initSignalFacade:()Lorg/jruby/util/SignalFacade;
putstatic org.jruby.RubySignal.SIGNAL_FACADE:Lorg/jruby/util/SignalFacade;
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 0
start local 0 2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 3: invokestatic jnr.constants.platform.Signal.values:()[Ljnr/constants/platform/Signal;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 17
StackMap locals: java.util.HashMap java.util.HashMap top int int jnr.constants.platform.Signal[]
StackMap stack:
4: aload 5
iload 3
aaload
astore 2
start local 2 5: aload 2
invokevirtual jnr.constants.platform.Signal.defined:()Z
ifne 6
goto 16
6: StackMap locals: java.util.HashMap java.util.HashMap jnr.constants.platform.Signal int int jnr.constants.platform.Signal[]
StackMap stack:
aload 2
invokevirtual jnr.constants.platform.Signal.description:()Ljava/lang/String;
astore 6
start local 6 7: aload 6
ldc "SIG"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 8
goto 16
8: StackMap locals: java.lang.String
StackMap stack:
aload 6
invokestatic org.jruby.RubySignal.signmWithoutPrefix:(Ljava/lang/String;)Ljava/lang/String;
astore 6
9: aload 6
invokestatic org.jruby.RubySignal.SIGNAME:(Ljava/lang/String;)Z
ifne 10
goto 16
10: StackMap locals:
StackMap stack:
aload 2
invokevirtual jnr.constants.platform.Signal.intValue:()I
istore 7
start local 7 11: aload 2
getstatic jnr.constants.platform.Signal.SIGCLD:Ljnr/constants/platform/Signal;
if_acmpne 13
12: getstatic jnr.constants.platform.Signal.SIGCHLD:Ljnr/constants/platform/Signal;
invokevirtual jnr.constants.platform.Signal.intValue:()I
istore 7
13: StackMap locals: int
StackMap stack:
iload 7
sipush 20000
if_icmplt 14
goto 16
14: StackMap locals:
StackMap stack:
aload 0
aload 6
iload 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: aload 1
iload 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 6
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 6 end local 2 16: StackMap locals: java.util.HashMap java.util.HashMap top int int jnr.constants.platform.Signal[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
17: iload 3
iload 4
if_icmplt 4
18: getstatic org.jruby.platform.Platform.IS_WINDOWS:Z
ifeq 20
19: aload 0
ldc "KILL"
bipush 9
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
20: StackMap locals: java.util.HashMap java.util.HashMap
StackMap stack:
aload 0
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putstatic org.jruby.RubySignal.SIGNAME_MAP:Ljava/util/Map;
21: aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putstatic org.jruby.RubySignal.SIGNUM_MAP:Ljava/util/Map;
end local 1 end local 0 22: return
LocalVariableTable:
Start End Slot Name Signature
2 22 0 signals Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Integer;>;
3 22 1 signums Ljava/util/HashMap<Ljava/lang/Integer;Ljava/lang/String;>;
5 16 2 s Ljnr/constants/platform/Signal;
7 16 6 desc Ljava/lang/String;
11 16 7 signo I
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubySignal;
private static final org.jruby.util.SignalFacade initSignalFacade();
descriptor: ()Lorg/jruby/util/SignalFacade;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/jruby/util/SunSignalFacade;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast org.jruby.util.SignalFacade
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Throwable
pop
3: new org.jruby.util.NoFunctionalitySignalFacade
dup
invokespecial org.jruby.util.NoFunctionalitySignalFacade.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
0 1 2 Class java.lang.Throwable
public static void createSignal(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic org.jruby.platform.Platform.IS_WINDOWS:Z
ifne 5
1: ldc "java.lang.Process"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
pop
2: ldc "java.lang.UNIXProcess"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
pop
3: goto 5
StackMap locals:
StackMap stack: java.lang.Throwable
4: pop
5: StackMap locals:
StackMap stack:
aload 0
ldc "Signal"
invokevirtual org.jruby.Ruby.defineModule:(Ljava/lang/String;)Lorg/jruby/RubyModule;
astore 1
start local 1 6: aload 1
ldc Lorg/jruby/RubySignal;
invokevirtual org.jruby.RubyModule.defineAnnotatedMethods:(Ljava/lang/Class;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 runtime Lorg/jruby/Ruby;
6 8 1 mSignal Lorg/jruby/RubyModule;
Exception table:
from to target type
1 3 4 Class java.lang.Throwable
MethodParameters:
Name Flags
runtime
public static java.util.Map<java.lang.String, java.lang.Integer> list();
descriptor: ()Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.jruby.RubySignal.SIGNAME_MAP:Ljava/util/Map;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
public static org.jruby.runtime.builtin.IRubyObject list(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 1
dup
astore 4
monitorenter
2: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getInternalVariables:()Lorg/jruby/runtime/builtin/InternalVariables;
ldc "signal_list"
invokeinterface org.jruby.runtime.builtin.InternalVariables.getInternalVariable:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.jruby.RubyHash
astore 3
start local 3 3: aload 3
ifnonnull 12
4: aload 2
invokestatic org.jruby.RubyHash.newHash:(Lorg/jruby/Ruby;)Lorg/jruby/RubyHash;
astore 3
5: invokestatic org.jruby.RubySignal.list:()Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 8
StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.RubyHash org.jruby.runtime.builtin.IRubyObject top java.util.Iterator
StackMap stack:
6: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 7: aload 3
aload 0
aload 2
aload 2
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
invokevirtual org.jruby.Ruby.freezeAndDedupString:(Lorg/jruby/RubyString;)Lorg/jruby/RubyString;
aload 2
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.RubyHash.op_aset:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 5 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
9: aload 3
aload 0
aload 2
aload 2
ldc "EXIT"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
invokevirtual org.jruby.Ruby.freezeAndDedupString:(Lorg/jruby/RubyString;)Lorg/jruby/RubyString;
aload 2
iconst_0
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.RubyHash.op_aset:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
10: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getInternalVariables:()Lorg/jruby/runtime/builtin/InternalVariables;
ldc "signal_list"
aload 3
invokeinterface org.jruby.runtime.builtin.InternalVariables.setInternalVariable:(Ljava/lang/String;Ljava/lang/Object;)V
11: goto 13
12: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.RubyHash org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 3
aload 0
invokevirtual org.jruby.RubyHash.dup:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
13: StackMap locals:
StackMap stack:
aload 4
monitorexit
14: goto 17
end local 3 StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby top org.jruby.runtime.builtin.IRubyObject
StackMap stack: java.lang.Throwable
15: aload 4
monitorexit
16: athrow
start local 3 17: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby org.jruby.RubyHash
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 context Lorg/jruby/runtime/ThreadContext;
0 18 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
1 18 2 runtime Lorg/jruby/Ruby;
3 15 3 names Lorg/jruby/RubyHash;
17 18 3 names Lorg/jruby/RubyHash;
7 8 5 sig Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Integer;>;
Exception table:
from to target type
2 14 15 any
15 16 15 any
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(meta = true)
MethodParameters:
Name Flags
context
recv
public static org.jruby.runtime.builtin.IRubyObject __jtrap_kernel(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.jruby.RubySignal.SIGNAL_FACADE:Lorg/jruby/util/SignalFacade;
aload 0
aload 1
aload 2
invokeinterface org.jruby.util.SignalFacade.trap:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 block Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 sig Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 2, meta = true)
MethodParameters:
Name Flags
recv final
block
sig
public static org.jruby.runtime.builtin.IRubyObject __jtrap_platform_kernel(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.jruby.RubySignal.SIGNAL_FACADE:Lorg/jruby/util/SignalFacade;
aload 0
aload 1
invokeinterface org.jruby.util.SignalFacade.restorePlatformDefault:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 sig Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1, meta = true)
MethodParameters:
Name Flags
recv final
sig
public static org.jruby.runtime.builtin.IRubyObject __jtrap_osdefault_kernel(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.jruby.RubySignal.SIGNAL_FACADE:Lorg/jruby/util/SignalFacade;
aload 0
aload 1
invokeinterface org.jruby.util.SignalFacade.restoreOSDefault:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 sig Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1, meta = true)
MethodParameters:
Name Flags
recv final
sig
public static org.jruby.runtime.builtin.IRubyObject __jtrap_restore_kernel(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.jruby.RubySignal.SIGNAL_FACADE:Lorg/jruby/util/SignalFacade;
aload 0
aload 1
invokeinterface org.jruby.util.SignalFacade.ignore:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 sig Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1, meta = true)
MethodParameters:
Name Flags
recv final
sig
public static org.jruby.runtime.builtin.IRubyObject signame(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
invokevirtual org.jruby.RubyInteger.getLongValue:()J
lstore 3
start local 3 1: lload 3
invokestatic org.jruby.RubySignal.signo2signm:(J)Ljava/lang/String;
astore 5
start local 5 2: aload 5
ifnonnull 6
3: lload 3
lconst_0
lcmp
ifne 5
4: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "EXIT"
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
5: StackMap locals: long java.lang.String
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "invalid signal number: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
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
6: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 5
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 7 2 rubySig Lorg/jruby/runtime/builtin/IRubyObject;
1 7 3 sig J
2 7 5 signame Ljava/lang/String;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1, meta = true)
MethodParameters:
Name Flags
context
recv final
rubySig
public static java.lang.String signo2signm(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic org.jruby.RubySignal.SIGNUM_MAP:Ljava/util/Map;
lload 0
l2i
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 no J
MethodParameters:
Name Flags
no
public static long signm2signo(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic org.jruby.RubySignal.SIGNAME_MAP:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 1
start local 1 1: aload 1
ifnonnull 2
lconst_0
lreturn
2: StackMap locals: java.lang.Integer
StackMap stack:
aload 1
invokevirtual java.lang.Integer.intValue:()I
i2l
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 nm Ljava/lang/String;
1 3 1 signo Ljava/lang/Integer;
MethodParameters:
Name Flags
nm
public static java.lang.String signmWithPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "SIG"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 1
aload 0
goto 2
StackMap locals:
StackMap stack:
1: new java.lang.StringBuilder
dup
ldc "SIG"
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;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 nm Ljava/lang/String;
MethodParameters:
Name Flags
nm
public static java.lang.String signmWithoutPrefix(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "SIG"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 1
aload 0
ldc "SIG"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 nm Ljava/lang/String;
MethodParameters:
Name Flags
nm
private static boolean SIGNAME(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 44
-1753272476: 1
2342: 2
66144: 3
66811: 4
68780: 5
69819: 6
71907: 7
72585: 8
72655: 9
72686: 10
76641: 11
79491: 12
79659: 13
82605: 14
84298: 15
2002467: 16
2012070: 17
2067613: 18
2074418: 19
2142494: 20
2251950: 21
2306910: 22
2342692: 23
2455982: 24
2461631: 25
2464601: 26
2497103: 27
2541249: 28
2555906: 29
2571372: 30
2583341: 31
2584891: 32
2585509: 33
2585702: 34
2614589: 35
2614590: 36
2688560: 37
2691541: 38
68077820: 39
79089903: 40
82598177: 41
1776312715: 42
1816352481: 43
2009205283: 44
default: 46
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 1
ldc "VTALRM"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
2: aload 1
ldc "IO"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
3: aload 1
ldc "BUS"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
4: aload 1
ldc "CLD"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
5: aload 1
ldc "EMT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
6: aload 1
ldc "FPE"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
7: aload 1
ldc "HUP"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
8: aload 1
ldc "ILL"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
9: aload 1
ldc "INT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
10: aload 1
ldc "IOT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
11: aload 1
ldc "MSG"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
12: aload 1
ldc "PRE"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
13: aload 1
ldc "PWR"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
14: aload 1
ldc "SYS"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
15: aload 1
ldc "URG"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
16: aload 1
ldc "ABRT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
17: aload 1
ldc "ALRM"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
18: aload 1
ldc "CHLD"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
19: aload 1
ldc "CONT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
20: aload 1
ldc "EXIT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
21: aload 1
ldc "INFO"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
22: aload 1
ldc "KILL"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
23: aload 1
ldc "LOST"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
24: aload 1
ldc "PIPE"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
25: aload 1
ldc "POLL"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
26: aload 1
ldc "PROF"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
27: aload 1
ldc "QUIT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
28: aload 1
ldc "SEGV"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
29: aload 1
ldc "STOP"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
30: aload 1
ldc "TERM"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
31: aload 1
ldc "TRAP"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
32: aload 1
ldc "TSTP"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
33: aload 1
ldc "TTIN"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
34: aload 1
ldc "TTOU"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
35: aload 1
ldc "USR1"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
36: aload 1
ldc "USR2"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
37: aload 1
ldc "XCPU"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
38: aload 1
ldc "XFSZ"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
39: aload 1
ldc "GRANT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
40: aload 1
ldc "SOUND"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
41: aload 1
ldc "WINCH"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
42: aload 1
ldc "MIGRATE"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
43: aload 1
ldc "RETRACT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
StackMap locals:
StackMap stack:
44: aload 1
ldc "DANGER"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 45
goto 46
45: StackMap locals:
StackMap stack:
iconst_1
ireturn
46: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
}
SourceFile: "RubySignal.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyModule(name = {"Signal"})