public class org.jruby.ext.socket.SocketLibrary implements org.jruby.runtime.load.Library
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.socket.SocketLibrary
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.jruby.ext.socket.SocketLibrary this
0: .line 12
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.jruby.ext.socket.SocketLibrary this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/socket/SocketLibrary;
public void load(org.jruby.Ruby, boolean);
descriptor: (Lorg/jruby/Ruby;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 // org.jruby.ext.socket.SocketLibrary this
start local 1 // org.jruby.Ruby runtime
start local 2 // boolean wrap
0: .line 14
aload 1 /* runtime */
ldc "SocketError"
aload 1 /* runtime */
invokevirtual org.jruby.Ruby.getStandardError:()Lorg/jruby/RubyClass;
aload 1 /* runtime */
invokevirtual org.jruby.Ruby.getStandardError:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getAllocator:()Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
pop
1: .line 15
aload 1 /* runtime */
invokestatic org.jruby.ext.socket.RubyBasicSocket.createBasicSocket:(Lorg/jruby/Ruby;)V
2: .line 16
aload 1 /* runtime */
invokestatic org.jruby.ext.socket.RubySocket.createSocket:(Lorg/jruby/Ruby;)V
3: .line 17
aload 1 /* runtime */
invokestatic org.jruby.ext.socket.RubyServerSocket.createServerSocket:(Lorg/jruby/Ruby;)V
4: .line 19
aload 1 /* runtime */
invokevirtual org.jruby.Ruby.getInstanceConfig:()Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.isNativeEnabled:()Z
ifeq 7
getstatic org.jruby.platform.Platform.IS_WINDOWS:Z
ifne 7
5: .line 20
aload 1 /* runtime */
invokestatic org.jruby.ext.socket.RubyUNIXSocket.createUNIXSocket:(Lorg/jruby/Ruby;)V
6: .line 21
aload 1 /* runtime */
invokestatic org.jruby.ext.socket.RubyUNIXServer.createUNIXServer:(Lorg/jruby/Ruby;)V
7: .line 24
StackMap locals:
StackMap stack:
aload 1 /* runtime */
invokestatic org.jruby.ext.socket.RubyIPSocket.createIPSocket:(Lorg/jruby/Ruby;)V
8: .line 25
aload 1 /* runtime */
invokestatic org.jruby.ext.socket.RubyTCPSocket.createTCPSocket:(Lorg/jruby/Ruby;)V
9: .line 26
aload 1 /* runtime */
invokestatic org.jruby.ext.socket.RubyTCPServer.createTCPServer:(Lorg/jruby/Ruby;)V
10: .line 27
aload 1 /* runtime */
invokestatic org.jruby.ext.socket.RubyUDPSocket.createUDPSocket:(Lorg/jruby/Ruby;)V
11: .line 29
aload 1 /* runtime */
invokestatic org.jruby.ext.socket.Addrinfo.createAddrinfo:(Lorg/jruby/Ruby;)V
12: .line 30
aload 1 /* runtime */
invokestatic org.jruby.ext.socket.Option.createOption:(Lorg/jruby/Ruby;)V
13: .line 31
aload 1 /* runtime */
invokestatic org.jruby.ext.socket.Ifaddr.createIfaddr:(Lorg/jruby/Ruby;)V
14: .line 32
return
end local 2 // boolean wrap
end local 1 // org.jruby.Ruby runtime
end local 0 // org.jruby.ext.socket.SocketLibrary this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/jruby/ext/socket/SocketLibrary;
0 15 1 runtime Lorg/jruby/Ruby;
0 15 2 wrap Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
runtime final
wrap
}
SourceFile: "SocketLibrary.java"