public class org.jruby.ext.socket.RubyUNIXSocket extends org.jruby.ext.socket.RubyBasicSocket
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.socket.RubyUNIXSocket
super_class: org.jruby.ext.socket.RubyBasicSocket
{
private static org.jruby.runtime.ObjectAllocator UNIXSOCKET_ALLOCATOR;
descriptor: Lorg/jruby/runtime/ObjectAllocator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
protected static final int F_GETFL;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected static final int F_SETFL;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
protected static final int O_NONBLOCK;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$jnr$constants$platform$SocketOption;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$jnr$constants$platform$SocketLevel;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.jruby.ext.socket.RubyUNIXSocket$1
dup
invokespecial org.jruby.ext.socket.RubyUNIXSocket$1.<init>:()V
putstatic org.jruby.ext.socket.RubyUNIXSocket.UNIXSOCKET_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
1: getstatic jnr.constants.platform.Fcntl.F_GETFL:Ljnr/constants/platform/Fcntl;
invokevirtual jnr.constants.platform.Fcntl.intValue:()I
putstatic org.jruby.ext.socket.RubyUNIXSocket.F_GETFL:I
2: getstatic jnr.constants.platform.Fcntl.F_SETFL:Ljnr/constants/platform/Fcntl;
invokevirtual jnr.constants.platform.Fcntl.intValue:()I
putstatic org.jruby.ext.socket.RubyUNIXSocket.F_SETFL:I
3: getstatic jnr.constants.platform.OpenFlags.O_NONBLOCK:Ljnr/constants/platform/OpenFlags;
invokevirtual jnr.constants.platform.OpenFlags.intValue:()I
putstatic org.jruby.ext.socket.RubyUNIXSocket.O_NONBLOCK:I
return
LocalVariableTable:
Start End Slot Name Signature
static void createUNIXSocket(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ldc "UNIXSocket"
aload 0
ldc "BasicSocket"
invokevirtual org.jruby.Ruby.getClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
getstatic org.jruby.ext.socket.RubyUNIXSocket.UNIXSOCKET_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 1
start local 1 1: aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
ldc "UNIXsocket"
aload 1
invokevirtual org.jruby.RubyClass.setConstant:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: aload 1
ldc Lorg/jruby/ext/socket/RubyUNIXSocket;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 runtime Lorg/jruby/Ruby;
1 4 1 rb_cUNIXSocket Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
public void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)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
invokespecial org.jruby.ext.socket.RubyBasicSocket.<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/ext/socket/RubyUNIXSocket;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 type Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
type
public static org.jruby.runtime.builtin.IRubyObject for_fd(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=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
invokevirtual org.jruby.RubyInteger.getLongValue:()J
l2i
istore 4
start local 4 2: aload 1
checkcast org.jruby.RubyClass
astore 5
start local 5 3: aload 0
aload 5
ldc "allocate"
invokestatic org.jruby.runtime.Helpers.invoke:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.ext.socket.RubyUNIXSocket
astore 6
start local 6 4: iload 4
invokestatic jnr.unixsocket.UnixSocketChannel.fromFD:(I)Ljnr/unixsocket/UnixSocketChannel;
astore 7
start local 7 5: aload 6
aload 3
aload 7
invokevirtual org.jruby.ext.socket.RubyUNIXSocket.init_sock:(Lorg/jruby/Ruby;Ljava/nio/channels/Channel;)V
6: aload 6
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 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 7 2 _fileno Lorg/jruby/runtime/builtin/IRubyObject;
1 7 3 runtime Lorg/jruby/Ruby;
2 7 4 fileno I
3 7 5 klass Lorg/jruby/RubyClass;
4 7 6 unixSocket Lorg/jruby/ext/socket/RubyUNIXSocket;
5 7 7 channel Ljnr/unixsocket/UnixSocketChannel;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(meta = true)
MethodParameters:
Name Flags
context
recv
_fileno
public org.jruby.runtime.builtin.IRubyObject initialize(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: (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
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
iconst_0
invokevirtual org.jruby.ext.socket.RubyUNIXSocket.init_unixsock:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Z)V
1: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/socket/RubyUNIXSocket;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 path Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
path
public org.jruby.runtime.builtin.IRubyObject path(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyString.newEmptyString:(Lorg/jruby/Ruby;)Lorg/jruby/RubyString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/RubyUNIXSocket;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject addr(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 2
aload 2
ldc "AF_UNIX"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
aload 2
invokestatic org.jruby.RubyString.newEmptyString:(Lorg/jruby/Ruby;)Lorg/jruby/RubyString;
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/socket/RubyUNIXSocket;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
1 2 2 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject peeraddr(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 0
invokevirtual org.jruby.ext.socket.RubyUNIXSocket.getUnixRemoteSocket:()Ljnr/unixsocket/UnixSocketAddress;
invokevirtual jnr.unixsocket.UnixSocketAddress.path:()Ljava/lang/String;
astore 3
start local 3 2: aload 3
ifnonnull 3
aload 2
invokestatic org.jruby.RubyString.newEmptyString:(Lorg/jruby/Ruby;)Lorg/jruby/RubyString;
goto 4
StackMap locals: org.jruby.Ruby java.lang.String
StackMap stack:
3: aload 2
aload 3
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
StackMap locals:
StackMap stack: org.jruby.RubyString
4: astore 4
start local 4 5: aload 2
aload 2
ldc "AF_UNIX"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
aload 4
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ext/socket/RubyUNIXSocket;
0 6 1 context Lorg/jruby/runtime/ThreadContext;
1 6 2 runtime Lorg/jruby/Ruby;
2 6 3 _path Ljava/lang/String;
5 6 4 path Lorg/jruby/RubyString;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject recvfrom(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: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 2
iconst_0
aaload
astore 4
start local 4 2: aload 2
arraylength
iconst_2
if_icmpne 5
3: aload 2
iconst_1
aaload
astore 5
start local 5 4: goto 6
end local 5 5: StackMap locals: org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 3
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 6: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
iconst_0
aaload
astore 4
7: aload 5
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 9
8: goto 10
9: StackMap locals:
StackMap stack:
aload 5
invokestatic org.jruby.RubyNumeric.fix2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
pop
10: StackMap locals:
StackMap stack:
aload 3
11: aload 0
aload 1
aload 4
invokevirtual org.jruby.ext.socket.RubyUNIXSocket.recv:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
12: aload 0
aload 1
invokevirtual org.jruby.ext.socket.RubyUNIXSocket.peeraddr:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
13: invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
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 14 0 this Lorg/jruby/ext/socket/RubyUNIXSocket;
0 14 1 context Lorg/jruby/runtime/ThreadContext;
0 14 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 14 3 runtime Lorg/jruby/Ruby;
2 14 4 _length Lorg/jruby/runtime/builtin/IRubyObject;
4 5 5 _flags Lorg/jruby/runtime/builtin/IRubyObject;
6 14 5 _flags Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"recvfrom"}, required = 1, optional = 1)
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject send_io(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: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 3
invokevirtual org.jruby.Ruby.getPosix:()Ljnr/posix/POSIX;
astore 4
start local 4 2: aload 0
invokevirtual org.jruby.ext.socket.RubyUNIXSocket.getOpenFileChecked:()Lorg/jruby/util/io/OpenFile;
astore 5
start local 5 3: aload 2
aload 1
ldc "kind_of?"
aload 3
invokevirtual org.jruby.Ruby.getIO:()Lorg/jruby/RubyClass;
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 6
4: aload 2
checkcast org.jruby.RubyIO
invokevirtual org.jruby.RubyIO.getOpenFileChecked:()Lorg/jruby/util/io/OpenFile;
invokevirtual org.jruby.util.io.OpenFile.getFileno:()I
istore 6
start local 6 5: goto 10
end local 6 StackMap locals: org.jruby.Ruby jnr.posix.POSIX org.jruby.util.io.OpenFile
StackMap stack:
6: aload 2
aload 1
ldc "kind_of?"
aload 3
invokevirtual org.jruby.Ruby.getFixnum:()Lorg/jruby/RubyClass;
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 9
7: aload 2
checkcast org.jruby.RubyFixnum
invokevirtual org.jruby.RubyFixnum.getIntValue:()I
istore 6
start local 6 8: goto 10
end local 6 9: StackMap locals:
StackMap stack:
aload 3
ldc "neither IO nor file descriptor"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
start local 6 10: StackMap locals: int
StackMap stack:
iload 6
invokestatic org.jruby.util.io.FilenoUtil.isFake:(I)Z
ifeq 12
11: aload 3
ldc "file descriptor is not native"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
12: StackMap locals:
StackMap stack:
iconst_1
newarray 8
astore 7
start local 7 13: aload 7
iconst_0
iconst_0
bastore
14: aload 4
invokeinterface jnr.posix.POSIX.allocateMsgHdr:()Ljnr/posix/MsgHdr;
astore 8
start local 8 15: iconst_1
anewarray java.nio.ByteBuffer
astore 9
start local 9 16: aload 9
iconst_0
aload 7
arraylength
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
aastore
17: aload 9
iconst_0
aaload
aload 7
invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
pop
18: aload 9
iconst_0
aaload
invokestatic com.headius.backport9.buffer.Buffers.flipBuffer:(Ljava/nio/Buffer;)Ljava/nio/Buffer;
pop
19: aload 8
aload 9
invokeinterface jnr.posix.MsgHdr.setIov:([Ljava/nio/ByteBuffer;)V
20: aload 8
iconst_4
invokeinterface jnr.posix.MsgHdr.allocateControl:(I)Ljnr/posix/CmsgHdr;
astore 10
start local 10 21: aload 10
getstatic jnr.constants.platform.SocketLevel.SOL_SOCKET:Ljnr/constants/platform/SocketLevel;
invokevirtual jnr.constants.platform.SocketLevel.intValue:()I
invokeinterface jnr.posix.CmsgHdr.setLevel:(I)V
22: aload 10
iconst_1
invokeinterface jnr.posix.CmsgHdr.setType:(I)V
23: iconst_4
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
astore 11
start local 11 24: aload 11
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
25: aload 11
iconst_0
iload 6
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
26: aload 10
aload 11
invokeinterface jnr.posix.CmsgHdr.setData:(Ljava/nio/ByteBuffer;)V
27: aload 5
invokevirtual org.jruby.util.io.OpenFile.lock:()Z
istore 12
start local 12 28: goto 31
29: StackMap locals: org.jruby.ext.socket.RubyUNIXSocket org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby jnr.posix.POSIX org.jruby.util.io.OpenFile int byte[] jnr.posix.MsgHdr java.nio.ByteBuffer[] jnr.posix.CmsgHdr java.nio.ByteBuffer int
StackMap stack:
aload 5
aload 1
invokevirtual org.jruby.util.io.OpenFile.waitWritable:(Lorg/jruby/runtime/ThreadContext;)Z
ifne 31
30: aload 3
aload 4
invokeinterface jnr.posix.POSIX.errno:()I
ldc "sendmsg(2)"
invokevirtual org.jruby.Ruby.newErrnoFromInt:(ILjava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
31: StackMap locals:
StackMap stack:
aload 4
aload 5
invokevirtual org.jruby.util.io.OpenFile.getFileno:()I
aload 8
iconst_0
invokeinterface jnr.posix.POSIX.sendmsg:(ILjnr/posix/MsgHdr;I)I
iconst_m1
if_icmpeq 29
32: goto 36
StackMap locals:
StackMap stack: java.lang.Throwable
33: astore 13
34: iload 12
ifeq 35
aload 5
invokevirtual org.jruby.util.io.OpenFile.unlock:()V
35: StackMap locals: java.lang.Throwable
StackMap stack:
aload 13
athrow
36: StackMap locals:
StackMap stack:
iload 12
ifeq 37
aload 5
invokevirtual org.jruby.util.io.OpenFile.unlock:()V
37: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 12 end local 11 end local 10 end local 9 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 38 0 this Lorg/jruby/ext/socket/RubyUNIXSocket;
0 38 1 context Lorg/jruby/runtime/ThreadContext;
0 38 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
1 38 3 runtime Lorg/jruby/Ruby;
2 38 4 posix Ljnr/posix/POSIX;
3 38 5 fptr Lorg/jruby/util/io/OpenFile;
5 6 6 fd I
8 9 6 fd I
10 38 6 fd I
13 38 7 dataBytes [B
15 38 8 outMessage Ljnr/posix/MsgHdr;
16 38 9 outIov [Ljava/nio/ByteBuffer;
21 38 10 outControl Ljnr/posix/CmsgHdr;
24 38 11 fdBuf Ljava/nio/ByteBuffer;
28 38 12 locked Z
Exception table:
from to target type
28 33 33 any
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
arg
public org.jruby.runtime.builtin.IRubyObject recv_io(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: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=15, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 3
invokevirtual org.jruby.Ruby.getPosix:()Ljnr/posix/POSIX;
astore 4
start local 4 2: aload 0
invokevirtual org.jruby.ext.socket.RubyUNIXSocket.getOpenFileChecked:()Lorg/jruby/util/io/OpenFile;
astore 5
start local 5 3: aload 3
invokevirtual org.jruby.Ruby.getIO:()Lorg/jruby/RubyClass;
astore 6
start local 6 4: aload 3
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
start local 7 5: aload 2
arraylength
ifle 7
6: aload 2
iconst_0
aaload
astore 6
7: StackMap locals: org.jruby.ext.socket.RubyUNIXSocket org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby jnr.posix.POSIX org.jruby.util.io.OpenFile org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
arraylength
iconst_1
if_icmple 9
8: aload 2
iconst_1
aaload
astore 7
9: StackMap locals:
StackMap stack:
aload 4
invokeinterface jnr.posix.POSIX.allocateMsgHdr:()Ljnr/posix/MsgHdr;
astore 8
start local 8 10: iconst_1
anewarray java.nio.ByteBuffer
astore 9
start local 9 11: aload 9
iconst_0
iconst_1
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
aastore
12: aload 8
aload 9
invokeinterface jnr.posix.MsgHdr.setIov:([Ljava/nio/ByteBuffer;)V
13: aload 8
iconst_4
invokeinterface jnr.posix.MsgHdr.allocateControl:(I)Ljnr/posix/CmsgHdr;
astore 10
start local 10 14: aload 10
getstatic jnr.constants.platform.SocketLevel.SOL_SOCKET:Ljnr/constants/platform/SocketLevel;
invokevirtual jnr.constants.platform.SocketLevel.intValue:()I
invokeinterface jnr.posix.CmsgHdr.setLevel:(I)V
15: aload 10
iconst_1
invokeinterface jnr.posix.CmsgHdr.setType:(I)V
16: iconst_4
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
astore 11
start local 11 17: aload 11
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
18: aload 11
iconst_0
iconst_m1
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
19: aload 10
aload 11
invokeinterface jnr.posix.CmsgHdr.setData:(Ljava/nio/ByteBuffer;)V
20: aload 5
invokevirtual org.jruby.util.io.OpenFile.lock:()Z
istore 12
start local 12 21: goto 24
22: StackMap locals: org.jruby.ext.socket.RubyUNIXSocket org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby jnr.posix.POSIX org.jruby.util.io.OpenFile org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject jnr.posix.MsgHdr java.nio.ByteBuffer[] jnr.posix.CmsgHdr java.nio.ByteBuffer int
StackMap stack:
aload 5
aload 1
invokevirtual org.jruby.util.io.OpenFile.waitReadable:(Lorg/jruby/runtime/ThreadContext;)Z
ifne 24
23: aload 3
aload 4
invokeinterface jnr.posix.POSIX.errno:()I
ldc "recvmsg(2)"
invokevirtual org.jruby.Ruby.newErrnoFromInt:(ILjava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
24: StackMap locals:
StackMap stack:
aload 4
aload 5
invokevirtual org.jruby.util.io.OpenFile.getFileno:()I
aload 8
iconst_0
invokeinterface jnr.posix.POSIX.recvmsg:(ILjnr/posix/MsgHdr;I)I
iconst_m1
if_icmpeq 22
25: goto 29
StackMap locals:
StackMap stack: java.lang.Throwable
26: astore 13
27: iload 12
ifeq 28
aload 5
invokevirtual org.jruby.util.io.OpenFile.unlock:()V
28: StackMap locals: java.lang.Throwable
StackMap stack:
aload 13
athrow
29: StackMap locals:
StackMap stack:
iload 12
ifeq 30
aload 5
invokevirtual org.jruby.util.io.OpenFile.unlock:()V
30: StackMap locals:
StackMap stack:
aload 8
invokeinterface jnr.posix.MsgHdr.getControls:()[Ljnr/posix/CmsgHdr;
iconst_0
aaload
invokeinterface jnr.posix.CmsgHdr.getData:()Ljava/nio/ByteBuffer;
astore 13
start local 13 31: aload 13
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
32: aload 3
aload 13
invokevirtual java.nio.ByteBuffer.getInt:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
astore 14
start local 14 33: aload 6
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 35
34: aload 14
areturn
35: StackMap locals: java.nio.ByteBuffer org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 7
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 37
36: aload 1
aload 6
ldc "for_fd"
aload 14
invokestatic org.jruby.runtime.Helpers.invoke:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
37: StackMap locals:
StackMap stack:
aload 1
aload 6
ldc "for_fd"
aload 14
aload 7
invokestatic org.jruby.runtime.Helpers.invoke:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 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 38 0 this Lorg/jruby/ext/socket/RubyUNIXSocket;
0 38 1 context Lorg/jruby/runtime/ThreadContext;
0 38 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 38 3 runtime Lorg/jruby/Ruby;
2 38 4 posix Ljnr/posix/POSIX;
3 38 5 fptr Lorg/jruby/util/io/OpenFile;
4 38 6 klass Lorg/jruby/runtime/builtin/IRubyObject;
5 38 7 mode Lorg/jruby/runtime/builtin/IRubyObject;
10 38 8 inMessage Ljnr/posix/MsgHdr;
11 38 9 inIov [Ljava/nio/ByteBuffer;
14 38 10 inControl Ljnr/posix/CmsgHdr;
17 38 11 fdBuf Ljava/nio/ByteBuffer;
21 38 12 locked Z
31 38 13 inFdBuf Ljava/nio/ByteBuffer;
33 38 14 fd Lorg/jruby/runtime/builtin/IRubyObject;
Exception table:
from to target type
21 26 26 any
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(optional = 2)
MethodParameters:
Name Flags
context
args
public static org.jruby.runtime.builtin.IRubyObject socketpair(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=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: invokestatic jnr.unixsocket.UnixSocketChannel.pair:()[Ljnr/unixsocket/UnixSocketChannel;
astore 4
start local 4 2: aload 3
ldc "UNIXSocket"
invokevirtual org.jruby.Ruby.getClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
astore 5
start local 5 3: aload 0
aload 5
ldc "allocate"
invokestatic org.jruby.runtime.Helpers.invoke:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.ext.socket.RubyUNIXSocket
astore 6
start local 6 4: aload 6
aload 3
aload 4
iconst_0
aaload
ldc ""
invokevirtual org.jruby.ext.socket.RubyUNIXSocket.init_sock:(Lorg/jruby/Ruby;Ljava/nio/channels/Channel;Ljava/lang/String;)V
5: aload 0
aload 5
ldc "allocate"
invokestatic org.jruby.runtime.Helpers.invoke:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.ext.socket.RubyUNIXSocket
astore 7
start local 7 6: aload 7
aload 3
aload 4
iconst_1
aaload
ldc ""
invokevirtual org.jruby.ext.socket.RubyUNIXSocket.init_sock:(Lorg/jruby/Ruby;Ljava/nio/channels/Channel;Ljava/lang/String;)V
7: aload 3
aload 6
aload 7
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
8: areturn
end local 7 end local 6 end local 5 end local 4 9: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby
StackMap stack: java.io.IOException
astore 5
start local 5 10: aload 3
aload 5
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 context Lorg/jruby/runtime/ThreadContext;
0 11 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 11 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 11 3 runtime Lorg/jruby/Ruby;
2 9 4 sp [Ljnr/unixsocket/UnixSocketChannel;
3 9 5 UNIXSocket Lorg/jruby/RubyClass;
4 9 6 sock Lorg/jruby/ext/socket/RubyUNIXSocket;
6 9 7 sock2 Lorg/jruby/ext/socket/RubyUNIXSocket;
10 11 5 ioe Ljava/io/IOException;
Exception table:
from to target type
1 8 9 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"socketpair", "pair"}, optional = 2, meta = true)
MethodParameters:
Name Flags
context
recv
args
public org.jruby.runtime.builtin.IRubyObject setsockopt(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, 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;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokestatic org.jruby.ext.socket.SocketUtils.levelFromArg:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljnr/constants/platform/SocketLevel;
astore 5
start local 5 1: aload 3
invokestatic org.jruby.ext.socket.SocketUtils.optionFromArg:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljnr/constants/platform/SocketOption;
astore 6
start local 6 2: invokestatic org.jruby.ext.socket.RubyUNIXSocket.$SWITCH_TABLE$jnr$constants$platform$SocketLevel:()[I
aload 5
invokevirtual jnr.constants.platform.SocketLevel.ordinal:()I
iaload
tableswitch { // 1 - 1
1: 3
default: 6
}
3: StackMap locals: jnr.constants.platform.SocketLevel jnr.constants.platform.SocketOption
StackMap stack:
invokestatic org.jruby.ext.socket.RubyUNIXSocket.$SWITCH_TABLE$jnr$constants$platform$SocketOption:()[I
aload 6
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
iaload
tableswitch { // 4 - 4
4: 4
default: 5
}
4: StackMap locals:
StackMap stack:
goto 7
5: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.newErrnoENOPROTOOPTError:()Lorg/jruby/exceptions/RaiseException;
athrow
6: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.newErrnoENOPROTOOPTError:()Lorg/jruby/exceptions/RaiseException;
athrow
7: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
iconst_0
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
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 8 0 this Lorg/jruby/ext/socket/RubyUNIXSocket;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
0 8 2 _level Lorg/jruby/runtime/builtin/IRubyObject;
0 8 3 _opt Lorg/jruby/runtime/builtin/IRubyObject;
0 8 4 val Lorg/jruby/runtime/builtin/IRubyObject;
1 8 5 level Ljnr/constants/platform/SocketLevel;
2 8 6 opt Ljnr/constants/platform/SocketOption;
MethodParameters:
Name Flags
context
_level
_opt
val
protected static void rb_sys_fail(org.jruby.Ruby, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;)V
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tLastError cannot be resolved\n\tjnr.ffi.Runtime cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
runtime
message
protected void init_unixsock(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokestatic org.jruby.ext.socket.RubyUNIXSocket.unixsockPathValue:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
astore 4
start local 4 1: aload 4
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 5
start local 5 2: aload 1
aload 5
invokestatic org.jruby.runtime.Helpers.decodeByteList:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Ljava/lang/String;
astore 6
start local 6 3: bipush 103
istore 7
start local 7 4: aload 6
invokevirtual java.lang.String.length:()I
bipush 103
if_icmple 6
5: aload 1
new java.lang.StringBuilder
dup
ldc "too long unix socket path (max: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "bytes)"
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
6: StackMap locals: org.jruby.ext.socket.RubyUNIXSocket org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject int org.jruby.RubyString org.jruby.util.ByteList java.lang.String int
StackMap stack:
iload 3
ifeq 12
7: invokestatic jnr.unixsocket.UnixServerSocketChannel.open:()Ljnr/unixsocket/UnixServerSocketChannel;
astore 8
start local 8 8: aload 8
invokevirtual jnr.unixsocket.UnixServerSocketChannel.socket:()Ljnr/unixsocket/UnixServerSocket;
astore 9
start local 9 9: aload 9
new jnr.unixsocket.UnixSocketAddress
dup
new java.io.File
dup
aload 6
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokespecial jnr.unixsocket.UnixSocketAddress.<init>:(Ljava/io/File;)V
invokevirtual jnr.unixsocket.UnixServerSocket.bind:(Ljava/net/SocketAddress;)V
10: aload 0
aload 1
aload 8
aload 6
invokevirtual org.jruby.ext.socket.RubyUNIXSocket.init_sock:(Lorg/jruby/Ruby;Ljava/nio/channels/Channel;Ljava/lang/String;)V
end local 9 end local 8 11: goto 21
12: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 6
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 8
start local 8 13: aload 8
invokevirtual java.io.File.exists:()Z
ifne 15
14: aload 1
ldc "unix socket"
invokevirtual org.jruby.Ruby.newErrnoENOENTError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
15: StackMap locals: java.io.File
StackMap stack:
invokestatic jnr.unixsocket.UnixSocketChannel.open:()Ljnr/unixsocket/UnixSocketChannel;
astore 9
start local 9 16: aload 9
new jnr.unixsocket.UnixSocketAddress
dup
aload 8
invokespecial jnr.unixsocket.UnixSocketAddress.<init>:(Ljava/io/File;)V
invokevirtual jnr.unixsocket.UnixSocketChannel.connect:(Ljnr/unixsocket/UnixSocketAddress;)Z
pop
17: aload 0
aload 1
aload 9
invokevirtual org.jruby.ext.socket.RubyUNIXSocket.init_sock:(Lorg/jruby/Ruby;Ljava/nio/channels/Channel;)V
end local 9 end local 8 18: goto 21
StackMap locals: org.jruby.ext.socket.RubyUNIXSocket org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject int org.jruby.RubyString org.jruby.util.ByteList java.lang.String int
StackMap stack: java.io.IOException
19: astore 8
start local 8 20: aload 1
aload 8
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 8 21: StackMap locals:
StackMap stack:
return
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 22 0 this Lorg/jruby/ext/socket/RubyUNIXSocket;
0 22 1 runtime Lorg/jruby/Ruby;
0 22 2 _path Lorg/jruby/runtime/builtin/IRubyObject;
0 22 3 server Z
1 22 4 strPath Lorg/jruby/RubyString;
2 22 5 path Lorg/jruby/util/ByteList;
3 22 6 fpath Ljava/lang/String;
4 22 7 maxSize I
8 11 8 channel Ljnr/unixsocket/UnixServerSocketChannel;
9 11 9 socket Ljnr/unixsocket/UnixServerSocket;
13 18 8 fpathFile Ljava/io/File;
16 18 9 channel Ljnr/unixsocket/UnixSocketChannel;
20 21 8 ioe Ljava/io/IOException;
Exception table:
from to target type
6 18 19 Class java.io.IOException
MethodParameters:
Name Flags
runtime
_path
server
private static org.jruby.RubyString unixsockPathValue(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokestatic org.jruby.util.StringSupport.checkEmbeddedNulls:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 path Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
path
protected void init_sock(org.jruby.Ruby, java.nio.channels.Channel, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Ljava/nio/channels/Channel;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.jruby.ext.socket.RubyUNIXSocket.MakeOpenFile:()Lorg/jruby/util/io/OpenFile;
pop
1: aload 1
getstatic org.jruby.util.io.ModeFlags.RDWR:I
invokestatic org.jruby.ext.socket.RubyUNIXSocket.newModeFlags:(Lorg/jruby/Ruby;I)Lorg/jruby/util/io/ModeFlags;
astore 4
start local 4 2: aload 0
getfield org.jruby.ext.socket.RubyUNIXSocket.openFile:Lorg/jruby/util/io/OpenFile;
aload 1
aload 2
invokestatic org.jruby.ext.socket.RubyUNIXSocket.newChannelFD:(Lorg/jruby/Ruby;Ljava/nio/channels/Channel;)Lorg/jruby/util/io/ChannelFD;
invokevirtual org.jruby.util.io.OpenFile.setFD:(Lorg/jruby/util/io/ChannelFD;)V
3: aload 0
getfield org.jruby.ext.socket.RubyUNIXSocket.openFile:Lorg/jruby/util/io/OpenFile;
aload 4
invokevirtual org.jruby.util.io.ModeFlags.getOpenFileFlags:()I
invokevirtual org.jruby.util.io.OpenFile.setMode:(I)V
4: aload 0
getfield org.jruby.ext.socket.RubyUNIXSocket.openFile:Lorg/jruby/util/io/OpenFile;
iconst_1
invokevirtual org.jruby.util.io.OpenFile.setSync:(Z)V
5: aload 0
getfield org.jruby.ext.socket.RubyUNIXSocket.openFile:Lorg/jruby/util/io/OpenFile;
aload 3
invokevirtual org.jruby.util.io.OpenFile.setPath:(Ljava/lang/String;)V
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ext/socket/RubyUNIXSocket;
0 7 1 runtime Lorg/jruby/Ruby;
0 7 2 channel Ljava/nio/channels/Channel;
0 7 3 path Ljava/lang/String;
2 7 4 modes Lorg/jruby/util/io/ModeFlags;
MethodParameters:
Name Flags
runtime
channel
path
protected void init_sock(org.jruby.Ruby, java.nio.channels.Channel);
descriptor: (Lorg/jruby/Ruby;Ljava/nio/channels/Channel;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual org.jruby.ext.socket.RubyUNIXSocket.init_sock:(Lorg/jruby/Ruby;Ljava/nio/channels/Channel;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/ext/socket/RubyUNIXSocket;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 channel Ljava/nio/channels/Channel;
MethodParameters:
Name Flags
runtime
channel
static int[] $SWITCH_TABLE$jnr$constants$platform$SocketOption();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.jruby.ext.socket.RubyUNIXSocket.$SWITCH_TABLE$jnr$constants$platform$SocketOption:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jnr.constants.platform.SocketOption.values:()[Ljnr/constants/platform/SocketOption;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jnr.constants.platform.SocketOption.SO_ACCEPTCONN:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jnr.constants.platform.SocketOption.SO_ACCEPTFILTER:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 12
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jnr.constants.platform.SocketOption.SO_ATTACH_FILTER:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 32
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jnr.constants.platform.SocketOption.SO_BINDTODEVICE:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 33
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic jnr.constants.platform.SocketOption.SO_BROADCAST:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 6
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic jnr.constants.platform.SocketOption.SO_DEBUG:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
iconst_1
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic jnr.constants.platform.SocketOption.SO_DETACH_FILTER:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 34
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic jnr.constants.platform.SocketOption.SO_DONTROUTE:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
iconst_5
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
getstatic jnr.constants.platform.SocketOption.SO_DONTTRUNC:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 13
iastore
27: goto 29
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
28: pop
StackMap locals:
StackMap stack:
29: aload 0
getstatic jnr.constants.platform.SocketOption.SO_ERROR:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 22
iastore
30: goto 32
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
31: pop
StackMap locals:
StackMap stack:
32: aload 0
getstatic jnr.constants.platform.SocketOption.SO_KEEPALIVE:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
iconst_4
iastore
33: goto 35
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
34: pop
StackMap locals:
StackMap stack:
35: aload 0
getstatic jnr.constants.platform.SocketOption.SO_LABEL:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 30
iastore
36: goto 38
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
37: pop
StackMap locals:
StackMap stack:
38: aload 0
getstatic jnr.constants.platform.SocketOption.SO_LINGER:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 8
iastore
39: goto 41
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
40: pop
StackMap locals:
StackMap stack:
41: aload 0
getstatic jnr.constants.platform.SocketOption.SO_NKE:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 25
iastore
42: goto 44
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
43: pop
StackMap locals:
StackMap stack:
44: aload 0
getstatic jnr.constants.platform.SocketOption.SO_NOADDRERR:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 27
iastore
45: goto 47
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
46: pop
StackMap locals:
StackMap stack:
47: aload 0
getstatic jnr.constants.platform.SocketOption.SO_NOSIGPIPE:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 26
iastore
48: goto 50
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
49: pop
StackMap locals:
StackMap stack:
50: aload 0
getstatic jnr.constants.platform.SocketOption.SO_NO_CHECK:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 35
iastore
51: goto 53
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
52: pop
StackMap locals:
StackMap stack:
53: aload 0
getstatic jnr.constants.platform.SocketOption.SO_NREAD:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 24
iastore
54: goto 56
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
55: pop
StackMap locals:
StackMap stack:
56: aload 0
getstatic jnr.constants.platform.SocketOption.SO_NWRITE:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 28
iastore
57: goto 59
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
58: pop
StackMap locals:
StackMap stack:
59: aload 0
getstatic jnr.constants.platform.SocketOption.SO_OOBINLINE:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 9
iastore
60: goto 62
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
61: pop
StackMap locals:
StackMap stack:
62: aload 0
getstatic jnr.constants.platform.SocketOption.SO_PASSCRED:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 36
iastore
63: goto 65
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
64: pop
StackMap locals:
StackMap stack:
65: aload 0
getstatic jnr.constants.platform.SocketOption.SO_PEERCRED:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 37
iastore
66: goto 68
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
67: pop
StackMap locals:
StackMap stack:
68: aload 0
getstatic jnr.constants.platform.SocketOption.SO_PEERLABEL:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 31
iastore
69: goto 71
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
70: pop
StackMap locals:
StackMap stack:
71: aload 0
getstatic jnr.constants.platform.SocketOption.SO_PEERNAME:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 38
iastore
72: goto 74
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
73: pop
StackMap locals:
StackMap stack:
74: aload 0
getstatic jnr.constants.platform.SocketOption.SO_PRIORITY:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 39
iastore
75: goto 77
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
76: pop
StackMap locals:
StackMap stack:
77: aload 0
getstatic jnr.constants.platform.SocketOption.SO_RCVBUF:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 17
iastore
78: goto 80
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
79: pop
StackMap locals:
StackMap stack:
80: aload 0
getstatic jnr.constants.platform.SocketOption.SO_RCVLOWAT:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 19
iastore
81: goto 83
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
82: pop
StackMap locals:
StackMap stack:
83: aload 0
getstatic jnr.constants.platform.SocketOption.SO_RCVTIMEO:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 21
iastore
84: goto 86
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
85: pop
StackMap locals:
StackMap stack:
86: aload 0
getstatic jnr.constants.platform.SocketOption.SO_REUSEADDR:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
iconst_3
iastore
87: goto 89
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
88: pop
StackMap locals:
StackMap stack:
89: aload 0
getstatic jnr.constants.platform.SocketOption.SO_REUSEPORT:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 10
iastore
90: goto 92
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
91: pop
StackMap locals:
StackMap stack:
92: aload 0
getstatic jnr.constants.platform.SocketOption.SO_REUSESHAREUID:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 29
iastore
93: goto 95
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
94: pop
StackMap locals:
StackMap stack:
95: aload 0
getstatic jnr.constants.platform.SocketOption.SO_SECURITY_AUTHENTICATION:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 40
iastore
96: goto 98
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
97: pop
StackMap locals:
StackMap stack:
98: aload 0
getstatic jnr.constants.platform.SocketOption.SO_SECURITY_ENCRYPTION_NETWORK:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 41
iastore
99: goto 101
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
100: pop
StackMap locals:
StackMap stack:
101: aload 0
getstatic jnr.constants.platform.SocketOption.SO_SECURITY_ENCRYPTION_TRANSPORT:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 42
iastore
102: goto 104
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
103: pop
StackMap locals:
StackMap stack:
104: aload 0
getstatic jnr.constants.platform.SocketOption.SO_SNDBUF:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 16
iastore
105: goto 107
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
106: pop
StackMap locals:
StackMap stack:
107: aload 0
getstatic jnr.constants.platform.SocketOption.SO_SNDLOWAT:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 18
iastore
108: goto 110
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
109: pop
StackMap locals:
StackMap stack:
110: aload 0
getstatic jnr.constants.platform.SocketOption.SO_SNDTIMEO:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 20
iastore
111: goto 113
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
112: pop
StackMap locals:
StackMap stack:
113: aload 0
getstatic jnr.constants.platform.SocketOption.SO_TIMESTAMP:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 11
iastore
114: goto 116
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
115: pop
StackMap locals:
StackMap stack:
116: aload 0
getstatic jnr.constants.platform.SocketOption.SO_TYPE:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 23
iastore
117: goto 119
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
118: pop
StackMap locals:
StackMap stack:
119: aload 0
getstatic jnr.constants.platform.SocketOption.SO_USELOOPBACK:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 7
iastore
120: goto 122
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
121: pop
StackMap locals:
StackMap stack:
122: aload 0
getstatic jnr.constants.platform.SocketOption.SO_WANTMORE:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 14
iastore
123: goto 125
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
124: pop
StackMap locals:
StackMap stack:
125: aload 0
getstatic jnr.constants.platform.SocketOption.SO_WANTOOBFLAG:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 15
iastore
126: goto 128
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
127: pop
StackMap locals:
StackMap stack:
128: aload 0
getstatic jnr.constants.platform.SocketOption.__UNKNOWN_CONSTANT__:Ljnr/constants/platform/SocketOption;
invokevirtual jnr.constants.platform.SocketOption.ordinal:()I
bipush 43
iastore
129: goto 131
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
130: pop
StackMap locals:
StackMap stack:
131: aload 0
dup
putstatic org.jruby.ext.socket.RubyUNIXSocket.$SWITCH_TABLE$jnr$constants$platform$SocketOption:[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
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
26 27 28 Class java.lang.NoSuchFieldError
29 30 31 Class java.lang.NoSuchFieldError
32 33 34 Class java.lang.NoSuchFieldError
35 36 37 Class java.lang.NoSuchFieldError
38 39 40 Class java.lang.NoSuchFieldError
41 42 43 Class java.lang.NoSuchFieldError
44 45 46 Class java.lang.NoSuchFieldError
47 48 49 Class java.lang.NoSuchFieldError
50 51 52 Class java.lang.NoSuchFieldError
53 54 55 Class java.lang.NoSuchFieldError
56 57 58 Class java.lang.NoSuchFieldError
59 60 61 Class java.lang.NoSuchFieldError
62 63 64 Class java.lang.NoSuchFieldError
65 66 67 Class java.lang.NoSuchFieldError
68 69 70 Class java.lang.NoSuchFieldError
71 72 73 Class java.lang.NoSuchFieldError
74 75 76 Class java.lang.NoSuchFieldError
77 78 79 Class java.lang.NoSuchFieldError
80 81 82 Class java.lang.NoSuchFieldError
83 84 85 Class java.lang.NoSuchFieldError
86 87 88 Class java.lang.NoSuchFieldError
89 90 91 Class java.lang.NoSuchFieldError
92 93 94 Class java.lang.NoSuchFieldError
95 96 97 Class java.lang.NoSuchFieldError
98 99 100 Class java.lang.NoSuchFieldError
101 102 103 Class java.lang.NoSuchFieldError
104 105 106 Class java.lang.NoSuchFieldError
107 108 109 Class java.lang.NoSuchFieldError
110 111 112 Class java.lang.NoSuchFieldError
113 114 115 Class java.lang.NoSuchFieldError
116 117 118 Class java.lang.NoSuchFieldError
119 120 121 Class java.lang.NoSuchFieldError
122 123 124 Class java.lang.NoSuchFieldError
125 126 127 Class java.lang.NoSuchFieldError
128 129 130 Class java.lang.NoSuchFieldError
static int[] $SWITCH_TABLE$jnr$constants$platform$SocketLevel();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.jruby.ext.socket.RubyUNIXSocket.$SWITCH_TABLE$jnr$constants$platform$SocketLevel:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jnr.constants.platform.SocketLevel.values:()[Ljnr/constants/platform/SocketLevel;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jnr.constants.platform.SocketLevel.SOL_IP:Ljnr/constants/platform/SocketLevel;
invokevirtual jnr.constants.platform.SocketLevel.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jnr.constants.platform.SocketLevel.SOL_SOCKET:Ljnr/constants/platform/SocketLevel;
invokevirtual jnr.constants.platform.SocketLevel.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jnr.constants.platform.SocketLevel.SOL_TCP:Ljnr/constants/platform/SocketLevel;
invokevirtual jnr.constants.platform.SocketLevel.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jnr.constants.platform.SocketLevel.SOL_UDP:Ljnr/constants/platform/SocketLevel;
invokevirtual jnr.constants.platform.SocketLevel.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic jnr.constants.platform.SocketLevel.__UNKNOWN_CONSTANT__:Ljnr/constants/platform/SocketLevel;
invokevirtual jnr.constants.platform.SocketLevel.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic org.jruby.ext.socket.RubyUNIXSocket.$SWITCH_TABLE$jnr$constants$platform$SocketLevel:[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
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "RubyUNIXSocket.java"
NestMembers:
org.jruby.ext.socket.RubyUNIXSocket$1
InnerClasses:
org.jruby.ext.socket.RubyUNIXSocket$1
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"UNIXSocket"}, parent = "BasicSocket")