public class javax.sql.rowset.serial.SerialClob implements java.sql.Clob, 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.SerialClob
super_class: java.lang.Object
{
private char[] buf;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private java.sql.Clob clob;
descriptor: Ljava/sql/Clob;
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: -1662519690087375313
public void <init>(char[]);
descriptor: ([C)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.SerialClob.len:J
2: aload 0
aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
l2i
newarray 5
putfield javax.sql.rowset.serial.SerialClob.buf:[C
3: iconst_0
istore 2
start local 2 4: goto 7
5: StackMap locals: javax.sql.rowset.serial.SerialClob char[] int
StackMap stack:
aload 0
getfield javax.sql.rowset.serial.SerialClob.buf:[C
iload 2
aload 1
iload 2
caload
castore
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
i2l
aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
lcmp
iflt 5
end local 2 8: aload 0
aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
putfield javax.sql.rowset.serial.SerialClob.origLen:J
9: aload 0
aconst_null
putfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/sql/rowset/serial/SerialClob;
0 11 1 ch [C
4 8 2 i I
Exceptions:
throws javax.sql.rowset.serial.SerialException, java.sql.SQLException
MethodParameters:
Name Flags
ch
public void <init>(java.sql.Clob);
descriptor: (Ljava/sql/Clob;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.sql.SQLException
dup
ldc "Cannot instantiate a SerialClob object with a null Clob object"
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.sql.rowset.serial.SerialClob java.sql.Clob
StackMap stack:
aload 0
aload 1
invokeinterface java.sql.Clob.length:()J
putfield javax.sql.rowset.serial.SerialClob.len:J
4: aload 0
aload 1
putfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
5: aload 0
aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
l2i
newarray 5
putfield javax.sql.rowset.serial.SerialClob.buf:[C
6: iconst_0
istore 2
start local 2 7: iconst_0
istore 3
start local 3 8: aconst_null
astore 4
aconst_null
astore 5
9: aload 1
invokeinterface java.sql.Clob.getCharacterStream:()Ljava/io/Reader;
astore 6
start local 6 10: aload 6
ifnonnull 12
11: new java.sql.SQLException
dup
ldc "Invalid Clob object. The call to getCharacterStream returned null which cannot be serialized."
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: javax.sql.rowset.serial.SerialClob java.sql.Clob int int java.lang.Throwable java.lang.Throwable java.io.Reader
StackMap stack:
aconst_null
astore 7
aconst_null
astore 8
13: aload 1
invokeinterface java.sql.Clob.getAsciiStream:()Ljava/io/InputStream;
astore 9
start local 9 14: aload 9
ifnonnull 16
15: new java.sql.SQLException
dup
ldc "Invalid Clob object. The call to getAsciiStream returned null which cannot be serialized."
invokespecial java.sql.SQLException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals: java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack:
aload 9
ifnull 22
aload 9
invokevirtual java.io.InputStream.close:()V
goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 7
aload 9
ifnull 18
aload 9
invokevirtual java.io.InputStream.close:()V
end local 9 StackMap locals:
StackMap stack:
18: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 8
aload 7
ifnonnull 20
aload 8
astore 7
goto 21
StackMap locals:
StackMap stack:
20: aload 7
aload 8
if_acmpeq 21
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 7
athrow
22: StackMap locals:
StackMap stack:
aconst_null
astore 7
aconst_null
astore 8
23: new java.io.BufferedReader
dup
aload 6
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 9
start local 9 24: StackMap locals: java.lang.Throwable java.lang.Throwable java.io.Reader
StackMap stack:
aload 9
aload 0
getfield javax.sql.rowset.serial.SerialClob.buf:[C
iload 3
aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
iload 3
i2l
lsub
l2i
invokevirtual java.io.Reader.read:([CII)I
istore 2
25: iload 3
iload 2
iadd
istore 3
26: iload 2
27: ifgt 24
28: aload 9
ifnull 34
aload 9
invokevirtual java.io.Reader.close:()V
goto 34
StackMap locals:
StackMap stack: java.lang.Throwable
29: astore 7
aload 9
ifnull 30
aload 9
invokevirtual java.io.Reader.close:()V
end local 9 StackMap locals:
StackMap stack:
30: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
31: astore 8
aload 7
ifnonnull 32
aload 8
astore 7
goto 33
StackMap locals:
StackMap stack:
32: aload 7
aload 8
if_acmpeq 33
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
33: aload 7
athrow
34: StackMap locals:
StackMap stack:
aload 6
ifnull 42
aload 6
invokevirtual java.io.Reader.close:()V
goto 42
StackMap locals:
StackMap stack: java.lang.Throwable
35: astore 4
aload 6
ifnull 36
aload 6
invokevirtual java.io.Reader.close:()V
end local 6 StackMap locals:
StackMap stack:
36: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
37: astore 5
aload 4
ifnonnull 38
aload 5
astore 4
goto 39
StackMap locals:
StackMap stack:
38: aload 4
aload 5
if_acmpeq 39
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
39: aload 4
athrow
StackMap locals: javax.sql.rowset.serial.SerialClob java.sql.Clob int int
StackMap stack: java.io.IOException
40: astore 4
start local 4 41: new javax.sql.rowset.serial.SerialException
dup
new java.lang.StringBuilder
dup
ldc "SerialClob: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
end local 4 42: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
putfield javax.sql.rowset.serial.SerialClob.origLen:J
43: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Ljavax/sql/rowset/serial/SerialClob;
0 44 1 clob Ljava/sql/Clob;
7 44 2 read I
8 44 3 offset I
10 36 6 charStream Ljava/io/Reader;
14 18 9 asciiStream Ljava/io/InputStream;
24 30 9 reader Ljava/io/Reader;
41 42 4 ex Ljava/io/IOException;
Exception table:
from to target type
14 16 17 any
13 19 19 any
24 28 29 any
23 31 31 any
10 34 35 any
9 37 37 any
8 40 40 Class java.io.IOException
Exceptions:
throws javax.sql.rowset.serial.SerialException, java.sql.SQLException
MethodParameters:
Name Flags
clob
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.SerialClob.isValid:()V
1: aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/sql/rowset/serial/SerialClob;
Exceptions:
throws javax.sql.rowset.serial.SerialException
public java.io.Reader getCharacterStream();
descriptor: ()Ljava/io/Reader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.sql.rowset.serial.SerialClob.isValid:()V
1: new java.io.CharArrayReader
dup
aload 0
getfield javax.sql.rowset.serial.SerialClob.buf:[C
invokespecial java.io.CharArrayReader.<init>:([C)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/sql/rowset/serial/SerialClob;
Exceptions:
throws javax.sql.rowset.serial.SerialException
public java.io.InputStream getAsciiStream();
descriptor: ()Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.sql.rowset.serial.SerialClob.isValid:()V
1: aload 0
getfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
ifnull 3
2: aload 0
getfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
invokeinterface java.sql.Clob.getAsciiStream:()Ljava/io/InputStream;
areturn
3: StackMap locals:
StackMap stack:
new javax.sql.rowset.serial.SerialException
dup
ldc "Unsupported operation. SerialClob cannot return a the CLOB value as an ascii stream, unless instantiated with a fully implemented Clob object."
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/sql/rowset/serial/SerialClob;
Exceptions:
throws javax.sql.rowset.serial.SerialException, java.sql.SQLException
public java.lang.String getSubString(long, int);
descriptor: (JI)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokevirtual javax.sql.rowset.serial.SerialClob.isValid:()V
1: lload 1
lconst_1
lcmp
iflt 2
lload 1
aload 0
invokevirtual javax.sql.rowset.serial.SerialClob.length:()J
lcmp
ifle 3
2: StackMap locals:
StackMap stack:
new javax.sql.rowset.serial.SerialException
dup
ldc "Invalid position in SerialClob object set"
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
lload 1
lconst_1
lsub
iload 3
i2l
ladd
aload 0
invokevirtual javax.sql.rowset.serial.SerialClob.length:()J
lcmp
ifle 5
4: new javax.sql.rowset.serial.SerialException
dup
ldc "Invalid position and substring length"
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
new java.lang.String
dup
aload 0
getfield javax.sql.rowset.serial.SerialClob.buf:[C
lload 1
l2i
iconst_1
isub
iload 3
invokespecial java.lang.String.<init>:([CII)V
6: areturn
7: StackMap locals:
StackMap stack: java.lang.StringIndexOutOfBoundsException
astore 4
start local 4 8: new javax.sql.rowset.serial.SerialException
dup
new java.lang.StringBuilder
dup
ldc "StringIndexOutOfBoundsException: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: aload 4
invokevirtual java.lang.StringIndexOutOfBoundsException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/sql/rowset/serial/SerialClob;
0 11 1 pos J
0 11 3 length I
8 11 4 e Ljava/lang/StringIndexOutOfBoundsException;
Exception table:
from to target type
5 6 7 Class java.lang.StringIndexOutOfBoundsException
Exceptions:
throws javax.sql.rowset.serial.SerialException
MethodParameters:
Name Flags
pos
length
public long position(java.lang.String, long);
descriptor: (Ljava/lang/String;J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.sql.rowset.serial.SerialClob.isValid:()V
1: lload 2
lconst_1
lcmp
iflt 2
lload 2
aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
lcmp
ifle 3
2: StackMap locals:
StackMap stack:
ldc -1
lreturn
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.toCharArray:()[C
astore 4
start local 4 4: lload 2
l2i
iconst_1
isub
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: aload 4
arraylength
i2l
lstore 7
start local 7 7: goto 15
8: StackMap locals: javax.sql.rowset.serial.SerialClob java.lang.String long char[] int int long
StackMap stack:
aload 4
iload 6
caload
aload 0
getfield javax.sql.rowset.serial.SerialClob.buf:[C
iload 5
caload
if_icmpne 13
9: iload 6
iconst_1
iadd
i2l
lload 7
lcmp
ifne 11
10: iload 5
iconst_1
iadd
i2l
lload 7
lconst_1
lsub
lsub
lreturn
11: StackMap locals:
StackMap stack:
iinc 6 1
iinc 5 1
12: goto 15
StackMap locals:
StackMap stack:
13: aload 4
iload 6
caload
aload 0
getfield javax.sql.rowset.serial.SerialClob.buf:[C
iload 5
caload
if_icmpeq 15
14: iinc 5 1
15: StackMap locals:
StackMap stack:
iload 5
i2l
aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
lcmp
iflt 8
16: ldc -1
lreturn
end local 7 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 17 0 this Ljavax/sql/rowset/serial/SerialClob;
0 17 1 searchStr Ljava/lang/String;
0 17 2 start J
4 17 4 pattern [C
5 17 5 pos I
6 17 6 i I
7 17 7 patlen J
Exceptions:
throws javax.sql.rowset.serial.SerialException, java.sql.SQLException
MethodParameters:
Name Flags
searchStr
start
public long position(java.sql.Clob, long);
descriptor: (Ljava/sql/Clob;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.SerialClob.isValid:()V
1: aload 0
aload 1
lconst_1
aload 1
invokeinterface java.sql.Clob.length:()J
l2i
invokeinterface java.sql.Clob.getSubString:(JI)Ljava/lang/String;
lload 2
invokevirtual javax.sql.rowset.serial.SerialClob.position:(Ljava/lang/String;J)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/SerialClob;
0 2 1 searchStr Ljava/sql/Clob;
0 2 2 start J
Exceptions:
throws javax.sql.rowset.serial.SerialException, java.sql.SQLException
MethodParameters:
Name Flags
searchStr
start
public int setString(long, java.lang.String);
descriptor: (JLjava/lang/String;)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
invokevirtual java.lang.String.length:()I
invokevirtual javax.sql.rowset.serial.SerialClob.setString:(JLjava/lang/String;II)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/SerialClob;
0 1 1 pos J
0 1 3 str Ljava/lang/String;
Exceptions:
throws javax.sql.rowset.serial.SerialException
MethodParameters:
Name Flags
pos
str
public int setString(long, java.lang.String, int, int);
descriptor: (JLjava/lang/String;II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, 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.SerialClob.isValid:()V
1: aload 3
iload 4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
start local 6 2: aload 6
invokevirtual java.lang.String.toCharArray:()[C
astore 7
start local 7 3: iload 4
iflt 4
iload 4
aload 3
invokevirtual java.lang.String.length:()I
if_icmple 5
4: StackMap locals: java.lang.String char[]
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
5: StackMap locals:
StackMap stack:
lload 1
lconst_1
lcmp
iflt 6
lload 1
aload 0
invokevirtual javax.sql.rowset.serial.SerialClob.length:()J
lcmp
ifle 7
6: StackMap locals:
StackMap stack:
new javax.sql.rowset.serial.SerialException
dup
ldc "Invalid position in Clob object set"
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
iload 5
i2l
aload 0
getfield javax.sql.rowset.serial.SerialClob.origLen:J
lcmp
ifle 9
8: 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
9: StackMap locals:
StackMap stack:
iload 5
iload 4
iadd
aload 3
invokevirtual java.lang.String.length:()I
if_icmple 11
10: 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
11: StackMap locals:
StackMap stack:
iconst_0
istore 8
start local 8 12: lload 1
lconst_1
lsub
lstore 1
13: goto 16
14: StackMap locals: int
StackMap stack:
aload 0
getfield javax.sql.rowset.serial.SerialClob.buf:[C
lload 1
l2i
iload 8
iadd
aload 7
iload 4
iload 8
iadd
caload
castore
15: iinc 8 1
16: StackMap locals:
StackMap stack:
iload 8
iload 5
if_icmplt 14
iload 4
iload 8
iadd
iconst_1
iadd
aload 3
invokevirtual java.lang.String.length:()I
iload 4
isub
if_icmplt 14
17: iload 8
ireturn
end local 8 end local 7 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 18 0 this Ljavax/sql/rowset/serial/SerialClob;
0 18 1 pos J
0 18 3 str Ljava/lang/String;
0 18 4 offset I
0 18 5 length I
2 18 6 temp Ljava/lang/String;
3 18 7 cPattern [C
12 18 8 i I
Exceptions:
throws javax.sql.rowset.serial.SerialException
MethodParameters:
Name Flags
pos
str
offset
length
public java.io.OutputStream setAsciiStream(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.SerialClob.isValid:()V
1: aload 0
getfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
ifnull 3
2: aload 0
getfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
lload 1
invokeinterface java.sql.Clob.setAsciiStream:(J)Ljava/io/OutputStream;
areturn
3: StackMap locals:
StackMap stack:
new javax.sql.rowset.serial.SerialException
dup
ldc "Unsupported operation. SerialClob cannot return a writable ascii stream\n unless instantiated with a Clob object that has a setAsciiStream() 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/SerialClob;
0 4 1 pos J
Exceptions:
throws javax.sql.rowset.serial.SerialException, java.sql.SQLException
MethodParameters:
Name Flags
pos
public java.io.Writer setCharacterStream(long);
descriptor: (J)Ljava/io/Writer;
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.SerialClob.isValid:()V
1: aload 0
getfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
ifnull 3
2: aload 0
getfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
lload 1
invokeinterface java.sql.Clob.setCharacterStream:(J)Ljava/io/Writer;
areturn
3: StackMap locals:
StackMap stack:
new javax.sql.rowset.serial.SerialException
dup
ldc "Unsupported operation. SerialClob cannot return a writable character stream\n unless instantiated with a Clob object that has a setCharacterStream 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/SerialClob;
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.SerialClob.isValid:()V
1: lload 1
aload 0
getfield javax.sql.rowset.serial.SerialClob.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:
aload 0
lload 1
putfield javax.sql.rowset.serial.SerialClob.len:J
6: aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
lconst_0
lcmp
ifne 9
7: aload 0
iconst_0
newarray 5
putfield javax.sql.rowset.serial.SerialClob.buf:[C
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
aload 0
lconst_1
aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
l2i
invokevirtual javax.sql.rowset.serial.SerialClob.getSubString:(JI)Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
putfield javax.sql.rowset.serial.SerialClob.buf:[C
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/sql/rowset/serial/SerialClob;
0 11 1 length J
Exceptions:
throws javax.sql.rowset.serial.SerialException
MethodParameters:
Name Flags
length
public java.io.Reader getCharacterStream(long, long);
descriptor: (JJ)Ljava/io/Reader;
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.SerialClob.isValid:()V
1: lload 1
lconst_1
lcmp
iflt 2
lload 1
aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
lcmp
ifle 3
2: StackMap locals:
StackMap stack:
new javax.sql.rowset.serial.SerialException
dup
ldc "Invalid position in Clob object set"
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
lload 1
lconst_1
lsub
lload 3
ladd
aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
lcmp
ifle 5
4: new javax.sql.rowset.serial.SerialException
dup
ldc "Invalid position and substring length"
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
lload 3
lconst_0
lcmp
ifgt 7
6: new javax.sql.rowset.serial.SerialException
dup
ldc "Invalid length specified"
invokespecial javax.sql.rowset.serial.SerialException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
new java.io.CharArrayReader
dup
aload 0
getfield javax.sql.rowset.serial.SerialClob.buf:[C
lload 1
l2i
lload 3
l2i
invokespecial java.io.CharArrayReader.<init>:([CII)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/SerialClob;
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.SerialClob.buf:[C
ifnull 5
1: aload 0
aconst_null
putfield javax.sql.rowset.serial.SerialClob.buf:[C
2: aload 0
getfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
ifnull 4
3: aload 0
getfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
invokeinterface java.sql.Clob.free:()V
4: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/sql/rowset/serial/SerialClob;
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.SerialClob
ifeq 6
3: aload 1
checkcast javax.sql.rowset.serial.SerialClob
astore 2
start local 2 4: aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
aload 2
getfield javax.sql.rowset.serial.SerialClob.len:J
lcmp
ifne 6
5: aload 0
getfield javax.sql.rowset.serial.SerialClob.buf:[C
aload 2
getfield javax.sql.rowset.serial.SerialClob.buf:[C
invokestatic java.util.Arrays.equals:([C[C)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/SerialClob;
0 7 1 obj Ljava/lang/Object;
4 6 2 sc Ljavax/sql/rowset/serial/SerialClob;
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.SerialClob.buf:[C
invokestatic java.util.Arrays.hashCode:([C)I
iadd
bipush 31
imul
aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
l2i
iadd
bipush 31
imul
aload 0
getfield javax.sql.rowset.serial.SerialClob.origLen:J
l2i
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sql/rowset/serial/SerialClob;
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.SerialClob
astore 1
start local 1 1: aload 1
aload 0
getfield javax.sql.rowset.serial.SerialClob.buf:[C
ifnull 2
aload 0
getfield javax.sql.rowset.serial.SerialClob.buf:[C
aload 0
getfield javax.sql.rowset.serial.SerialClob.len:J
l2i
invokestatic java.util.Arrays.copyOf:([CI)[C
goto 3
StackMap locals: javax.sql.rowset.serial.SerialClob javax.sql.rowset.serial.SerialClob
StackMap stack: javax.sql.rowset.serial.SerialClob
2: aconst_null
StackMap locals: javax.sql.rowset.serial.SerialClob javax.sql.rowset.serial.SerialClob
StackMap stack: javax.sql.rowset.serial.SerialClob char[]
3: putfield javax.sql.rowset.serial.SerialClob.buf:[C
4: aload 1
aconst_null
putfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
5: aload 1
6: areturn
end local 1 7: StackMap locals: javax.sql.rowset.serial.SerialClob
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/SerialClob;
1 7 1 sc Ljavax/sql/rowset/serial/SerialClob;
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 char[]
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 char[]
StackMap stack:
aload 0
aload 3
invokevirtual char[].clone:()Ljava/lang/Object;
checkcast char[]
putfield javax.sql.rowset.serial.SerialClob.buf:[C
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.SerialClob.len:J
6: aload 0
getfield javax.sql.rowset.serial.SerialClob.buf:[C
arraylength
i2l
aload 0
getfield javax.sql.rowset.serial.SerialClob.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.SerialClob.origLen:J
9: aload 0
aload 2
ldc "clob"
aconst_null
invokevirtual java.io.ObjectInputStream$GetField.get:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.sql.Clob
putfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
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/SerialClob;
0 11 1 s Ljava/io/ObjectInputStream;
1 11 2 fields Ljava/io/ObjectInputStream$GetField;
2 11 3 tmp [C
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.SerialClob.buf:[C
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.SerialClob.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.SerialClob.origLen:J
invokevirtual java.io.ObjectOutputStream$PutField.put:(Ljava/lang/String;J)V
4: aload 2
ldc "clob"
aload 0
getfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
instanceof java.io.Serializable
ifeq 5
aload 0
getfield javax.sql.rowset.serial.SerialClob.clob:Ljava/sql/Clob;
goto 6
StackMap locals: javax.sql.rowset.serial.SerialClob 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.SerialClob java.io.ObjectOutputStream java.io.ObjectOutputStream$PutField
StackMap stack: java.io.ObjectOutputStream$PutField java.lang.String java.sql.Clob
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/SerialClob;
0 9 1 s Ljava/io/ObjectOutputStream;
1 9 2 fields Ljava/io/ObjectOutputStream$PutField;
Exceptions:
throws java.io.IOException
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.SerialClob.buf:[C
ifnonnull 2
1: new javax.sql.rowset.serial.SerialException
dup
ldc "Error: You cannot call a method on a SerialClob 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/SerialClob;
Exceptions:
throws javax.sql.rowset.serial.SerialException
}
SourceFile: "SerialClob.java"
InnerClasses:
public abstract GetField = java.io.ObjectInputStream$GetField of java.io.ObjectInputStream
public abstract PutField = java.io.ObjectOutputStream$PutField of java.io.ObjectOutputStream