public class org.jruby.ext.zlib.JZlibRubyGzipReader extends org.jruby.ext.zlib.RubyGzipFile
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ext.zlib.JZlibRubyGzipReader
super_class: org.jruby.ext.zlib.RubyGzipFile
{
protected static final org.jruby.runtime.ObjectAllocator GZIPREADER_ALLOCATOR;
descriptor: Lorg/jruby/runtime/ObjectAllocator;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
private static final int NEWLINE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 10
private static final int BUFF_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4096
private int line;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long position;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private org.jruby.util.IOInputStream ioInputStream;
descriptor: Lorg/jruby/util/IOInputStream;
flags: (0x0002) ACC_PRIVATE
private com.jcraft.jzlib.GZIPInputStream io;
descriptor: Lcom/jcraft/jzlib/GZIPInputStream;
flags: (0x0002) ACC_PRIVATE
private java.io.PushbackInputStream bufferedStream;
descriptor: Ljava/io/PushbackInputStream;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.jruby.ext.zlib.JZlibRubyGzipReader$1
dup
invokespecial org.jruby.ext.zlib.JZlibRubyGzipReader$1.<init>:()V
putstatic org.jruby.ext.zlib.JZlibRubyGzipReader.GZIPREADER_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
1: return
LocalVariableTable:
Start End Slot Name Signature
public static org.jruby.runtime.builtin.IRubyObject newInstance(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokestatic org.jruby.ext.zlib.JZlibRubyGzipReader.newInstance:(Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
astore 4
start local 4 1: aload 0
aload 4
aload 3
invokestatic org.jruby.ext.zlib.RubyGzipFile.wrapBlock:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ext/zlib/RubyGzipFile;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 2 3 block Lorg/jruby/runtime/Block;
1 2 4 result Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"new"}, rest = true, meta = true)
MethodParameters:
Name Flags
context
recv
args
block
public static org.jruby.ext.zlib.JZlibRubyGzipReader newInstance(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
checkcast org.jruby.RubyClass
astore 2
start local 2 1: aload 2
invokevirtual org.jruby.RubyClass.allocate:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.ext.zlib.JZlibRubyGzipReader
astore 3
start local 3 2: aload 3
aload 1
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.callInit:([Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)V
3: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 klass Lorg/jruby/RubyClass;
2 4 3 result Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
MethodParameters:
Name Flags
recv
args
public static org.jruby.runtime.builtin.IRubyObject open19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
astore 4
start local 4 1: aload 2
iconst_0
aload 0
aload 4
invokevirtual org.jruby.Ruby.getFile:()Lorg/jruby/RubyClass;
ldc "open"
aload 2
iconst_0
aaload
aload 4
ldc "rb"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
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;
aastore
2: aload 1
aload 2
invokestatic org.jruby.ext.zlib.JZlibRubyGzipReader.newInstance:(Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
astore 5
start local 5 3: aload 0
aload 5
aload 3
invokestatic org.jruby.ext.zlib.RubyGzipFile.wrapBlock:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/ext/zlib/RubyGzipFile;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
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 4 0 context Lorg/jruby/runtime/ThreadContext;
0 4 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 4 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 4 3 block Lorg/jruby/runtime/Block;
1 4 4 runtime Lorg/jruby/Ruby;
3 4 5 gzio Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"open"}, required = 1, optional = 1, meta = true)
MethodParameters:
Name Flags
context final
recv
args
block
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.zlib.RubyGzipFile.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
iconst_0
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.line:I
2: aload 0
lconst_0
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 4 1 runtime Lorg/jruby/Ruby;
0 4 2 type Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
type
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=8, locals=7, 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 0
aload 2
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.realIo:Lorg/jruby/runtime/builtin/IRubyObject;
2: aload 0
new org.jruby.util.IOInputStream
dup
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.realIo:Lorg/jruby/runtime/builtin/IRubyObject;
invokespecial org.jruby.util.IOInputStream.<init>:(Lorg/jruby/runtime/builtin/IRubyObject;)V
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.ioInputStream:Lorg/jruby/util/IOInputStream;
3: aload 0
new com.jcraft.jzlib.GZIPInputStream
dup
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.ioInputStream:Lorg/jruby/util/IOInputStream;
sipush 512
iconst_0
invokespecial com.jcraft.jzlib.GZIPInputStream.<init>:(Ljava/io/InputStream;IZ)V
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.io:Lcom/jcraft/jzlib/GZIPInputStream;
4: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.io:Lcom/jcraft/jzlib/GZIPInputStream;
invokevirtual com.jcraft.jzlib.GZIPInputStream.readHeader:()V
5: goto 15
StackMap locals: org.jruby.ext.zlib.JZlibRubyGzipReader org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.Ruby
StackMap stack: java.io.IOException
6: pop
7: aload 3
ldc "not in gzip format"
invokestatic org.jruby.ext.zlib.RubyZlib.newGzipFileError:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
astore 4
start local 4 8: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.io:Lcom/jcraft/jzlib/GZIPInputStream;
invokevirtual com.jcraft.jzlib.GZIPInputStream.getAvailIn:()[B
astore 5
start local 5 9: aload 5
ifnull 14
aload 5
arraylength
ifle 14
10: aload 4
invokevirtual org.jruby.exceptions.RaiseException.getException:()Lorg/jruby/RubyException;
astore 6
start local 6 11: aload 6
ldc "@input"
12: aload 3
new org.jruby.util.ByteList
dup
aload 5
iconst_0
aload 5
arraylength
invokespecial org.jruby.util.ByteList.<init>:([BII)V
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
13: invokevirtual org.jruby.RubyException.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
end local 6 14: StackMap locals: org.jruby.exceptions.RaiseException byte[]
StackMap stack:
aload 4
athrow
end local 5 end local 4 15: StackMap locals:
StackMap stack:
aload 0
lconst_0
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
16: aload 0
iconst_0
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.line:I
17: aload 0
new java.io.PushbackInputStream
dup
new java.io.BufferedInputStream
dup
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.io:Lcom/jcraft/jzlib/GZIPInputStream;
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
sipush 512
invokespecial java.io.PushbackInputStream.<init>:(Ljava/io/InputStream;I)V
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
18: aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 19 1 context Lorg/jruby/runtime/ThreadContext;
0 19 2 stream Lorg/jruby/runtime/builtin/IRubyObject;
1 19 3 runtime Lorg/jruby/Ruby;
8 15 4 re Lorg/jruby/exceptions/RaiseException;
9 15 5 input [B
11 14 6 rubye Lorg/jruby/RubyException;
Exception table:
from to target type
2 5 6 Class java.io.IOException
MethodParameters:
Name Flags
context
stream
public org.jruby.runtime.builtin.IRubyObject initialize19(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 0
aload 1
aload 2
iconst_0
aaload
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.initialize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 2: aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 3: aload 2
arraylength
iconst_2
if_icmpne 7
4: aload 2
iconst_1
aaload
astore 5
5: aload 3
aload 5
invokestatic org.jruby.util.TypeConverter.checkHashType:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 7
6: aload 3
iconst_2
iconst_1
invokevirtual org.jruby.Ruby.newArgumentError:(II)Lorg/jruby/exceptions/RaiseException;
athrow
7: StackMap locals: org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
aload 1
aload 5
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.ecopts:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
8: aload 4
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 9 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
0 9 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 9 3 runtime Lorg/jruby/Ruby;
2 9 4 obj Lorg/jruby/runtime/builtin/IRubyObject;
3 9 5 opt Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"initialize"}, required = 1, optional = 1, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
args
private long internalPosition();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.io:Lcom/jcraft/jzlib/GZIPInputStream;
invokevirtual com.jcraft.jzlib.GZIPInputStream.getInflater:()Lcom/jcraft/jzlib/Inflater;
astore 1
start local 1 1: aload 1
invokevirtual com.jcraft.jzlib.Inflater.getTotalIn:()J
aload 1
invokevirtual com.jcraft.jzlib.Inflater.getAvailIn:()I
i2l
ladd
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
1 2 1 inflater Lcom/jcraft/jzlib/Inflater;
public org.jruby.runtime.builtin.IRubyObject rewind(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, 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 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.realIo:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
ldc "seek"
2: iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 2
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.internalPosition:()J
lneg
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
aastore
dup
iconst_1
aload 2
iconst_1
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
aastore
3: invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
4: aload 0
aload 1
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.realIo:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.initialize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
5: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 6 1 context Lorg/jruby/runtime/ThreadContext;
1 6 2 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject lineno();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.line:I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"lineno"})
public org.jruby.runtime.builtin.IRubyObject readline(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 0
aload 1
getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.gets:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 2
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.newEOFError:()Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
1 3 2 dst Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"readline"}, writes = {org.jruby.anno.FrameField.LASTLINE:Lorg/jruby/anno/FrameField;})
MethodParameters:
Name Flags
context
private org.jruby.runtime.builtin.IRubyObject internalGets(org.jruby.runtime.builtin.IRubyObject[]);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getGlobalVariables:()Lorg/jruby/internal/runtime/GlobalVariables;
ldc "$/"
invokevirtual org.jruby.internal.runtime.GlobalVariables.get:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 2
start local 2 1: iconst_m1
istore 3
start local 3 2: aload 1
arraylength
tableswitch { // 0 - 2
0: 3
1: 4
2: 12
default: 12
}
3: StackMap locals: org.jruby.util.ByteList int
StackMap stack:
goto 16
4: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 6
5: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.readAll:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
6: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.checkStringType:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 7: aload 4
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 10
8: aload 1
iconst_0
aaload
invokestatic org.jruby.RubyNumeric.fix2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
istore 3
9: goto 16
10: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 4
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 2
11: goto 16
end local 4 12: StackMap locals:
StackMap stack:
aload 1
iconst_1
aaload
invokestatic org.jruby.RubyNumeric.fix2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
istore 3
13: aload 1
iconst_0
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 15
14: aload 0
iload 3
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.readAll:(I)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
15: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 2
16: StackMap locals:
StackMap stack:
aload 0
aload 2
iload 3
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.internalSepGets:(Lorg/jruby/util/ByteList;I)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 17 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 17 2 sep Lorg/jruby/util/ByteList;
2 17 3 limit I
7 12 4 tmp Lorg/jruby/runtime/builtin/IRubyObject;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
args
private org.jruby.runtime.builtin.IRubyObject internalSepGets(org.jruby.util.ByteList);
descriptor: (Lorg/jruby/util/ByteList;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_m1
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.internalSepGets:(Lorg/jruby/util/ByteList;I)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 1 1 sep Lorg/jruby/util/ByteList;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sep
private org.jruby.util.ByteList newReadByteList();
descriptor: ()Lorg/jruby/util/ByteList;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: new org.jruby.util.ByteList
dup
invokespecial org.jruby.util.ByteList.<init>:()V
astore 1
start local 1 1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
1 2 1 byteList Lorg/jruby/util/ByteList;
private org.jruby.util.ByteList newReadByteList(int);
descriptor: (I)Lorg/jruby/util/ByteList;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new org.jruby.util.ByteList
dup
iload 1
invokespecial org.jruby.util.ByteList.<init>:(I)V
astore 2
start local 2 1: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 2 1 size I
1 2 2 byteList Lorg/jruby/util/ByteList;
MethodParameters:
Name Flags
size
private org.jruby.runtime.builtin.IRubyObject internalSepGets(org.jruby.util.ByteList, int);
descriptor: (Lorg/jruby/util/ByteList;I)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.newReadByteList:()Lorg/jruby/util/ByteList;
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: aload 1
invokevirtual org.jruby.util.ByteList.getRealSize:()I
ifne 5
3: getstatic org.jruby.RubyIO.PARAGRAPH_SEPARATOR:Lorg/jruby/util/ByteList;
astore 1
4: iconst_1
istore 4
5: StackMap locals: org.jruby.util.ByteList int
StackMap stack:
iload 4
ifeq 6
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.skipNewlines:()V
6: StackMap locals:
StackMap stack:
iconst_m1
istore 5
start local 5 7: goto 13
8: StackMap locals: int
StackMap stack:
aload 3
invokevirtual org.jruby.util.ByteList.length:()I
aload 1
invokevirtual org.jruby.util.ByteList.getRealSize:()I
isub
istore 6
start local 6 9: iload 6
iflt 10
aload 3
aload 1
iload 6
invokevirtual org.jruby.util.ByteList.startsWith:(Lorg/jruby/util/ByteList;I)Z
ifeq 10
goto 14
10: StackMap locals: int
StackMap stack:
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
invokevirtual java.io.PushbackInputStream.read:()I
istore 5
11: iload 5
iconst_m1
if_icmpne 12
goto 14
12: StackMap locals:
StackMap stack:
aload 3
iload 5
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
end local 6 13: StackMap locals:
StackMap stack:
iload 2
ifle 8
aload 3
invokevirtual org.jruby.util.ByteList.length:()I
iload 2
if_icmplt 8
14: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.fixBrokenTrailingCharacter:(Lorg/jruby/util/ByteList;)V
15: iload 4
ifeq 16
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.skipNewlines:()V
16: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jruby.util.ByteList.length:()I
ifne 17
iconst_m1
iload 5
if_icmpne 17
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
17: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.line:I
iconst_1
iadd
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.line:I
18: aload 0
dup
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
aload 3
invokevirtual org.jruby.util.ByteList.length:()I
i2l
ladd
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
19: aload 0
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 3
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.newStr:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
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 20 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 20 1 sep Lorg/jruby/util/ByteList;
0 20 2 limit I
1 20 3 result Lorg/jruby/util/ByteList;
2 20 4 stripNewlines Z
7 20 5 ce I
9 13 6 sepOffset I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
sep
limit
private void skipNewlines();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
invokevirtual java.io.PushbackInputStream.read:()I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 2
goto 4
2: StackMap locals: int
StackMap stack:
iload 1
bipush 10
if_icmpeq 0
3: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
iload 1
invokevirtual java.io.PushbackInputStream.unread:(I)V
end local 1 4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
1 4 1 b I
Exceptions:
throws java.io.IOException
public org.jruby.runtime.builtin.IRubyObject gets_18(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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.gets:(Lorg/jruby/runtime/ThreadContext;[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 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject gets(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=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.internalGets:([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 2
aload 1
aload 3
invokevirtual org.jruby.runtime.ThreadContext.setLastLine:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 3
3: areturn
end local 3 4: StackMap locals: org.jruby.ext.zlib.JZlibRubyGzipReader org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[]
StackMap stack: java.io.IOException
astore 3
start local 3 5: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 3
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
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/zlib/JZlibRubyGzipReader;
0 6 1 context Lorg/jruby/runtime/ThreadContext;
0 6 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 4 3 result Lorg/jruby/runtime/builtin/IRubyObject;
5 6 3 ioe Ljava/io/IOException;
Exception table:
from to target type
0 3 4 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"gets"}, optional = 2, writes = {org.jruby.anno.FrameField.LASTLINE:Lorg/jruby/anno/FrameField;})
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject read(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
arraylength
ifeq 2
aload 2
iconst_0
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 4
StackMap locals: org.jruby.Ruby
StackMap stack:
2: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.readAll:()Lorg/jruby/runtime/builtin/IRubyObject;
3: areturn
4: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
invokestatic org.jruby.RubyNumeric.fix2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
istore 4
start local 4 5: iload 4
ifge 6
aload 3
new java.lang.StringBuilder
dup
ldc "negative length "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " given"
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: int
StackMap stack:
iload 4
ifle 12
7: aload 0
iload 4
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.readSize:(I)Lorg/jruby/util/ByteList;
astore 5
start local 5 8: aload 5
ifnonnull 10
aload 3
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
9: areturn
10: StackMap locals: org.jruby.util.ByteList
StackMap stack:
aload 3
aload 5
invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
11: areturn
end local 5 12: StackMap locals:
StackMap stack:
aload 3
invokestatic org.jruby.RubyString.newEmptyString:(Lorg/jruby/Ruby;)Lorg/jruby/RubyString;
13: areturn
end local 4 14: StackMap locals: org.jruby.ext.zlib.JZlibRubyGzipReader org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.Ruby
StackMap stack: java.io.IOException
astore 4
start local 4 15: aload 4
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
astore 5
start local 5 16: aload 5
ldc "Unexpected end of ZLIB input stream"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 18
17: aload 3
aload 4
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokestatic org.jruby.ext.zlib.RubyZlib.newGzipFileError:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
18: StackMap locals: java.io.IOException java.lang.String
StackMap stack:
aload 5
ldc "footer is not found"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 20
19: aload 3
ldc "footer is not found"
invokestatic org.jruby.ext.zlib.RubyZlib.newNoFooter:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
20: StackMap locals:
StackMap stack:
aload 5
ldc "incorrect data check"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 22
21: aload 3
ldc "invalid compressed data -- crc error"
invokestatic org.jruby.ext.zlib.RubyZlib.newCRCError:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
22: StackMap locals:
StackMap stack:
aload 5
ldc "incorrect length check"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 24
23: aload 3
ldc "invalid compressed data -- length error"
invokestatic org.jruby.ext.zlib.RubyZlib.newLengthError:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
24: StackMap locals:
StackMap stack:
aload 3
aload 4
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokestatic org.jruby.ext.zlib.RubyZlib.newDataError:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
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 25 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 25 1 context Lorg/jruby/runtime/ThreadContext;
0 25 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 25 3 runtime Lorg/jruby/Ruby;
5 14 4 len I
8 12 5 buf Lorg/jruby/util/ByteList;
15 25 4 ioe Ljava/io/IOException;
16 25 5 m Ljava/lang/String;
Exception table:
from to target type
1 3 14 Class java.io.IOException
4 9 14 Class java.io.IOException
10 11 14 Class java.io.IOException
12 13 14 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"read"}, optional = 1)
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject readpartial(org.jruby.runtime.builtin.IRubyObject[]);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
aaload
invokestatic org.jruby.RubyNumeric.fix2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
istore 2
start local 2 1: iload 2
ifge 3
2: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "negative length "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " given"
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
3: StackMap locals: int
StackMap stack:
aload 1
arraylength
iconst_1
if_icmple 12
aload 1
iconst_1
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 12
4: aload 1
iconst_1
aaload
instanceof org.jruby.RubyString
ifne 10
5: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
6: new java.lang.StringBuilder
dup
ldc "wrong argument type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iconst_1
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc " (expected String)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
10: StackMap locals:
StackMap stack:
aload 0
iload 2
aload 1
iconst_1
aaload
checkcast org.jruby.RubyString
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.readPartial:(ILorg/jruby/RubyString;)Lorg/jruby/runtime/builtin/IRubyObject;
11: areturn
12: StackMap locals:
StackMap stack:
aload 0
iload 2
aconst_null
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.readPartial:(ILorg/jruby/RubyString;)Lorg/jruby/runtime/builtin/IRubyObject;
13: areturn
end local 2 14: StackMap locals: org.jruby.ext.zlib.JZlibRubyGzipReader org.jruby.runtime.builtin.IRubyObject[]
StackMap stack: java.io.IOException
astore 2
start local 2 15: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 2
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 16 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 14 2 len I
15 16 2 ioe Ljava/io/IOException;
Exception table:
from to target type
0 11 14 Class java.io.IOException
12 13 14 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"readpartial"}, required = 1, optional = 1)
MethodParameters:
Name Flags
args
private org.jruby.runtime.builtin.IRubyObject readPartial(int, org.jruby.RubyString);
descriptor: (ILorg/jruby/RubyString;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
bipush 10
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.newReadByteList:(I)Lorg/jruby/util/ByteList;
astore 3
start local 3 1: iload 1
newarray 8
astore 4
start local 4 2: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
aload 4
iconst_0
iload 1
invokevirtual java.io.PushbackInputStream.read:([BII)I
istore 5
start local 5 3: iload 5
iconst_m1
if_icmpne 5
4: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
5: StackMap locals: org.jruby.util.ByteList byte[] int
StackMap stack:
aload 3
aload 4
iconst_0
iload 5
invokevirtual org.jruby.util.ByteList.append:([BII)V
6: aload 0
dup
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
aload 3
invokevirtual org.jruby.util.ByteList.length:()I
i2l
ladd
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
7: aload 2
ifnull 9
8: aload 2
aload 3
invokevirtual org.jruby.RubyString.view:(Lorg/jruby/util/ByteList;)V
9: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 3
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.newStr:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
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 10 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 10 1 len I
0 10 2 outbuf Lorg/jruby/RubyString;
1 10 3 val Lorg/jruby/util/ByteList;
2 10 4 buffer [B
3 10 5 read I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
len
outbuf
private org.jruby.runtime.builtin.IRubyObject readAll();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_m1
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.readAll:(I)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
Exceptions:
throws java.io.IOException
private org.jruby.runtime.builtin.IRubyObject readAll(int);
descriptor: (I)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
bipush 10
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.newReadByteList:(I)Lorg/jruby/util/ByteList;
astore 2
start local 2 1: iload 1
iconst_m1
if_icmpne 2
sipush 4096
goto 3
StackMap locals: org.jruby.util.ByteList
StackMap stack:
2: iload 1
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: iload 3
newarray 8
astore 4
start local 4 5: goto 10
6: StackMap locals: int byte[]
StackMap stack:
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
aload 4
iconst_0
iload 3
invokevirtual java.io.PushbackInputStream.read:([BII)I
istore 5
start local 5 7: iload 5
iconst_m1
if_icmpne 8
goto 11
8: StackMap locals: int
StackMap stack:
aload 2
aload 4
iconst_0
iload 5
invokevirtual org.jruby.util.ByteList.append:([BII)V
9: iload 1
iconst_m1
if_icmpeq 10
iload 3
iload 5
isub
istore 3
end local 5 10: StackMap locals:
StackMap stack:
iload 3
ifgt 6
11: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.fixBrokenTrailingCharacter:(Lorg/jruby/util/ByteList;)V
12: aload 0
dup
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
aload 2
invokevirtual org.jruby.util.ByteList.length:()I
i2l
ladd
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
13: aload 0
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 2
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.newStr:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
areturn
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/zlib/JZlibRubyGzipReader;
0 14 1 limit I
1 14 2 val Lorg/jruby/util/ByteList;
4 14 3 rest I
5 14 4 buffer [B
7 10 5 read I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
limit
private org.jruby.util.ByteList readSize(int);
descriptor: (I)Lorg/jruby/util/ByteList;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: iload 1
newarray 8
astore 2
start local 2 1: iload 1
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 9
4: StackMap locals: byte[] int int
StackMap stack:
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
aload 2
iload 4
iload 3
invokevirtual java.io.PushbackInputStream.read:([BII)I
istore 5
start local 5 5: iload 5
iconst_m1
if_icmpne 7
6: iload 4
ifne 10
aconst_null
areturn
7: StackMap locals: int
StackMap stack:
iload 3
iload 5
isub
istore 3
8: iload 4
iload 5
iadd
istore 4
end local 5 9: StackMap locals:
StackMap stack:
iload 3
ifgt 4
10: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
iload 1
iload 3
isub
i2l
ladd
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
11: new org.jruby.util.ByteList
dup
aload 2
iconst_0
iload 1
iload 3
isub
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BIIZ)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 12 1 length I
1 12 2 buffer [B
2 12 3 toRead I
3 12 4 offset I
5 9 5 read I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
length
public org.jruby.runtime.builtin.IRubyObject set_lineno(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)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
invokestatic org.jruby.RubyNumeric.fix2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.line:I
1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 2 1 lineArg Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"lineno="}, required = 1)
MethodParameters:
Name Flags
lineArg
public org.jruby.runtime.builtin.IRubyObject pos();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
invokestatic org.jruby.RubyNumeric.int2fix:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyNumeric;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"pos", "tell"})
public org.jruby.runtime.builtin.IRubyObject readchar();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
invokevirtual java.io.PushbackInputStream.read:()I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 2
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.newEOFError:()Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals: int
StackMap stack:
aload 0
dup
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
lconst_1
ladd
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
3: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
iload 1
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
4: areturn
end local 1 5: StackMap locals: org.jruby.ext.zlib.JZlibRubyGzipReader
StackMap stack: java.io.IOException
astore 1
start local 1 6: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
1 5 1 value I
6 7 1 ioe Ljava/io/IOException;
Exception table:
from to target type
0 4 5 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"readchar"})
public org.jruby.runtime.builtin.IRubyObject getc();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
invokevirtual java.io.PushbackInputStream.read:()I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
2: areturn
3: StackMap locals: int
StackMap stack:
aload 0
dup
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
lconst_1
ladd
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
4: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
iload 1
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
5: areturn
end local 1 6: StackMap locals: org.jruby.ext.zlib.JZlibRubyGzipReader
StackMap stack: java.io.IOException
astore 1
start local 1 7: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
1 6 1 value I
7 8 1 ioe Ljava/io/IOException;
Exception table:
from to target type
0 2 6 Class java.io.IOException
3 5 6 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"getbyte"})
public org.jruby.runtime.builtin.IRubyObject getbyte();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getc:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
public org.jruby.runtime.builtin.IRubyObject readbyte();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getbyte:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 1
start local 1 1: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 3
2: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.newEOFError:()Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
1 4 1 dst Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"readbyte"})
public org.jruby.runtime.builtin.IRubyObject getc_19();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
invokevirtual java.io.PushbackInputStream.read:()I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
2: areturn
3: StackMap locals: int
StackMap stack:
aload 0
dup
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
lconst_1
ladd
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
4: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
iload 1
sipush 255
iand
i2c
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
5: areturn
end local 1 6: StackMap locals: org.jruby.ext.zlib.JZlibRubyGzipReader
StackMap stack: java.io.IOException
astore 1
start local 1 7: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
1 6 1 value I
7 8 1 ioe Ljava/io/IOException;
Exception table:
from to target type
0 2 6 Class java.io.IOException
3 5 6 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"getc"})
private boolean isEof();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
invokevirtual java.io.PushbackInputStream.available:()I
ifne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
bipush 16
newarray 8
astore 1
start local 1 2: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
aload 1
iconst_0
aload 1
arraylength
invokevirtual java.io.PushbackInputStream.read:([BII)I
istore 2
start local 2 3: iload 2
iconst_m1
if_icmpne 4
iconst_1
ireturn
4: StackMap locals: byte[] int
StackMap stack:
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
aload 1
iconst_0
iload 2
invokevirtual java.io.PushbackInputStream.unread:([BII)V
5: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
invokevirtual java.io.PushbackInputStream.available:()I
ifne 6
iconst_1
ireturn
StackMap locals:
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
2 7 1 bytes [B
3 7 2 read I
Exceptions:
throws java.io.IOException
public org.jruby.runtime.builtin.IRubyObject close();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.closed:Z
ifne 7
1: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
invokevirtual java.io.PushbackInputStream.close:()V
2: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.realIo:Lorg/jruby/runtime/builtin/IRubyObject;
ldc "close"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifeq 7
3: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.realIo:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.realIo:Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
ldc "close"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
4: goto 7
StackMap locals:
StackMap stack: java.io.IOException
5: astore 1
start local 1 6: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 7: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.closed:Z
8: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.realIo:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
6 7 1 ioe Ljava/io/IOException;
Exception table:
from to target type
1 4 5 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"close"})
public org.jruby.runtime.builtin.IRubyObject eof();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.isEof:()Z
ifeq 1
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getTrue:()Lorg/jruby/RubyBoolean;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFalse:()Lorg/jruby/RubyBoolean;
StackMap locals:
StackMap stack: org.jruby.RubyBoolean
2: areturn
3: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 4: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
4 5 1 ioe Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"eof"})
public org.jruby.runtime.builtin.IRubyObject eof_p();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.eof:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"eof?"})
public org.jruby.runtime.builtin.IRubyObject unused();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.io:Lcom/jcraft/jzlib/GZIPInputStream;
invokevirtual com.jcraft.jzlib.GZIPInputStream.getAvailIn:()[B
astore 1
start local 1 1: aload 1
ifnonnull 2
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals: byte[]
StackMap stack:
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;[B)Lorg/jruby/RubyString;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
1 3 1 tmp [B
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject crc();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: lconst_0
lstore 1
start local 1 1: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.io:Lcom/jcraft/jzlib/GZIPInputStream;
invokevirtual com.jcraft.jzlib.GZIPInputStream.getCRC:()J
lstore 1
2: goto 4
StackMap locals: org.jruby.ext.zlib.JZlibRubyGzipReader long
StackMap stack: com.jcraft.jzlib.GZIPException
3: pop
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
lload 1
invokevirtual org.jruby.Ruby.newFixnum:(J)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
1 5 1 crc J
Exception table:
from to target type
1 2 3 Class com.jcraft.jzlib.GZIPException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject os_code();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.io:Lcom/jcraft/jzlib/GZIPInputStream;
invokevirtual com.jcraft.jzlib.GZIPInputStream.getOS:()I
istore 1
start local 1 1: iload 1
sipush 255
if_icmpne 2
bipush 11
istore 1
2: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
iload 1
sipush 255
iand
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
1 3 1 os I
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject orig_name();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.io:Lcom/jcraft/jzlib/GZIPInputStream;
invokevirtual com.jcraft.jzlib.GZIPInputStream.getName:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.nullFreeOrigName:Lorg/jruby/RubyString;
2: aload 0
invokespecial org.jruby.ext.zlib.RubyGzipFile.orig_name:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
1 3 1 name Ljava/lang/String;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject ();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.io:Lcom/jcraft/jzlib/GZIPInputStream;
invokevirtual com.jcraft.jzlib.GZIPInputStream.getComment:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.nullFreeComment:Lorg/jruby/RubyString;
2: aload 0
invokespecial org.jruby.ext.zlib.RubyGzipFile.comment:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
1 3 1 comment Ljava/lang/String;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject each(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=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 1
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
ldc "each"
aload 2
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
1: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getGlobalVariables:()Lorg/jruby/internal/runtime/GlobalVariables;
ldc "$/"
invokevirtual org.jruby.internal.runtime.GlobalVariables.get:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 4
start local 4 2: aload 2
arraylength
ifle 4
aload 2
iconst_0
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 4
3: aload 2
iconst_0
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 4
4: StackMap locals: org.jruby.util.ByteList
StackMap stack:
aload 0
aload 4
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.internalSepGets:(Lorg/jruby/util/ByteList;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 5: goto 8
6: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 3
aload 1
aload 5
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
7: aload 0
aload 4
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.internalSepGets:(Lorg/jruby/util/ByteList;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
StackMap locals:
StackMap stack:
8: aload 5
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 6
end local 5 9: goto 12
StackMap locals: org.jruby.ext.zlib.JZlibRubyGzipReader org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.Block org.jruby.util.ByteList
StackMap stack: java.io.IOException
10: astore 5
start local 5 11: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 5
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 5 12: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 13 1 context Lorg/jruby/runtime/ThreadContext;
0 13 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 13 3 block Lorg/jruby/runtime/Block;
2 13 4 sep Lorg/jruby/util/ByteList;
5 9 5 result Lorg/jruby/runtime/builtin/IRubyObject;
11 12 5 ioe Ljava/io/IOException;
Exception table:
from to target type
4 9 10 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(optional = 1)
MethodParameters:
Name Flags
context
args
block
public org.jruby.runtime.builtin.IRubyObject each_line(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=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 1
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
ldc "each_line"
aload 2
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.each:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 2 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(optional = 1)
MethodParameters:
Name Flags
context
args
block
public org.jruby.runtime.builtin.IRubyObject ungetc(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=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 1
aload 2
areturn
1: StackMap locals:
StackMap stack:
aload 2
instanceof org.jruby.RubyInteger
ifeq 4
2: aload 1
aload 2
checkcast org.jruby.RubyInteger
invokevirtual org.jruby.RubyInteger.getIntValue:()I
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getReadEncoding:()Lorg/jcodings/Encoding;
invokestatic org.jruby.util.io.EncodingUtils.encUintChr:(Lorg/jruby/runtime/ThreadContext;ILorg/jcodings/Encoding;)Lorg/jruby/RubyString;
astore 2
3: goto 5
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.getBytes:()[B
astore 3
start local 3 6: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
aload 3
invokevirtual java.io.PushbackInputStream.unread:([B)V
7: aload 0
dup
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
aload 3
arraylength
i2l
lsub
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
end local 3 8: goto 11
StackMap locals:
StackMap stack: java.io.IOException
9: astore 3
start local 3 10: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 3 11: StackMap locals:
StackMap stack:
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 12 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 12 1 context Lorg/jruby/runtime/ThreadContext;
0 12 2 c Lorg/jruby/runtime/builtin/IRubyObject;
6 8 3 bytes [B
10 11 3 ioe Ljava/io/IOException;
Exception table:
from to target type
5 8 9 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
c
public org.jruby.runtime.builtin.IRubyObject ungetbyte(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 1
aload 1
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
invokevirtual org.jruby.RubyInteger.getIntValue:()I
invokevirtual java.io.PushbackInputStream.unread:(I)V
2: aload 0
dup
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
lconst_1
lsub
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
3: goto 6
StackMap locals:
StackMap stack: java.io.IOException
4: astore 2
start local 2 5: aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 2
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 2 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 7 1 b Lorg/jruby/runtime/builtin/IRubyObject;
5 6 2 ioe Ljava/io/IOException;
Exception table:
from to target type
1 3 4 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
b
public org.jruby.runtime.builtin.IRubyObject readlines(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: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 2
arraylength
ifeq 4
aload 2
iconst_0
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 4
2: aload 3
aload 0
aload 1
getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.read:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: goto 14
4: StackMap locals: java.util.List
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getGlobalVariables:()Lorg/jruby/internal/runtime/GlobalVariables;
ldc "$/"
invokevirtual org.jruby.internal.runtime.GlobalVariables.get:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyString
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 4
start local 4 5: aload 2
arraylength
ifle 6
aload 2
iconst_0
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 4
6: StackMap locals: org.jruby.util.ByteList
StackMap stack:
aload 0
aload 4
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.internalSepGets:(Lorg/jruby/util/ByteList;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 7: goto 10
8: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 3
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 0
aload 4
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.internalSepGets:(Lorg/jruby/util/ByteList;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
StackMap locals:
StackMap stack:
10: aload 5
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 8
end local 5 11: goto 14
StackMap locals: org.jruby.ext.zlib.JZlibRubyGzipReader org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] java.util.List org.jruby.util.ByteList
StackMap stack: java.io.IOException
12: astore 5
start local 5 13: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 5
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 5 end local 4 14: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getRuntime:()Lorg/jruby/Ruby;
aload 3
invokevirtual org.jruby.Ruby.newArray:(Ljava/util/List;)Lorg/jruby/RubyArray;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 15 1 context Lorg/jruby/runtime/ThreadContext;
0 15 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 15 3 array Ljava/util/List<Lorg/jruby/runtime/builtin/IRubyObject;>;
5 14 4 sep Lorg/jruby/util/ByteList;
7 11 5 result Lorg/jruby/runtime/builtin/IRubyObject;
13 14 5 ioe Ljava/io/IOException;
Exception table:
from to target type
6 11 12 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(optional = 1)
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject each_byte(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, 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
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 2
aload 3
aload 0
ldc "each_byte"
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
invokevirtual java.io.PushbackInputStream.read:()I
istore 4
start local 4 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 0
dup
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
lconst_1
ladd
putfield org.jruby.ext.zlib.JZlibRubyGzipReader.position:J
5: aload 2
aload 1
aload 3
iload 4
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
6: aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
invokevirtual java.io.PushbackInputStream.read:()I
istore 4
7: StackMap locals:
StackMap stack:
iload 4
iconst_m1
if_icmpne 4
end local 4 8: goto 11
StackMap locals: org.jruby.ext.zlib.JZlibRubyGzipReader org.jruby.runtime.ThreadContext org.jruby.runtime.Block org.jruby.Ruby
StackMap stack: java.io.IOException
9: astore 4
start local 4 10: aload 3
aload 4
invokevirtual org.jruby.Ruby.newIOErrorFromException:(Ljava/io/IOException;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 4 11: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 12 1 context Lorg/jruby/runtime/ThreadContext;
0 12 2 block Lorg/jruby/runtime/Block;
1 12 3 runtime Lorg/jruby/Ruby;
3 8 4 value I
10 11 4 ioe Ljava/io/IOException;
Exception table:
from to target type
2 8 9 Class java.io.IOException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
block
private void fixBrokenTrailingCharacter(org.jruby.util.ByteList);
descriptor: (Lorg/jruby/util/ByteList;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jruby.util.ByteList.getUnsafeBytes:()[B
aload 1
invokevirtual org.jruby.util.ByteList.getBegin:()I
aload 1
invokevirtual org.jruby.util.ByteList.getRealSize:()I
aload 0
invokevirtual org.jruby.ext.zlib.JZlibRubyGzipReader.getReadEncoding:()Lorg/jcodings/Encoding;
aload 1
invokevirtual org.jruby.util.ByteList.length:()I
invokestatic org.jruby.util.StringSupport.bytesToFixBrokenTrailingCharacter:([BIILorg/jcodings/Encoding;I)I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
getfield org.jruby.ext.zlib.JZlibRubyGzipReader.bufferedStream:Ljava/io/PushbackInputStream;
invokevirtual java.io.PushbackInputStream.read:()I
istore 4
start local 4 4: iload 4
iconst_m1
if_icmpne 5
goto 8
5: StackMap locals: int
StackMap stack:
aload 1
iload 4
invokevirtual org.jruby.util.ByteList.append:(I)Lorg/jruby/util/ByteList;
pop
end local 4 6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 2
if_icmplt 3
end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/ext/zlib/JZlibRubyGzipReader;
0 9 1 result Lorg/jruby/util/ByteList;
1 9 2 extraBytes I
2 8 3 i I
4 6 4 read I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
result
}
SourceFile: "JZlibRubyGzipReader.java"
NestMembers:
org.jruby.ext.zlib.JZlibRubyGzipReader$1 org.jruby.ext.zlib.JZlibRubyGzipReader$Error
InnerClasses:
org.jruby.ext.zlib.JZlibRubyGzipReader$1
public Error = org.jruby.ext.zlib.JZlibRubyGzipReader$Error of org.jruby.ext.zlib.JZlibRubyGzipReader
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"Zlib::GzipReader"}, parent = "Zlib::GzipFile", include = {"Enumerable"})