final class com.microsoft.sqlserver.jdbc.PLPXMLInputStream extends com.microsoft.sqlserver.jdbc.PLPInputStream
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.microsoft.sqlserver.jdbc.PLPXMLInputStream
super_class: com.microsoft.sqlserver.jdbc.PLPInputStream
{
private static final byte[] xmlBOM;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.io.ByteArrayInputStream bomStream;
descriptor: Ljava/io/ByteArrayInputStream;
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=4, locals=0, args_size=0
0: ldc Lcom/microsoft/sqlserver/jdbc/PLPXMLInputStream;
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 com.microsoft.sqlserver.jdbc.PLPXMLInputStream.$assertionsDisabled:Z
3: iconst_2
newarray 8
dup
iconst_0
iconst_m1
bastore
dup
iconst_1
bipush -2
bastore
putstatic com.microsoft.sqlserver.jdbc.PLPXMLInputStream.xmlBOM:[B
return
LocalVariableTable:
Start End Slot Name Signature
static final com.microsoft.sqlserver.jdbc.PLPXMLInputStream makeXMLStream(com.microsoft.sqlserver.jdbc.TDSReader, com.microsoft.sqlserver.jdbc.InputStreamGetterArgs, com.microsoft.sqlserver.jdbc.ServerDTVImpl);
descriptor: (Lcom/microsoft/sqlserver/jdbc/TDSReader;Lcom/microsoft/sqlserver/jdbc/InputStreamGetterArgs;Lcom/microsoft/sqlserver/jdbc/ServerDTVImpl;)Lcom/microsoft/sqlserver/jdbc/PLPXMLInputStream;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.microsoft.sqlserver.jdbc.TDSReader.readLong:()J
lstore 3
start local 3 1: ldc -1
lload 3
lcmp
ifne 3
2: aconst_null
areturn
3: StackMap locals: long
StackMap stack:
new com.microsoft.sqlserver.jdbc.PLPXMLInputStream
dup
aload 0
lload 3
aload 1
aload 2
invokespecial com.microsoft.sqlserver.jdbc.PLPXMLInputStream.<init>:(Lcom/microsoft/sqlserver/jdbc/TDSReader;JLcom/microsoft/sqlserver/jdbc/InputStreamGetterArgs;Lcom/microsoft/sqlserver/jdbc/ServerDTVImpl;)V
astore 5
start local 5 4: aload 5
aload 1
getfield com.microsoft.sqlserver.jdbc.InputStreamGetterArgs.logContext:Ljava/lang/String;
invokevirtual com.microsoft.sqlserver.jdbc.PLPXMLInputStream.setLoggingInfo:(Ljava/lang/String;)V
5: aload 5
areturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 tdsReader Lcom/microsoft/sqlserver/jdbc/TDSReader;
0 6 1 getterArgs Lcom/microsoft/sqlserver/jdbc/InputStreamGetterArgs;
0 6 2 dtv Lcom/microsoft/sqlserver/jdbc/ServerDTVImpl;
1 6 3 payloadLength J
4 6 5 is Lcom/microsoft/sqlserver/jdbc/PLPXMLInputStream;
Exceptions:
throws com.microsoft.sqlserver.jdbc.SQLServerException
MethodParameters:
Name Flags
tdsReader
getterArgs
dtv
void <init>(com.microsoft.sqlserver.jdbc.TDSReader, long, com.microsoft.sqlserver.jdbc.InputStreamGetterArgs, com.microsoft.sqlserver.jdbc.ServerDTVImpl);
descriptor: (Lcom/microsoft/sqlserver/jdbc/TDSReader;JLcom/microsoft/sqlserver/jdbc/InputStreamGetterArgs;Lcom/microsoft/sqlserver/jdbc/ServerDTVImpl;)V
flags: (0x0000)
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 4 start local 5 0: aload 0
aload 1
lload 2
aload 4
getfield com.microsoft.sqlserver.jdbc.InputStreamGetterArgs.isAdaptive:Z
aload 4
getfield com.microsoft.sqlserver.jdbc.InputStreamGetterArgs.isStreaming:Z
aload 5
invokespecial com.microsoft.sqlserver.jdbc.PLPInputStream.<init>:(Lcom/microsoft/sqlserver/jdbc/TDSReader;JZZLcom/microsoft/sqlserver/jdbc/ServerDTVImpl;)V
1: aload 0
new java.io.ByteArrayInputStream
dup
getstatic com.microsoft.sqlserver.jdbc.PLPXMLInputStream.xmlBOM:[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
putfield com.microsoft.sqlserver.jdbc.PLPXMLInputStream.bomStream:Ljava/io/ByteArrayInputStream;
2: return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/microsoft/sqlserver/jdbc/PLPXMLInputStream;
0 3 1 tdsReader Lcom/microsoft/sqlserver/jdbc/TDSReader;
0 3 2 statedPayloadLength J
0 3 4 getterArgs Lcom/microsoft/sqlserver/jdbc/InputStreamGetterArgs;
0 3 5 dtv Lcom/microsoft/sqlserver/jdbc/ServerDTVImpl;
Exceptions:
throws com.microsoft.sqlserver.jdbc.SQLServerException
MethodParameters:
Name Flags
tdsReader
statedPayloadLength
getterArgs
dtv
int readBytes(byte[], int, int);
descriptor: ([BII)I
flags: (0x0000)
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.microsoft.sqlserver.jdbc.PLPXMLInputStream.$assertionsDisabled:Z
ifne 1
iload 2
ifge 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic com.microsoft.sqlserver.jdbc.PLPXMLInputStream.$assertionsDisabled:Z
ifne 2
iload 3
ifge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
iload 3
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 5: iconst_0
istore 5
start local 5 6: aload 1
ifnonnull 14
7: goto 9
start local 6 8: StackMap locals: int int int
StackMap stack:
iload 4
iload 6
iadd
istore 4
end local 6 9: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmpge 19
10: aload 0
getfield com.microsoft.sqlserver.jdbc.PLPXMLInputStream.bomStream:Ljava/io/ByteArrayInputStream;
iload 3
i2l
iload 4
i2l
lsub
invokevirtual java.io.ByteArrayInputStream.skip:(J)J
l2i
dup
istore 6
start local 6 11: ifne 8
end local 6 12: goto 19
start local 6 13: StackMap locals: int
StackMap stack:
iload 4
iload 6
iadd
istore 4
end local 6 14: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmpge 19
15: iconst_m1
aload 0
getfield com.microsoft.sqlserver.jdbc.PLPXMLInputStream.bomStream:Ljava/io/ByteArrayInputStream;
aload 1
iload 2
iload 4
iadd
iload 3
iload 4
isub
invokevirtual java.io.ByteArrayInputStream.read:([BII)I
dup
istore 6
start local 6 16: if_icmpne 13
end local 6 17: goto 19
18: StackMap locals:
StackMap stack:
iload 4
iload 5
iadd
istore 4
19: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmpge 21
20: iconst_m1
aload 0
aload 1
iload 2
iload 4
iadd
iload 3
iload 4
isub
invokespecial com.microsoft.sqlserver.jdbc.PLPInputStream.readBytes:([BII)I
dup
istore 5
if_icmpne 18
21: StackMap locals:
StackMap stack:
iload 4
ifle 23
22: iload 4
ireturn
23: StackMap locals:
StackMap stack:
getstatic com.microsoft.sqlserver.jdbc.PLPXMLInputStream.$assertionsDisabled:Z
ifne 24
iconst_m1
iload 5
if_icmpeq 24
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
24: StackMap locals:
StackMap stack:
iconst_m1
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/microsoft/sqlserver/jdbc/PLPXMLInputStream;
0 25 1 b [B
0 25 2 offset I
0 25 3 maxBytes I
5 25 4 bytesRead I
6 25 5 xmlBytesRead I
8 9 6 bomBytesSkipped I
11 12 6 bomBytesSkipped I
13 14 6 bomBytesRead I
16 17 6 bomBytesRead I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
offset
maxBytes
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.microsoft.sqlserver.jdbc.PLPXMLInputStream.bomStream:Ljava/io/ByteArrayInputStream;
getstatic com.microsoft.sqlserver.jdbc.PLPXMLInputStream.xmlBOM:[B
arraylength
invokevirtual java.io.ByteArrayInputStream.mark:(I)V
1: aload 0
iload 1
invokespecial com.microsoft.sqlserver.jdbc.PLPInputStream.mark:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/microsoft/sqlserver/jdbc/PLPXMLInputStream;
0 3 1 readLimit I
MethodParameters:
Name Flags
readLimit
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.microsoft.sqlserver.jdbc.PLPXMLInputStream.bomStream:Ljava/io/ByteArrayInputStream;
invokevirtual java.io.ByteArrayInputStream.reset:()V
1: aload 0
invokespecial com.microsoft.sqlserver.jdbc.PLPInputStream.reset:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/microsoft/sqlserver/jdbc/PLPXMLInputStream;
Exceptions:
throws java.io.IOException
byte[] getBytes();
descriptor: ()[B
flags: (0x0000)
Code:
stack=5, locals=6, args_size=1
start local 0 0: iconst_2
newarray 8
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 0
getfield com.microsoft.sqlserver.jdbc.PLPXMLInputStream.bomStream:Ljava/io/ByteArrayInputStream;
aload 1
invokevirtual java.io.ByteArrayInputStream.read:([B)I
istore 3
start local 3 3: aload 0
invokespecial com.microsoft.sqlserver.jdbc.PLPInputStream.getBytes:()[B
astore 4
start local 4 4: iload 3
ifle 11
5: getstatic com.microsoft.sqlserver.jdbc.PLPXMLInputStream.$assertionsDisabled:Z
ifne 6
iconst_2
iload 3
if_icmpeq 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: com.microsoft.sqlserver.jdbc.PLPXMLInputStream byte[] byte[] int byte[]
StackMap stack:
aload 4
arraylength
iload 3
iadd
newarray 8
astore 5
start local 5 7: aload 1
iconst_0
aload 5
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 4
iconst_0
aload 5
iload 3
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: aload 5
astore 2
end local 5 10: goto 15
11: StackMap locals:
StackMap stack:
aload 4
astore 2
end local 4 end local 3 12: goto 15
StackMap locals: com.microsoft.sqlserver.jdbc.PLPXMLInputStream byte[] byte[]
StackMap stack: java.io.IOException
13: astore 3
start local 3 14: aconst_null
aconst_null
aload 3
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aconst_null
iconst_1
invokestatic com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError:(Lcom/microsoft/sqlserver/jdbc/SQLServerConnection;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Z)V
end local 3 15: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/microsoft/sqlserver/jdbc/PLPXMLInputStream;
1 16 1 bom [B
2 16 2 bytesToReturn [B
3 12 3 bytesread I
4 12 4 valueWithoutBOM [B
7 10 5 valueWithBOM [B
14 15 3 e Ljava/io/IOException;
Exception table:
from to target type
2 12 13 Class java.io.IOException
Exceptions:
throws com.microsoft.sqlserver.jdbc.SQLServerException
}
SourceFile: "PLPInputStream.java"