public class javax.sql.rowset.serial.SerialBlob implements java.sql.Blob, java.io.Serializable, java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.sql.rowset.serial.SerialBlob
super_class: java.lang.Object
{
private byte[] buf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private java.sql.Blob blob;
descriptor: Ljava/sql/Blob;
flags: (0x0002) ACC_PRIVATE
private long len;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long origLen;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -8144641928112860441
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
arraylength
i2l
putfield javax.sql.rowset.serial.SerialBlob.len:J
2: aload 0
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
l2i
newarray 8
putfield javax.sql.rowset.serial.SerialBlob.buf:[B
3: iconst_0
istore 2
start local 2 4: goto 7
5: StackMap locals: javax.sql.rowset.serial.SerialBlob byte[] int
StackMap stack:
aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
iload 2
aload 1
iload 2
baload
bastore
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
i2l
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
lcmp
iflt 5
end local 2 8: aload 0
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
putfield javax.sql.rowset.serial.SerialBlob.origLen:J
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/sql/rowset/serial/SerialBlob;
0 10 1 b [B
4 8 2 i I
Exceptions:
throws javax.sql.rowset.serial.SerialException, java.sql.SQLException
MethodParameters:
Name Flags
b
public void <init>(java.sql.Blob);
descriptor: (Ljava/sql/Blob;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 5
2: new java.sql.SQLException
dup
3: ldc "Cannot instantiate a SerialBlob object with a null Blob object"
4: invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: javax.sql.rowset.serial.SerialBlob java.sql.Blob
StackMap stack:
aload 0
aload 1
invokeinterface java.sql.Blob.length:()J
putfield javax.sql.rowset.serial.SerialBlob.len:J
6: aload 0
aload 1
lconst_1
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
l2i
invokeinterface java.sql.Blob.getBytes:(JI)[B
putfield javax.sql.rowset.serial.SerialBlob.buf:[B
7: aload 0
aload 1
putfield javax.sql.rowset.serial.SerialBlob.blob:Ljava/sql/Blob;
8: aload 0
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
putfield javax.sql.rowset.serial.SerialBlob.origLen:J
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/sql/rowset/serial/SerialBlob;
0 10 1 blob Ljava/sql/Blob;
Exceptions:
throws javax.sql.rowset.serial.SerialException, java.sql.SQLException
MethodParameters:
Name Flags
blob
public byte[] getBytes(long, int);
descriptor: (JI)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokevirtual javax.sql.rowset.serial.SerialBlob.isValid:()V
1: iload 3
i2l
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
lcmp
ifle 3
2: aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
l2i
istore 3
3: StackMap locals:
StackMap stack:
lload 1
lconst_1
lcmp
iflt 4
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
lload 1
lsub
lconst_0
lcmp
ifge 5
4: StackMap locals:
StackMap stack:
new javax.sql.rowset.serial.SerialException
dup
ldc "Invalid arguments: position cannot be less than 1 or greater than the length of the SerialBlob"
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
lload 1
lconst_1
lsub
lstore 1
6: iload 3
newarray 8
astore 4
start local 4 7: iconst_0
istore 5
start local 5 8: goto 12
9: StackMap locals: byte[] int
StackMap stack:
aload 4
iload 5
aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
lload 1
l2i
baload
bastore
10: lload 1
lconst_1
ladd
lstore 1
11: iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
iload 3
if_icmplt 9
end local 5 13: aload 4
areturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/sql/rowset/serial/SerialBlob;
0 14 1 pos J
0 14 3 length I
7 14 4 b [B
8 13 5 i I
Exceptions:
throws javax.sql.rowset.serial.SerialException
MethodParameters:
Name Flags
pos
length
public long length();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.sql.rowset.serial.SerialBlob.isValid:()V
1: aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/sql/rowset/serial/SerialBlob;
Exceptions:
throws javax.sql.rowset.serial.SerialException
public java.io.InputStream getBinaryStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual javax.sql.rowset.serial.SerialBlob.isValid:()V
1: new java.io.ByteArrayInputStream
dup
aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 1
start local 1 2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/sql/rowset/serial/SerialBlob;
2 3 1 stream Ljava/io/InputStream;
Exceptions:
throws javax.sql.rowset.serial.SerialException
public long position(byte[], long);
descriptor: ([BJ)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.sql.rowset.serial.SerialBlob.isValid:()V
1: lload 2
lconst_1
lcmp
iflt 2
lload 2
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
lcmp
ifle 3
2: StackMap locals:
StackMap stack:
ldc -1
lreturn
3: StackMap locals:
StackMap stack:
lload 2
l2i
iconst_1
isub
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: aload 1
arraylength
i2l
lstore 6
start local 6 6: goto 14
7: StackMap locals: int int long
StackMap stack:
aload 1
iload 5
baload
aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
iload 4
baload
if_icmpne 12
8: iload 5
iconst_1
iadd
i2l
lload 6
lcmp
ifne 10
9: iload 4
iconst_1
iadd
i2l
lload 6
lconst_1
lsub
lsub
lreturn
10: StackMap locals:
StackMap stack:
iinc 5 1
iinc 4 1
11: goto 14
StackMap locals:
StackMap stack:
12: aload 1
iload 5
baload
aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
iload 4
baload
if_icmpeq 14
13: iinc 4 1
14: StackMap locals:
StackMap stack:
iload 4
i2l
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
lcmp
iflt 7
15: ldc -1
lreturn
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/sql/rowset/serial/SerialBlob;
0 16 1 pattern [B
0 16 2 start J
4 16 4 pos I
5 16 5 i I
6 16 6 patlen J
Exceptions:
throws javax.sql.rowset.serial.SerialException, java.sql.SQLException
MethodParameters:
Name Flags
pattern
start
public long position(java.sql.Blob, long);
descriptor: (Ljava/sql/Blob;J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.sql.rowset.serial.SerialBlob.isValid:()V
1: aload 0
aload 1
lconst_1
aload 1
invokeinterface java.sql.Blob.length:()J
l2i
invokeinterface java.sql.Blob.getBytes:(JI)[B
lload 2
invokevirtual javax.sql.rowset.serial.SerialBlob.position:([BJ)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/sql/rowset/serial/SerialBlob;
0 2 1 pattern Ljava/sql/Blob;
0 2 2 start J
Exceptions:
throws javax.sql.rowset.serial.SerialException, java.sql.SQLException
MethodParameters:
Name Flags
pattern
start
public int setBytes(long, byte[]);
descriptor: (J[B)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
aload 3
iconst_0
aload 3
arraylength
invokevirtual javax.sql.rowset.serial.SerialBlob.setBytes:(J[BII)I
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sql/rowset/serial/SerialBlob;
0 1 1 pos J
0 1 3 bytes [B
Exceptions:
throws javax.sql.rowset.serial.SerialException, java.sql.SQLException
MethodParameters:
Name Flags
pos
bytes
public int setBytes(long, byte[], int, int);
descriptor: (J[BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 3 start local 4 start local 5 0: aload 0
invokevirtual javax.sql.rowset.serial.SerialBlob.isValid:()V
1: iload 4
iflt 2
iload 4
aload 3
arraylength
if_icmple 3
2: StackMap locals:
StackMap stack:
new javax.sql.rowset.serial.SerialException
dup
ldc "Invalid offset in byte array set"
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
lload 1
lconst_1
lcmp
iflt 4
lload 1
aload 0
invokevirtual javax.sql.rowset.serial.SerialBlob.length:()J
lcmp
ifle 5
4: StackMap locals:
StackMap stack:
new javax.sql.rowset.serial.SerialException
dup
ldc "Invalid position in BLOB object set"
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
iload 5
i2l
aload 0
getfield javax.sql.rowset.serial.SerialBlob.origLen:J
lcmp
ifle 7
6: new javax.sql.rowset.serial.SerialException
dup
ldc "Buffer is not sufficient to hold the value"
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
iload 5
iload 4
iadd
aload 3
arraylength
if_icmple 9
8: new javax.sql.rowset.serial.SerialException
dup
ldc "Invalid OffSet. Cannot have combined offset and length that is greater that the Blob buffer"
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 10: lload 1
lconst_1
lsub
lstore 1
11: goto 14
12: StackMap locals: int
StackMap stack:
aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
lload 1
l2i
iload 6
iadd
aload 3
iload 4
iload 6
iadd
baload
bastore
13: iinc 6 1
14: StackMap locals:
StackMap stack:
iload 6
iload 5
if_icmplt 12
iload 4
iload 6
iadd
iconst_1
iadd
aload 3
arraylength
iload 4
isub
if_icmplt 12
15: iload 6
ireturn
end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljavax/sql/rowset/serial/SerialBlob;
0 16 1 pos J
0 16 3 bytes [B
0 16 4 offset I
0 16 5 length I
10 16 6 i I
Exceptions:
throws javax.sql.rowset.serial.SerialException, java.sql.SQLException
MethodParameters:
Name Flags
pos
bytes
offset
length
public java.io.OutputStream setBinaryStream(long);
descriptor: (J)Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.sql.rowset.serial.SerialBlob.isValid:()V
1: aload 0
getfield javax.sql.rowset.serial.SerialBlob.blob:Ljava/sql/Blob;
ifnull 3
2: aload 0
getfield javax.sql.rowset.serial.SerialBlob.blob:Ljava/sql/Blob;
lload 1
invokeinterface java.sql.Blob.setBinaryStream:(J)Ljava/io/OutputStream;
areturn
3: StackMap locals:
StackMap stack:
new javax.sql.rowset.serial.SerialException
dup
ldc "Unsupported operation. SerialBlob cannot return a writable binary stream, unless instantiated with a Blob object that provides a setBinaryStream() implementation"
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/sql/rowset/serial/SerialBlob;
0 4 1 pos J
Exceptions:
throws javax.sql.rowset.serial.SerialException, java.sql.SQLException
MethodParameters:
Name Flags
pos
public void truncate(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.sql.rowset.serial.SerialBlob.isValid:()V
1: lload 1
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
lcmp
ifle 5
2: new javax.sql.rowset.serial.SerialException
dup
3: ldc "Length more than what can be truncated"
4: invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
lload 1
l2i
ifne 9
6: aload 0
iconst_0
newarray 8
putfield javax.sql.rowset.serial.SerialBlob.buf:[B
7: aload 0
lload 1
putfield javax.sql.rowset.serial.SerialBlob.len:J
8: goto 11
9: StackMap locals:
StackMap stack:
aload 0
lload 1
putfield javax.sql.rowset.serial.SerialBlob.len:J
10: aload 0
aload 0
lconst_1
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
l2i
invokevirtual javax.sql.rowset.serial.SerialBlob.getBytes:(JI)[B
putfield javax.sql.rowset.serial.SerialBlob.buf:[B
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/sql/rowset/serial/SerialBlob;
0 12 1 length J
Exceptions:
throws javax.sql.rowset.serial.SerialException
MethodParameters:
Name Flags
length
public java.io.InputStream getBinaryStream(long, long);
descriptor: (JJ)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokevirtual javax.sql.rowset.serial.SerialBlob.isValid:()V
1: lload 1
lconst_1
lcmp
iflt 2
lload 1
aload 0
invokevirtual javax.sql.rowset.serial.SerialBlob.length:()J
lcmp
ifle 3
2: StackMap locals:
StackMap stack:
new javax.sql.rowset.serial.SerialException
dup
ldc "Invalid position in BLOB object set"
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
lload 3
lconst_1
lcmp
iflt 4
lload 3
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
lload 1
lsub
lconst_1
ladd
lcmp
ifle 7
4: StackMap locals:
StackMap stack:
new javax.sql.rowset.serial.SerialException
dup
5: ldc "length is < 1 or pos + length > total number of bytes"
6: invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
new java.io.ByteArrayInputStream
dup
aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
lload 1
l2i
iconst_1
isub
lload 3
l2i
invokespecial java.io.ByteArrayInputStream.<init>:([BII)V
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/sql/rowset/serial/SerialBlob;
0 8 1 pos J
0 8 3 length J
Exceptions:
throws java.sql.SQLException
MethodParameters:
Name Flags
pos
length
public void free();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
ifnull 5
1: aload 0
aconst_null
putfield javax.sql.rowset.serial.SerialBlob.buf:[B
2: aload 0
getfield javax.sql.rowset.serial.SerialBlob.blob:Ljava/sql/Blob;
ifnull 4
3: aload 0
getfield javax.sql.rowset.serial.SerialBlob.blob:Ljava/sql/Blob;
invokeinterface java.sql.Blob.free:()V
4: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield javax.sql.rowset.serial.SerialBlob.blob:Ljava/sql/Blob;
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/sql/rowset/serial/SerialBlob;
Exceptions:
throws java.sql.SQLException
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof javax.sql.rowset.serial.SerialBlob
ifeq 6
3: aload 1
checkcast javax.sql.rowset.serial.SerialBlob
astore 2
start local 2 4: aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
aload 2
getfield javax.sql.rowset.serial.SerialBlob.len:J
lcmp
ifne 6
5: aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
aload 2
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
invokestatic java.util.Arrays.equals:([B[B)Z
ireturn
end local 2 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/sql/rowset/serial/SerialBlob;
0 7 1 obj Ljava/lang/Object;
4 6 2 sb Ljavax/sql/rowset/serial/SerialBlob;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: bipush 31
aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
invokestatic java.util.Arrays.hashCode:([B)I
iadd
bipush 31
imul
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
l2i
iadd
bipush 31
imul
aload 0
getfield javax.sql.rowset.serial.SerialBlob.origLen:J
l2i
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sql/rowset/serial/SerialBlob;
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
checkcast javax.sql.rowset.serial.SerialBlob
astore 1
start local 1 1: aload 1
aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
ifnull 2
aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
l2i
invokestatic java.util.Arrays.copyOf:([BI)[B
goto 3
StackMap locals: javax.sql.rowset.serial.SerialBlob javax.sql.rowset.serial.SerialBlob
StackMap stack: javax.sql.rowset.serial.SerialBlob
2: aconst_null
StackMap locals: javax.sql.rowset.serial.SerialBlob javax.sql.rowset.serial.SerialBlob
StackMap stack: javax.sql.rowset.serial.SerialBlob byte[]
3: putfield javax.sql.rowset.serial.SerialBlob.buf:[B
4: aload 1
aconst_null
putfield javax.sql.rowset.serial.SerialBlob.blob:Ljava/sql/Blob;
5: aload 1
6: areturn
end local 1 7: StackMap locals: javax.sql.rowset.serial.SerialBlob
StackMap stack: java.lang.CloneNotSupportedException
pop
8: new java.lang.InternalError
dup
invokespecial java.lang.InternalError.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/sql/rowset/serial/SerialBlob;
1 7 1 sb Ljavax/sql/rowset/serial/SerialBlob;
Exception table:
from to target type
0 6 7 Class java.lang.CloneNotSupportedException
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.readFields:()Ljava/io/ObjectInputStream$GetField;
astore 2
start local 2 1: aload 2
ldc "buf"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast byte[]
astore 3
start local 3 2: aload 3
ifnonnull 4
3: new java.io.InvalidObjectException
dup
ldc "buf is null and should not be!"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.io.ObjectInputStream$GetField byte[]
StackMap stack:
aload 0
aload 3
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield javax.sql.rowset.serial.SerialBlob.buf:[B
5: aload 0
aload 2
ldc "len"
lconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;J)J
putfield javax.sql.rowset.serial.SerialBlob.len:J
6: aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
arraylength
i2l
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
lcmp
ifeq 8
7: new java.io.InvalidObjectException
dup
ldc "buf is not the expected size"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 2
ldc "origLen"
lconst_0
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;J)J
putfield javax.sql.rowset.serial.SerialBlob.origLen:J
9: aload 0
aload 2
ldc "blob"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.sql.Blob
putfield javax.sql.rowset.serial.SerialBlob.blob:Ljava/sql/Blob;
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/sql/rowset/serial/SerialBlob;
0 11 1 s Ljava/io/ObjectInputStream;
1 11 2 fields Ljava/io/ObjectInputStream$GetField;
2 11 3 tmp [B
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.putFields:()Ljava/io/ObjectOutputStream$PutField;
astore 2
start local 2 1: aload 2
ldc "buf"
aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
invokevirtual java.io.ObjectOutputStream$PutField.put:(Ljava/lang/String;Ljava/lang/Object;)V
2: aload 2
ldc "len"
aload 0
getfield javax.sql.rowset.serial.SerialBlob.len:J
invokevirtual java.io.ObjectOutputStream$PutField.put:(Ljava/lang/String;J)V
3: aload 2
ldc "origLen"
aload 0
getfield javax.sql.rowset.serial.SerialBlob.origLen:J
invokevirtual java.io.ObjectOutputStream$PutField.put:(Ljava/lang/String;J)V
4: aload 2
ldc "blob"
aload 0
getfield javax.sql.rowset.serial.SerialBlob.blob:Ljava/sql/Blob;
instanceof java.io.Serializable
ifeq 5
aload 0
getfield javax.sql.rowset.serial.SerialBlob.blob:Ljava/sql/Blob;
goto 6
StackMap locals: javax.sql.rowset.serial.SerialBlob java.io.ObjectOutputStream java.io.ObjectOutputStream$PutField
StackMap stack: java.io.ObjectOutputStream$PutField java.lang.String
5: aconst_null
StackMap locals: javax.sql.rowset.serial.SerialBlob java.io.ObjectOutputStream java.io.ObjectOutputStream$PutField
StackMap stack: java.io.ObjectOutputStream$PutField java.lang.String java.sql.Blob
6: invokevirtual java.io.ObjectOutputStream$PutField.put:(Ljava/lang/String;Ljava/lang/Object;)V
7: aload 1
invokevirtual java.io.ObjectOutputStream.writeFields:()V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/sql/rowset/serial/SerialBlob;
0 9 1 s Ljava/io/ObjectOutputStream;
1 9 2 fields Ljava/io/ObjectOutputStream$PutField;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
private void isValid();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sql.rowset.serial.SerialBlob.buf:[B
ifnonnull 2
1: new javax.sql.rowset.serial.SerialException
dup
ldc "Error: You cannot call a method on a SerialBlob instance once free() has been called."
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/sql/rowset/serial/SerialBlob;
Exceptions:
throws javax.sql.rowset.serial.SerialException
}
SourceFile: "SerialBlob.java"
InnerClasses:
public abstract GetField = java.io.ObjectInputStream$GetField of java.io.ObjectInputStream
public abstract PutField = java.io.ObjectOutputStream$PutField of java.io.ObjectOutputStream