public class org.jruby.runtime.marshal.UnmarshalStream extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.runtime.marshal.UnmarshalStream
super_class: java.io.InputStream
{
protected final org.jruby.Ruby runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final org.jruby.runtime.marshal.UnmarshalCache cache;
descriptor: Lorg/jruby/runtime/marshal/UnmarshalCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.runtime.builtin.IRubyObject proc;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.io.InputStream inputStream;
descriptor: Ljava/io/InputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean taint;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jruby/runtime/marshal/UnmarshalStream;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jruby.runtime.marshal.UnmarshalStream.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.Ruby, java.io.InputStream, org.jruby.runtime.builtin.IRubyObject, boolean);
descriptor: (Lorg/jruby/Ruby;Ljava/io/InputStream;Lorg/jruby/runtime/builtin/IRubyObject;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.io.InputStream.<init>:()V
1: getstatic org.jruby.runtime.marshal.UnmarshalStream.$assertionsDisabled:Z
ifne 2
aload 1
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.jruby.runtime.marshal.UnmarshalStream org.jruby.Ruby java.io.InputStream org.jruby.runtime.builtin.IRubyObject int
StackMap stack:
getstatic org.jruby.runtime.marshal.UnmarshalStream.$assertionsDisabled:Z
ifne 3
aload 2
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 3
ifnonnull 4
aload 1
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
5: aload 0
new org.jruby.runtime.marshal.UnmarshalCache
dup
aload 1
invokespecial org.jruby.runtime.marshal.UnmarshalCache.<init>:(Lorg/jruby/Ruby;)V
putfield org.jruby.runtime.marshal.UnmarshalStream.cache:Lorg/jruby/runtime/marshal/UnmarshalCache;
6: aload 0
aload 3
putfield org.jruby.runtime.marshal.UnmarshalStream.proc:Lorg/jruby/runtime/builtin/IRubyObject;
7: aload 0
aload 2
putfield org.jruby.runtime.marshal.UnmarshalStream.inputStream:Ljava/io/InputStream;
8: aload 0
iload 4
putfield org.jruby.runtime.marshal.UnmarshalStream.taint:Z
9: aload 2
invokevirtual java.io.InputStream.read:()I
istore 5
start local 5 10: aload 2
invokevirtual java.io.InputStream.read:()I
istore 6
start local 6 11: iload 5
iconst_m1
if_icmpeq 12
iload 6
iconst_m1
if_icmpne 13
12: StackMap locals: int int
StackMap stack:
new java.io.EOFException
dup
ldc "Unexpected end of stream"
invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
iload 5
iconst_4
if_icmpne 14
iload 6
bipush 8
if_icmple 15
14: StackMap locals:
StackMap stack:
aload 1
ldc "incompatible marshal file format (can't be read)\n\tformat version %d.%d required; %d.%d given"
iconst_4
anewarray java.lang.Object
dup
iconst_0
iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
bipush 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iload 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
15: StackMap locals:
StackMap stack:
return
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 16 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
0 16 1 runtime Lorg/jruby/Ruby;
0 16 2 in Ljava/io/InputStream;
0 16 3 proc Lorg/jruby/runtime/builtin/IRubyObject;
0 16 4 taint Z
10 16 5 major I
11 16 6 minor I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
runtime
in
proc
taint
public org.jruby.runtime.builtin.IRubyObject unmarshalObject();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new org.jruby.runtime.marshal.UnmarshalStream$MarshalState
dup
iconst_0
invokespecial org.jruby.runtime.marshal.UnmarshalStream$MarshalState.<init>:(Z)V
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:(Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
Exceptions:
throws java.io.IOException
public org.jruby.runtime.builtin.IRubyObject unmarshalObject(boolean);
descriptor: (Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.jruby.runtime.marshal.UnmarshalStream$MarshalState
dup
iconst_0
invokespecial org.jruby.runtime.marshal.UnmarshalStream$MarshalState.<init>:(Z)V
iload 1
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:(Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
0 1 1 callProc Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
callProc
private org.jruby.runtime.builtin.IRubyObject unmarshalObject(org.jruby.runtime.marshal.UnmarshalStream$MarshalState);
descriptor: (Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;)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_1
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:(Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
0 1 1 state Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
state
private org.jruby.runtime.builtin.IRubyObject unmarshalObject(org.jruby.runtime.marshal.UnmarshalStream$MarshalState, boolean);
descriptor: (Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.readUnsignedByte:()I
istore 3
start local 3 1: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.cache:Lorg/jruby/runtime/marshal/UnmarshalCache;
iload 3
invokevirtual org.jruby.runtime.marshal.UnmarshalCache.isLinkType:(I)Z
ifeq 4
2: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.cache:Lorg/jruby/runtime/marshal/UnmarshalCache;
aload 0
iload 3
invokevirtual org.jruby.runtime.marshal.UnmarshalCache.readLink:(Lorg/jruby/runtime/marshal/UnmarshalStream;I)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 3: iload 2
ifeq 5
aload 0
aload 4
iload 3
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.doCallProcForLink:(Lorg/jruby/runtime/builtin/IRubyObject;I)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 4 4: StackMap locals: int
StackMap stack:
aload 0
iload 3
aload 1
iload 2
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObjectDirectly:(ILorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 5: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 4
instanceof org.jruby.RubyNumeric
ifne 8
6: aload 4
instanceof org.jruby.RubyEncoding
ifne 8
7: aload 4
aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.taint:Z
invokeinterface org.jruby.runtime.builtin.IRubyObject.setTaint:(Z)V
8: StackMap locals:
StackMap stack:
aload 4
areturn
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/runtime/marshal/UnmarshalStream;
0 9 1 state Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;
0 9 2 callProc Z
1 9 3 type I
3 4 4 result Lorg/jruby/runtime/builtin/IRubyObject;
5 9 4 result Lorg/jruby/runtime/builtin/IRubyObject;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
state
callProc
public void registerLinkTarget(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.runtime.marshal.MarshalStream.shouldBeRegistered:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 2
1: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.cache:Lorg/jruby/runtime/marshal/UnmarshalCache;
aload 1
invokevirtual org.jruby.runtime.marshal.UnmarshalCache.register:(Lorg/jruby/runtime/builtin/IRubyObject;)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
0 3 1 newObject Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
newObject
public static org.jruby.RubyModule getModuleFromPath(org.jruby.Ruby, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyModule;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
invokevirtual org.jruby.Ruby.getArgumentError:()Lorg/jruby/RubyClass;
iconst_0
invokevirtual org.jruby.Ruby.getClassFromPath:(Ljava/lang/String;Lorg/jruby/RubyClass;Z)Lorg/jruby/RubyModule;
astore 2
start local 2 1: aload 2
ifnonnull 2
aload 0
new java.lang.StringBuilder
dup
ldc "undefined class/module "
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.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals: org.jruby.RubyModule
StackMap stack:
aload 2
invokevirtual org.jruby.RubyModule.isModule:()Z
ifne 3
aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " does not refer module"
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:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 runtime Lorg/jruby/Ruby;
0 4 1 path Ljava/lang/String;
1 4 2 value Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
runtime
path
public static org.jruby.RubyClass getClassFromPath(org.jruby.Ruby, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 0
invokevirtual org.jruby.Ruby.getArgumentError:()Lorg/jruby/RubyClass;
iconst_0
invokevirtual org.jruby.Ruby.getClassFromPath:(Ljava/lang/String;Lorg/jruby/RubyClass;Z)Lorg/jruby/RubyModule;
astore 2
start local 2 1: aload 2
ifnonnull 2
aload 0
new java.lang.StringBuilder
dup
ldc "undefined class/module "
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.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals: org.jruby.RubyModule
StackMap stack:
aload 2
invokevirtual org.jruby.RubyModule.isClass:()Z
ifne 3
aload 0
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " does not refer class"
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:
StackMap stack:
aload 2
checkcast org.jruby.RubyClass
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 runtime Lorg/jruby/Ruby;
0 4 1 path Ljava/lang/String;
1 4 2 value Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
runtime
path
private org.jruby.runtime.builtin.IRubyObject doCallProcForLink(org.jruby.runtime.builtin.IRubyObject, int);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;I)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.proc:Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 2
iload 2
bipush 59
if_icmpeq 2
1: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.proc:Lorg/jruby/runtime/builtin/IRubyObject;
ldc "call"
aload 1
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
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
0 3 1 result Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 type I
MethodParameters:
Name Flags
result
type
private org.jruby.runtime.builtin.IRubyObject doCallProcForObj(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.proc:Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 2
1: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.proc:Lorg/jruby/runtime/builtin/IRubyObject;
ldc "call"
aload 1
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
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
0 3 1 result Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
result
private org.jruby.runtime.builtin.IRubyObject unmarshalObjectDirectly(int, org.jruby.runtime.marshal.UnmarshalStream$MarshalState, boolean);
descriptor: (ILorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 1
lookupswitch { // 21
34: 12
47: 18
48: 6
58: 20
67: 48
70: 10
73: 1
83: 40
84: 8
85: 46
91: 22
99: 28
101: 32
102: 16
105: 14
108: 38
109: 30
111: 42
117: 44
123: 24
125: 26
default: 50
}
1: StackMap locals:
StackMap stack:
new org.jruby.runtime.marshal.UnmarshalStream$MarshalState
dup
iconst_1
invokespecial org.jruby.runtime.marshal.UnmarshalStream$MarshalState.<init>:(Z)V
astore 5
start local 5 2: aload 0
aload 5
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:(Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 3: aload 5
invokevirtual org.jruby.runtime.marshal.UnmarshalStream$MarshalState.isIvarWaiting:()Z
ifeq 5
4: aload 0
aload 4
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.defaultVariablesUnmarshal:(Lorg/jruby/runtime/builtin/IRubyObject;)V
5: StackMap locals: org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.marshal.UnmarshalStream$MarshalState
StackMap stack:
aload 4
areturn
end local 5 end local 4 6: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 7: goto 51
end local 4 8: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getTrue:()Lorg/jruby/RubyBoolean;
astore 4
start local 4 9: goto 51
end local 4 10: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getFalse:()Lorg/jruby/RubyBoolean;
astore 4
start local 4 11: goto 51
end local 4 12: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.RubyString.unmarshalFrom:(Lorg/jruby/runtime/marshal/UnmarshalStream;)Lorg/jruby/RubyString;
astore 4
start local 4 13: goto 51
end local 4 14: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.RubyFixnum.unmarshalFrom:(Lorg/jruby/runtime/marshal/UnmarshalStream;)Lorg/jruby/RubyFixnum;
astore 4
start local 4 15: goto 51
end local 4 16: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.RubyFloat.unmarshalFrom:(Lorg/jruby/runtime/marshal/UnmarshalStream;)Lorg/jruby/RubyFloat;
astore 4
start local 4 17: goto 51
end local 4 18: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalRegexp:(Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 19: goto 51
end local 4 20: StackMap locals:
StackMap stack:
aload 0
aload 2
invokestatic org.jruby.RubySymbol.unmarshalFrom:(Lorg/jruby/runtime/marshal/UnmarshalStream;Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;)Lorg/jruby/RubySymbol;
astore 4
start local 4 21: goto 51
end local 4 22: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.RubyArray.unmarshalFrom:(Lorg/jruby/runtime/marshal/UnmarshalStream;)Lorg/jruby/RubyArray;
astore 4
start local 4 23: goto 51
end local 4 24: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokestatic org.jruby.RubyHash.unmarshalFrom:(Lorg/jruby/runtime/marshal/UnmarshalStream;Z)Lorg/jruby/RubyHash;
astore 4
start local 4 25: goto 51
end local 4 26: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokestatic org.jruby.RubyHash.unmarshalFrom:(Lorg/jruby/runtime/marshal/UnmarshalStream;Z)Lorg/jruby/RubyHash;
astore 4
start local 4 27: goto 51
end local 4 28: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.RubyClass.unmarshalFrom:(Lorg/jruby/runtime/marshal/UnmarshalStream;)Lorg/jruby/RubyClass;
astore 4
start local 4 29: goto 51
end local 4 30: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.RubyModule.unmarshalFrom:(Lorg/jruby/runtime/marshal/UnmarshalStream;)Lorg/jruby/RubyModule;
astore 4
start local 4 31: goto 51
end local 4 32: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubySymbol
astore 6
start local 6 33: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
aload 6
invokevirtual org.jruby.RubySymbol.asJavaString:()Ljava/lang/String;
invokestatic org.jruby.runtime.marshal.UnmarshalStream.getModuleFromPath:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyModule;
astore 7
start local 7 34: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 35: aload 7
aload 4
invokevirtual org.jruby.RubyModule.extend_object:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
36: aload 7
aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
ldc "extended"
aload 4
invokevirtual org.jruby.RubyModule.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
37: goto 51
end local 7 end local 6 end local 4 38: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.RubyBignum.unmarshalFrom:(Lorg/jruby/runtime/marshal/UnmarshalStream;)Lorg/jruby/RubyNumeric;
astore 4
start local 4 39: goto 51
end local 4 40: StackMap locals:
StackMap stack:
aload 0
invokestatic org.jruby.RubyStruct.unmarshalFrom:(Lorg/jruby/runtime/marshal/UnmarshalStream;)Lorg/jruby/RubyStruct;
astore 4
start local 4 41: goto 51
end local 4 42: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.defaultObjectUnmarshal:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 43: goto 51
end local 4 44: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.userUnmarshal:(Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 45: goto 51
end local 4 46: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.userNewUnmarshal:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 47: goto 51
end local 4 48: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.uclassUnmarshall:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 49: goto 51
end local 4 50: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.getRuntime:()Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "dump format error("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
i2c
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
ldc ")"
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
start local 4 51: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
iload 3
ifeq 53
52: aload 0
aload 4
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.doCallProcForObj:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
53: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 54 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
0 54 1 type I
0 54 2 state Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;
0 54 3 callProc Z
3 6 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
7 8 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
9 10 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
11 12 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
13 14 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
15 16 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
17 18 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
19 20 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
21 22 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
23 24 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
25 26 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
27 28 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
29 30 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
31 32 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
35 38 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
39 40 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
41 42 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
43 44 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
45 46 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
47 48 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
49 50 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
51 54 4 rubyObj Lorg/jruby/runtime/builtin/IRubyObject;
2 6 5 childState Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;
33 38 6 moduleName Lorg/jruby/RubySymbol;
34 38 7 tp Lorg/jruby/RubyModule;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
type
state
callProc
private org.jruby.runtime.builtin.IRubyObject unmarshalRegexp(org.jruby.runtime.marshal.UnmarshalStream$MarshalState);
descriptor: (Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=14, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalString:()Lorg/jruby/util/ByteList;
astore 2
start local 2 1: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.readSignedByte:()B
istore 3
start local 3 2: iload 3
invokestatic org.jruby.util.RegexpOptions.fromJoniOptions:(I)Lorg/jruby/util/RegexpOptions;
astore 4
start local 4 3: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getRegexp:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.allocate:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyRegexp
astore 5
start local 5 4: aload 0
aload 5
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.registerLinkTarget:(Lorg/jruby/runtime/builtin/IRubyObject;)V
5: aconst_null
astore 6
start local 6 6: aload 1
invokevirtual org.jruby.runtime.marshal.UnmarshalStream$MarshalState.isIvarWaiting:()Z
ifeq 12
7: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
aload 2
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
astore 7
start local 7 8: aload 0
aload 7
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.defaultVariablesUnmarshal:(Lorg/jruby/runtime/builtin/IRubyObject;)V
9: aload 7
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
astore 2
10: aload 1
iconst_0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream$MarshalState.setIvarWaiting:(Z)V
11: aload 7
astore 6
end local 7 12: StackMap locals: org.jruby.runtime.marshal.UnmarshalStream org.jruby.runtime.marshal.UnmarshalStream$MarshalState org.jruby.util.ByteList int org.jruby.util.RegexpOptions org.jruby.RubyRegexp org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
getstatic org.jcodings.specific.ASCIIEncoding.INSTANCE:Lorg/jcodings/specific/ASCIIEncoding;
if_acmpne 28
13: aload 2
invokevirtual org.jruby.util.ByteList.unsafeBytes:()[B
astore 7
start local 7 14: aload 2
invokevirtual org.jruby.util.ByteList.begin:()I
istore 8
start local 8 15: iload 8
istore 9
start local 9 16: iload 8
istore 10
start local 10 17: aload 2
invokevirtual org.jruby.util.ByteList.realSize:()I
istore 11
start local 11 18: lconst_0
lstore 12
start local 12 19: goto 26
20: StackMap locals: org.jruby.runtime.marshal.UnmarshalStream org.jruby.runtime.marshal.UnmarshalStream$MarshalState org.jruby.util.ByteList int org.jruby.util.RegexpOptions org.jruby.RubyRegexp org.jruby.runtime.builtin.IRubyObject byte[] int int int int long
StackMap stack:
aload 7
iload 10
baload
tableswitch { // 69 - 121
69: 23
70: 23
71: 24
72: 23
73: 23
74: 23
75: 23
76: 23
77: 24
78: 23
79: 23
80: 23
81: 23
82: 23
83: 23
84: 23
85: 23
86: 23
87: 24
88: 23
89: 23
90: 24
91: 24
92: 21
93: 24
94: 24
95: 24
96: 24
97: 24
98: 24
99: 24
100: 24
101: 24
102: 24
103: 23
104: 23
105: 23
106: 23
107: 23
108: 23
109: 23
110: 24
111: 23
112: 23
113: 23
114: 24
115: 24
116: 24
117: 23
118: 24
119: 24
120: 24
121: 23
default: 24
}
21: StackMap locals:
StackMap stack:
lload 12
lconst_1
ladd
lstore 12
22: goto 25
23: StackMap locals:
StackMap stack:
lload 12
lconst_1
land
lconst_0
lcmp
ifeq 24
iinc 9 -1
24: StackMap locals:
StackMap stack:
lconst_0
lstore 12
25: StackMap locals:
StackMap stack:
aload 7
iload 9
iinc 9 1
aload 7
iload 10
iinc 10 1
baload
bastore
StackMap locals:
StackMap stack:
26: iload 11
iinc 11 -1
ifgt 20
27: aload 2
iload 9
iload 8
isub
invokevirtual org.jruby.util.ByteList.setRealSize:(I)V
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 28: StackMap locals: org.jruby.runtime.marshal.UnmarshalStream org.jruby.runtime.marshal.UnmarshalStream$MarshalState org.jruby.util.ByteList int org.jruby.util.RegexpOptions org.jruby.RubyRegexp org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 5
aload 2
aload 2
invokevirtual org.jruby.util.ByteList.getEncoding:()Lorg/jcodings/Encoding;
aload 4
invokevirtual org.jruby.RubyRegexp.regexpInitialize:(Lorg/jruby/util/ByteList;Lorg/jcodings/Encoding;Lorg/jruby/util/RegexpOptions;)Lorg/jruby/RubyRegexp;
pop
29: aload 6
ifnull 31
30: aload 6
invokeinterface org.jruby.runtime.builtin.IRubyObject.getInstanceVariables:()Lorg/jruby/runtime/builtin/InstanceVariables;
aload 5
invokeinterface org.jruby.runtime.builtin.InstanceVariables.copyInstanceVariablesInto:(Lorg/jruby/runtime/builtin/InstanceVariables;)V
31: StackMap locals:
StackMap stack:
aload 5
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 32 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
0 32 1 state Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;
1 32 2 byteList Lorg/jruby/util/ByteList;
2 32 3 opts B
3 32 4 reOpts Lorg/jruby/util/RegexpOptions;
4 32 5 regexp Lorg/jruby/RubyRegexp;
6 32 6 ivarHolder Lorg/jruby/runtime/builtin/IRubyObject;
8 12 7 tmpStr Lorg/jruby/RubyString;
14 28 7 ptrBytes [B
15 28 8 ptr I
16 28 9 dst I
17 28 10 src I
18 28 11 len I
19 28 12 bs J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
state
public org.jruby.Ruby getRuntime();
descriptor: ()Lorg/jruby/Ruby;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
public int readUnsignedByte();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.read:()I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
2: new java.io.EOFException
dup
ldc "Unexpected end of stream"
invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
1 4 1 result I
Exceptions:
throws java.io.IOException
public byte readSignedByte();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.readUnsignedByte:()I
istore 1
start local 1 1: iload 1
bipush 127
if_icmple 3
2: iload 1
sipush 256
isub
i2b
ireturn
3: StackMap locals: int
StackMap stack:
iload 1
i2b
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
1 4 1 b I
Exceptions:
throws java.io.IOException
public org.jruby.util.ByteList unmarshalString();
descriptor: ()Lorg/jruby/util/ByteList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalInt:()I
istore 1
start local 1 1: iload 1
newarray 8
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 8
4: StackMap locals: int byte[] int
StackMap stack:
aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.inputStream:Ljava/io/InputStream;
aload 2
iload 3
iload 1
iload 3
isub
invokevirtual java.io.InputStream.read:([BII)I
istore 4
start local 4 5: iload 4
iconst_m1
if_icmpne 7
6: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.getRuntime:()Lorg/jruby/Ruby;
ldc "marshal data too short"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
7: StackMap locals: int
StackMap stack:
iload 3
iload 4
iadd
istore 3
end local 4 8: StackMap locals:
StackMap stack:
iload 3
iload 1
if_icmplt 4
9: new org.jruby.util.ByteList
dup
aload 2
iconst_0
invokespecial org.jruby.util.ByteList.<init>:([BZ)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
1 10 1 length I
2 10 2 buffer [B
3 10 3 readLength I
5 8 4 read I
Exceptions:
throws java.io.IOException
public int unmarshalInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.readSignedByte:()B
istore 1
start local 1 1: iload 1
ifne 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
iconst_4
iload 1
if_icmpge 5
iload 1
sipush 128
if_icmpge 5
4: iload 1
iconst_5
isub
ireturn
5: StackMap locals:
StackMap stack:
sipush -129
iload 1
if_icmpge 7
iload 1
bipush -4
if_icmpge 7
6: iload 1
iconst_5
iadd
ireturn
7: StackMap locals:
StackMap stack:
iload 1
ifle 15
8: lconst_0
lstore 2
start local 2 9: iconst_0
istore 4
start local 4 10: goto 13
11: StackMap locals: long int
StackMap stack:
lload 2
aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.readUnsignedByte:()I
i2l
bipush 8
iload 4
imul
lshl
lor
lstore 2
12: iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 1
if_icmplt 11
end local 4 14: goto 23
end local 2 15: StackMap locals:
StackMap stack:
iload 1
ineg
istore 1
16: ldc -1
lstore 2
start local 2 17: iconst_0
istore 4
start local 4 18: goto 22
19: StackMap locals: long int
StackMap stack:
lload 2
ldc 255
bipush 8
iload 4
imul
lshl
ldc -1
lxor
land
lstore 2
20: lload 2
aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.readUnsignedByte:()I
i2l
bipush 8
iload 4
imul
lshl
lor
lstore 2
21: iinc 4 1
StackMap locals:
StackMap stack:
22: iload 4
iload 1
if_icmplt 19
end local 4 23: StackMap locals:
StackMap stack:
lload 2
l2i
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
1 24 1 c I
9 15 2 result J
17 24 2 result J
10 14 4 i I
18 23 4 i I
Exceptions:
throws java.io.IOException
private org.jruby.runtime.builtin.IRubyObject defaultObjectUnmarshal();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:(Z)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubySymbol
astore 1
start local 1 1: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.RubySymbol.idString:()Ljava/lang/String;
invokestatic org.jruby.runtime.marshal.UnmarshalStream.getClassFromPath:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyClass;
astore 2
start local 2 2: aload 2
aload 0
invokevirtual org.jruby.RubyClass.unmarshal:(Lorg/jruby/runtime/marshal/UnmarshalStream;)Ljava/lang/Object;
checkcast org.jruby.runtime.builtin.IRubyObject
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
1 3 1 className Lorg/jruby/RubySymbol;
2 3 2 type Lorg/jruby/RubyClass;
Exceptions:
throws java.io.IOException
public void defaultVariablesUnmarshal(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalInt:()I
istore 2
start local 2 1: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getRealClass:()Lorg/jruby/RubyClass;
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 15
4: StackMap locals: int org.jruby.RubyClass int
StackMap stack:
aload 0
iconst_0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:(Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 5: aload 1
instanceof org.jruby.runtime.encoding.EncodingCapable
ifeq 11
6: aload 1
checkcast org.jruby.runtime.encoding.EncodingCapable
astore 6
start local 6 7: aload 0
aload 5
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.getEncodingFromUnmarshaled:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jcodings/Encoding;
astore 7
start local 7 8: aload 7
ifnull 11
9: aload 6
aload 7
invokeinterface org.jruby.runtime.encoding.EncodingCapable.setEncoding:(Lorg/jcodings/Encoding;)V
10: goto 14
end local 7 end local 6 11: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 5
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
astore 6
start local 6 12: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 7
start local 7 13: aload 3
aload 6
invokevirtual org.jruby.RubyClass.getVariableAccessorForWrite:(Ljava/lang/String;)Lorg/jruby/runtime/ivars/VariableAccessor;
aload 1
aload 7
invokevirtual org.jruby.runtime.ivars.VariableAccessor.set:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 7 end local 6 end local 5 14: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 2
if_icmplt 4
end local 4 16: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
0 17 1 object Lorg/jruby/runtime/builtin/IRubyObject;
1 17 2 count I
2 17 3 cls Lorg/jruby/RubyClass;
3 16 4 i I
5 14 5 key Lorg/jruby/runtime/builtin/IRubyObject;
7 11 6 strObj Lorg/jruby/runtime/encoding/EncodingCapable;
8 11 7 enc Lorg/jcodings/Encoding;
12 14 6 name Ljava/lang/String;
13 14 7 value Lorg/jruby/runtime/builtin/IRubyObject;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
object
public org.jcodings.Encoding getEncodingFromUnmarshaled(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jcodings/Encoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
ldc "E"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
2: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:()Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifeq 5
3: getstatic org.jcodings.specific.UTF8Encoding.INSTANCE:Lorg/jcodings/specific/UTF8Encoding;
astore 2
4: goto 15
5: StackMap locals: org.jcodings.Encoding
StackMap stack:
getstatic org.jcodings.specific.USASCIIEncoding.INSTANCE:Lorg/jcodings/specific/USASCIIEncoding;
astore 2
6: goto 15
StackMap locals:
StackMap stack:
7: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
ldc "encoding"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
8: aload 0
iconst_0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:(Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 9: aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
astore 4
start local 4 10: new org.jruby.util.ByteList
dup
aload 4
invokestatic org.jruby.util.ByteList.plain:(Ljava/lang/CharSequence;)[B
invokespecial org.jruby.util.ByteList.<init>:([B)V
astore 5
start local 5 11: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getEncodingService:()Lorg/jruby/runtime/encoding/EncodingService;
aload 5
invokevirtual org.jruby.runtime.encoding.EncodingService.findEncodingOrAliasEntry:(Lorg/jruby/util/ByteList;)Lorg/jcodings/EncodingDB$Entry;
astore 6
start local 6 12: aload 6
ifnonnull 14
13: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "invalid encoding in marshaling stream: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
14: StackMap locals: org.jruby.runtime.marshal.UnmarshalStream org.jruby.runtime.builtin.IRubyObject org.jcodings.Encoding org.jruby.runtime.builtin.IRubyObject java.lang.String org.jruby.util.ByteList org.jcodings.EncodingDB$Entry
StackMap stack:
aload 6
invokevirtual org.jcodings.EncodingDB$Entry.getEncoding:()Lorg/jcodings/Encoding;
astore 2
end local 6 end local 5 end local 4 end local 3 15: StackMap locals: org.jruby.runtime.marshal.UnmarshalStream org.jruby.runtime.builtin.IRubyObject org.jcodings.Encoding
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
0 16 1 key Lorg/jruby/runtime/builtin/IRubyObject;
1 16 2 enc Lorg/jcodings/Encoding;
9 15 3 encodingNameObj Lorg/jruby/runtime/builtin/IRubyObject;
10 15 4 encodingNameStr Ljava/lang/String;
11 15 5 encodingName Lorg/jruby/util/ByteList;
12 15 6 entry Lorg/jcodings/EncodingDB$Entry;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
key
private org.jruby.runtime.builtin.IRubyObject uclassUnmarshall();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:(Z)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubySymbol
astore 1
start local 1 1: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.RubySymbol.asJavaString:()Ljava/lang/String;
invokestatic org.jruby.runtime.marshal.UnmarshalStream.getClassFromPath:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyClass;
astore 2
start local 2 2: aload 2
invokevirtual org.jruby.RubyClass.isSingleton:()Z
ifeq 3
aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
ldc "singleton can't be loaded"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
3: StackMap locals: org.jruby.RubySymbol org.jruby.RubyClass
StackMap stack:
aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyObject
astore 3
start local 3 4: aload 3
invokevirtual org.jruby.RubyObject.getMetaClass:()Lorg/jruby/RubyClass;
aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getModule:()Lorg/jruby/RubyClass;
if_acmpeq 5
aload 2
aload 3
invokevirtual org.jruby.RubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.isKindOfModule:(Lorg/jruby/RubyModule;)Z
ifne 7
5: StackMap locals: org.jruby.RubyObject
StackMap stack:
aload 2
invokevirtual org.jruby.RubyClass.getAllocator:()Lorg/jruby/runtime/ObjectAllocator;
aload 3
invokevirtual org.jruby.RubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getRealClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getAllocator:()Lorg/jruby/runtime/ObjectAllocator;
if_acmpeq 7
6: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
ldc "dump format error (user class)"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
7: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual org.jruby.RubyObject.setMetaClass:(Lorg/jruby/RubyClass;)V
8: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
1 9 1 className Lorg/jruby/RubySymbol;
2 9 2 type Lorg/jruby/RubyClass;
4 9 3 result Lorg/jruby/RubyObject;
Exceptions:
throws java.io.IOException
private org.jruby.runtime.builtin.IRubyObject userUnmarshal(org.jruby.runtime.marshal.UnmarshalStream$MarshalState);
descriptor: (Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:(Z)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalString:()Lorg/jruby/util/ByteList;
astore 3
start local 3 2: aload 0
aload 2
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.findClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
astore 4
start local 4 3: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
aload 3
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
astore 5
start local 5 4: aload 4
aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getEncoding:()Lorg/jruby/RubyClass;
if_acmpne 7
5: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 4
aload 5
invokestatic org.jruby.RubyEncoding.find:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 6: goto 11
end local 6 7: StackMap locals: org.jruby.runtime.marshal.UnmarshalStream org.jruby.runtime.marshal.UnmarshalStream$MarshalState java.lang.String org.jruby.util.ByteList org.jruby.RubyClass org.jruby.RubyString
StackMap stack:
aload 1
invokevirtual org.jruby.runtime.marshal.UnmarshalStream$MarshalState.isIvarWaiting:()Z
ifeq 10
8: aload 0
aload 5
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.defaultVariablesUnmarshal:(Lorg/jruby/runtime/builtin/IRubyObject;)V
9: aload 1
iconst_0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream$MarshalState.setIvarWaiting:(Z)V
10: StackMap locals:
StackMap stack:
aload 4
aload 5
invokevirtual org.jruby.RubyClass.smartLoadOldUser:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 11: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
aload 6
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.registerLinkTarget:(Lorg/jruby/runtime/builtin/IRubyObject;)V
12: aload 6
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 13 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
0 13 1 state Lorg/jruby/runtime/marshal/UnmarshalStream$MarshalState;
1 13 2 className Ljava/lang/String;
2 13 3 marshaled Lorg/jruby/util/ByteList;
3 13 4 classInstance Lorg/jruby/RubyClass;
4 13 5 data Lorg/jruby/RubyString;
6 7 6 unmarshaled Lorg/jruby/runtime/builtin/IRubyObject;
11 13 6 unmarshaled Lorg/jruby/runtime/builtin/IRubyObject;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
state
private org.jruby.runtime.builtin.IRubyObject userNewUnmarshal();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:(Z)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.findClass:(Ljava/lang/String;)Lorg/jruby/RubyClass;
astore 2
start local 2 2: aload 2
invokevirtual org.jruby.RubyClass.allocate:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 3: aload 0
aload 3
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.registerLinkTarget:(Lorg/jruby/runtime/builtin/IRubyObject;)V
4: aload 0
invokevirtual org.jruby.runtime.marshal.UnmarshalStream.unmarshalObject:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
start local 4 5: aload 2
aload 3
aload 4
invokevirtual org.jruby.RubyClass.smartLoadNewUser:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)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 6 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
1 6 1 className Ljava/lang/String;
2 6 2 classInstance Lorg/jruby/RubyClass;
3 6 3 result Lorg/jruby/runtime/builtin/IRubyObject;
5 6 4 marshaled Lorg/jruby/runtime/builtin/IRubyObject;
Exceptions:
throws java.io.IOException
private org.jruby.RubyClass findClass(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/RubyClass;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.runtime:Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.runtime.marshal.UnmarshalStream.getClassFromPath:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyClass;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
0 1 1 className Ljava/lang/String;
MethodParameters:
Name Flags
className
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.marshal.UnmarshalStream.inputStream:Ljava/io/InputStream;
invokevirtual java.io.InputStream.read:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
Exceptions:
throws java.io.IOException
public void <init>(org.jruby.Ruby, java.io.InputStream, org.jruby.runtime.builtin.IRubyObject, boolean, boolean);
descriptor: (Lorg/jruby/Ruby;Ljava/io/InputStream;Lorg/jruby/runtime/builtin/IRubyObject;ZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
iload 4
invokespecial org.jruby.runtime.marshal.UnmarshalStream.<init>:(Lorg/jruby/Ruby;Ljava/io/InputStream;Lorg/jruby/runtime/builtin/IRubyObject;Z)V
1: return
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 2 0 this Lorg/jruby/runtime/marshal/UnmarshalStream;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 in Ljava/io/InputStream;
0 2 3 proc Lorg/jruby/runtime/builtin/IRubyObject;
0 2 4 taint Z
0 2 5 untrust Z
Exceptions:
throws java.io.IOException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
in
proc
taint
untrust
}
SourceFile: "UnmarshalStream.java"
NestMembers:
org.jruby.runtime.marshal.UnmarshalStream$MarshalState
InnerClasses:
public final Entry = org.jcodings.EncodingDB$Entry of org.jcodings.EncodingDB
public MarshalState = org.jruby.runtime.marshal.UnmarshalStream$MarshalState of org.jruby.runtime.marshal.UnmarshalStream