public class org.jruby.api.API
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.api.API
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 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/api/API;
public static org.jruby.runtime.builtin.IRubyObject rb_sys_fail_path(org.jruby.Ruby, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.lang.StringBuilder
dup
ldc "bad path for cloexec: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newSystemCallError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
runtime
path
public static int rb_pipe(org.jruby.Ruby, int[]);
descriptor: (Lorg/jruby/Ruby;[I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.jruby.api.API.rb_cloexec_pipe:(Lorg/jruby/Ruby;[I)I
istore 2
start local 2 1: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 pipes [I
1 2 2 ret I
MethodParameters:
Name Flags
runtime
pipes
public static int rb_cloexec_pipe(org.jruby.Ruby, int[]);
descriptor: (Lorg/jruby/Ruby;[I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.Ruby.getPosix:()Ljnr/posix/POSIX;
aload 1
invokeinterface jnr.posix.POSIX.pipe:([I)I
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpne 2
iconst_m1
ireturn
2: StackMap locals: int
StackMap stack:
aload 0
aload 1
iconst_0
iaload
invokestatic org.jruby.api.API.rb_maygvl_fd_fix_cloexec:(Lorg/jruby/Ruby;I)V
3: aload 0
aload 1
iconst_1
iaload
invokestatic org.jruby.api.API.rb_maygvl_fd_fix_cloexec:(Lorg/jruby/Ruby;I)V
4: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 runtime Lorg/jruby/Ruby;
0 5 1 pipes [I
1 5 2 ret I
MethodParameters:
Name Flags
runtime
pipes
public static void rb_maygvl_fd_fix_cloexec(org.jruby.Ruby, int);
descriptor: (Lorg/jruby/Ruby;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new org.jruby.util.io.PosixShim
dup
aload 0
invokespecial org.jruby.util.io.PosixShim.<init>:(Lorg/jruby/Ruby;)V
astore 2
start local 2 1: aload 2
iload 1
invokestatic org.jruby.util.io.OpenFile.fdFixCloexec:(Lorg/jruby/util/io/PosixShim;I)V
2: return
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 fd I
1 3 2 shim Lorg/jruby/util/io/PosixShim;
MethodParameters:
Name Flags
runtime
fd
}
SourceFile: "API.java"