public final class org.apache.lucene.codecs.CodecUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.codecs.CodecUtil
super_class: java.lang.Object
{
public static final int CODEC_MAGIC;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1071082519
public static final int ;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1071082520
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/apache/lucene/codecs/CodecUtil;
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.apache.lucene.codecs.CodecUtil.$assertionsDisabled:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/codecs/CodecUtil;
public static void (org.apache.lucene.store.DataOutput, java.lang.String, int);
descriptor: (Lorg/apache/lucene/store/DataOutput;Ljava/lang/String;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.lucene.util.BytesRef
dup
aload 1
invokespecial org.apache.lucene.util.BytesRef.<init>:(Ljava/lang/CharSequence;)V
astore 3
start local 3 1: aload 3
getfield org.apache.lucene.util.BytesRef.length:I
aload 1
invokevirtual java.lang.String.length:()I
if_icmpne 2
aload 3
getfield org.apache.lucene.util.BytesRef.length:I
sipush 128
if_icmplt 3
2: StackMap locals: org.apache.lucene.util.BytesRef
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "codec must be simple ASCII, less than 128 characters in length [got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
ldc 1071082519
invokevirtual org.apache.lucene.store.DataOutput.writeInt:(I)V
4: aload 0
aload 1
invokevirtual org.apache.lucene.store.DataOutput.writeString:(Ljava/lang/String;)V
5: aload 0
iload 2
invokevirtual org.apache.lucene.store.DataOutput.writeInt:(I)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 out Lorg/apache/lucene/store/DataOutput;
0 7 1 codec Ljava/lang/String;
0 7 2 version I
1 7 3 bytes Lorg/apache/lucene/util/BytesRef;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
codec
version
public static void (org.apache.lucene.store.DataOutput, java.lang.String, int, byte[], java.lang.String);
descriptor: (Lorg/apache/lucene/store/DataOutput;Ljava/lang/String;I[BLjava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
arraylength
bipush 16
if_icmpeq 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid id: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokestatic org.apache.lucene.util.StringHelper.idToString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
invokestatic org.apache.lucene.codecs.CodecUtil.writeHeader:(Lorg/apache/lucene/store/DataOutput;Ljava/lang/String;I)V
3: aload 0
aload 3
iconst_0
aload 3
arraylength
invokevirtual org.apache.lucene.store.DataOutput.writeBytes:([BII)V
4: new org.apache.lucene.util.BytesRef
dup
aload 4
invokespecial org.apache.lucene.util.BytesRef.<init>:(Ljava/lang/CharSequence;)V
astore 5
start local 5 5: aload 5
getfield org.apache.lucene.util.BytesRef.length:I
aload 4
invokevirtual java.lang.String.length:()I
if_icmpne 6
aload 5
getfield org.apache.lucene.util.BytesRef.length:I
sipush 256
if_icmplt 7
6: StackMap locals: org.apache.lucene.util.BytesRef
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "suffix must be simple ASCII, less than 256 characters in length [got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 5
getfield org.apache.lucene.util.BytesRef.length:I
i2b
invokevirtual org.apache.lucene.store.DataOutput.writeByte:(B)V
8: aload 0
aload 5
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 5
getfield org.apache.lucene.util.BytesRef.offset:I
aload 5
getfield org.apache.lucene.util.BytesRef.length:I
invokevirtual org.apache.lucene.store.DataOutput.writeBytes:([BII)V
9: 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 10 0 out Lorg/apache/lucene/store/DataOutput;
0 10 1 codec Ljava/lang/String;
0 10 2 version I
0 10 3 id [B
0 10 4 suffix Ljava/lang/String;
5 10 5 suffixBytes Lorg/apache/lucene/util/BytesRef;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
codec
version
id
suffix
public static int (java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: bipush 9
aload 0
invokevirtual java.lang.String.length:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 codec Ljava/lang/String;
MethodParameters:
Name Flags
codec
public static int (java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.apache.lucene.codecs.CodecUtil.headerLength:(Ljava/lang/String;)I
bipush 16
iadd
iconst_1
iadd
aload 1
invokevirtual java.lang.String.length:()I
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 codec Ljava/lang/String;
0 1 1 suffix Ljava/lang/String;
MethodParameters:
Name Flags
codec
suffix
public static int (org.apache.lucene.store.DataInput, java.lang.String, int, int);
descriptor: (Lorg/apache/lucene/store/DataInput;Ljava/lang/String;II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.lucene.store.DataInput.readInt:()I
istore 4
start local 4 1: iload 4
ldc 1071082519
if_icmpeq 3
2: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "codec header mismatch: actual header="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " vs expected header="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc 1071082519
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
3: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokestatic org.apache.lucene.codecs.CodecUtil.checkHeaderNoMagic:(Lorg/apache/lucene/store/DataInput;Ljava/lang/String;II)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 in Lorg/apache/lucene/store/DataInput;
0 4 1 codec Ljava/lang/String;
0 4 2 minVersion I
0 4 3 maxVersion I
1 4 4 actualHeader I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
codec
minVersion
maxVersion
public static int (org.apache.lucene.store.DataInput, java.lang.String, int, int);
descriptor: (Lorg/apache/lucene/store/DataInput;Ljava/lang/String;II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.lucene.store.DataInput.readString:()Ljava/lang/String;
astore 4
start local 4 1: aload 4
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
2: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "codec mismatch: actual codec="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " vs expected codec="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.DataInput.readInt:()I
istore 5
start local 5 4: iload 5
iload 2
if_icmpge 6
5: new org.apache.lucene.index.IndexFormatTooOldException
dup
aload 0
iload 5
iload 2
iload 3
invokespecial org.apache.lucene.index.IndexFormatTooOldException.<init>:(Lorg/apache/lucene/store/DataInput;III)V
athrow
6: StackMap locals: int
StackMap stack:
iload 5
iload 3
if_icmple 8
7: new org.apache.lucene.index.IndexFormatTooNewException
dup
aload 0
iload 5
iload 2
iload 3
invokespecial org.apache.lucene.index.IndexFormatTooNewException.<init>:(Lorg/apache/lucene/store/DataInput;III)V
athrow
8: StackMap locals:
StackMap stack:
iload 5
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 9 0 in Lorg/apache/lucene/store/DataInput;
0 9 1 codec Ljava/lang/String;
0 9 2 minVersion I
0 9 3 maxVersion I
1 9 4 actualCodec Ljava/lang/String;
4 9 5 actualVersion I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
codec
minVersion
maxVersion
public static int (org.apache.lucene.store.DataInput, java.lang.String, int, int, byte[], java.lang.String);
descriptor: (Lorg/apache/lucene/store/DataInput;Ljava/lang/String;II[BLjava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, 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
iload 2
iload 3
invokestatic org.apache.lucene.codecs.CodecUtil.checkHeader:(Lorg/apache/lucene/store/DataInput;Ljava/lang/String;II)I
istore 6
start local 6 1: aload 0
aload 4
invokestatic org.apache.lucene.codecs.CodecUtil.checkIndexHeaderID:(Lorg/apache/lucene/store/DataInput;[B)[B
pop
2: aload 0
aload 5
invokestatic org.apache.lucene.codecs.CodecUtil.checkIndexHeaderSuffix:(Lorg/apache/lucene/store/DataInput;Ljava/lang/String;)Ljava/lang/String;
pop
3: iload 6
ireturn
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 4 0 in Lorg/apache/lucene/store/DataInput;
0 4 1 codec Ljava/lang/String;
0 4 2 minVersion I
0 4 3 maxVersion I
0 4 4 expectedID [B
0 4 5 expectedSuffix Ljava/lang/String;
1 4 6 version I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
codec
minVersion
maxVersion
expectedID
expectedSuffix
public static void verifyAndCopyIndexHeader(org.apache.lucene.store.IndexInput, org.apache.lucene.store.DataOutput, byte[]);
descriptor: (Lorg/apache/lucene/store/IndexInput;Lorg/apache/lucene/store/DataOutput;[B)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.lucene.store.IndexInput.length:()J
invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
ldc ""
invokestatic org.apache.lucene.codecs.CodecUtil.headerLength:(Ljava/lang/String;)I
iadd
i2l
lcmp
ifge 2
1: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "compound sub-files must have a valid codec header and footer: file is too small ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.apache.lucene.store.IndexInput.length:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " bytes)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.IndexInput.readInt:()I
istore 3
start local 3 3: iload 3
ldc 1071082519
if_icmpeq 5
4: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "compound sub-files must have a valid codec header and footer: codec header mismatch: actual header="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " vs expected header="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc 1071082519
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
5: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.IndexInput.readString:()Ljava/lang/String;
astore 4
start local 4 6: aload 0
invokevirtual org.apache.lucene.store.IndexInput.readInt:()I
istore 5
start local 5 7: aload 0
aload 2
invokestatic org.apache.lucene.codecs.CodecUtil.checkIndexHeaderID:(Lorg/apache/lucene/store/DataInput;[B)[B
pop
8: aload 0
invokevirtual org.apache.lucene.store.IndexInput.readByte:()B
sipush 255
iand
istore 6
start local 6 9: iload 6
newarray 8
astore 7
start local 7 10: aload 0
aload 7
iconst_0
iload 6
invokevirtual org.apache.lucene.store.IndexInput.readBytes:([BII)V
11: aload 1
ldc 1071082519
invokevirtual org.apache.lucene.store.DataOutput.writeInt:(I)V
12: aload 1
aload 4
invokevirtual org.apache.lucene.store.DataOutput.writeString:(Ljava/lang/String;)V
13: aload 1
iload 5
invokevirtual org.apache.lucene.store.DataOutput.writeInt:(I)V
14: aload 1
aload 2
iconst_0
aload 2
arraylength
invokevirtual org.apache.lucene.store.DataOutput.writeBytes:([BII)V
15: aload 1
iload 6
i2b
invokevirtual org.apache.lucene.store.DataOutput.writeByte:(B)V
16: aload 1
aload 7
iconst_0
iload 6
invokevirtual org.apache.lucene.store.DataOutput.writeBytes:([BII)V
17: return
end local 7 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 18 0 in Lorg/apache/lucene/store/IndexInput;
0 18 1 out Lorg/apache/lucene/store/DataOutput;
0 18 2 expectedID [B
3 18 3 actualHeader I
6 18 4 codec Ljava/lang/String;
7 18 5 version I
9 18 6 suffixLength I
10 18 7 suffixBytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
out
expectedID
public static byte[] (org.apache.lucene.store.IndexInput);
descriptor: (Lorg/apache/lucene/store/IndexInput;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
lconst_0
invokevirtual org.apache.lucene.store.IndexInput.seek:(J)V
1: aload 0
invokevirtual org.apache.lucene.store.IndexInput.readInt:()I
istore 1
start local 1 2: iload 1
ldc 1071082519
if_icmpeq 4
3: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "codec header mismatch: actual header="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " vs expected header="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc 1071082519
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
4: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.IndexInput.readString:()Ljava/lang/String;
astore 2
start local 2 5: aload 0
invokevirtual org.apache.lucene.store.IndexInput.readInt:()I
pop
6: aload 0
aload 0
invokevirtual org.apache.lucene.store.IndexInput.getFilePointer:()J
ldc 16
ladd
invokevirtual org.apache.lucene.store.IndexInput.seek:(J)V
7: aload 0
invokevirtual org.apache.lucene.store.IndexInput.readByte:()B
sipush 255
iand
istore 3
start local 3 8: aload 2
invokestatic org.apache.lucene.codecs.CodecUtil.headerLength:(Ljava/lang/String;)I
bipush 16
iadd
iconst_1
iadd
iload 3
iadd
newarray 8
astore 4
start local 4 9: aload 0
lconst_0
invokevirtual org.apache.lucene.store.IndexInput.seek:(J)V
10: aload 0
aload 4
iconst_0
aload 4
arraylength
invokevirtual org.apache.lucene.store.IndexInput.readBytes:([BII)V
11: 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 12 0 in Lorg/apache/lucene/store/IndexInput;
2 12 1 actualHeader I
5 12 2 codec Ljava/lang/String;
8 12 3 suffixLength I
9 12 4 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public static byte[] (org.apache.lucene.store.IndexInput);
descriptor: (Lorg/apache/lucene/store/IndexInput;)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.IndexInput.length:()J
invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
i2l
lcmp
ifge 2
1: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "misplaced codec footer (file truncated?): length="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.apache.lucene.store.IndexInput.length:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " but footerLength=="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual org.apache.lucene.store.IndexInput.length:()J
invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
i2l
lsub
invokevirtual org.apache.lucene.store.IndexInput.seek:(J)V
3: aload 0
invokestatic org.apache.lucene.codecs.CodecUtil.validateFooter:(Lorg/apache/lucene/store/IndexInput;)V
4: aload 0
aload 0
invokevirtual org.apache.lucene.store.IndexInput.length:()J
invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
i2l
lsub
invokevirtual org.apache.lucene.store.IndexInput.seek:(J)V
5: invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
newarray 8
astore 1
start local 1 6: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual org.apache.lucene.store.IndexInput.readBytes:([BII)V
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 in Lorg/apache/lucene/store/IndexInput;
6 8 1 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public static byte[] (org.apache.lucene.store.DataInput, byte[]);
descriptor: (Lorg/apache/lucene/store/DataInput;[B)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: bipush 16
newarray 8
astore 2
start local 2 1: aload 0
aload 2
iconst_0
aload 2
arraylength
invokevirtual org.apache.lucene.store.DataInput.readBytes:([BII)V
2: aload 2
aload 1
invokestatic java.util.Arrays.equals:([B[B)Z
ifne 6
3: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "file mismatch, expected id="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic org.apache.lucene.util.StringHelper.idToString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc ", got="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokestatic org.apache.lucene.util.StringHelper.idToString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
5: invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
6: StackMap locals: byte[]
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 in Lorg/apache/lucene/store/DataInput;
0 7 1 expectedID [B
1 7 2 id [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
expectedID
public static java.lang.String (org.apache.lucene.store.DataInput, java.lang.String);
descriptor: (Lorg/apache/lucene/store/DataInput;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.lucene.store.DataInput.readByte:()B
sipush 255
iand
istore 2
start local 2 1: iload 2
newarray 8
astore 3
start local 3 2: aload 0
aload 3
iconst_0
aload 3
arraylength
invokevirtual org.apache.lucene.store.DataInput.readBytes:([BII)V
3: new java.lang.String
dup
aload 3
iconst_0
aload 3
arraylength
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokespecial java.lang.String.<init>:([BIILjava/nio/charset/Charset;)V
astore 4
start local 4 4: aload 4
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
5: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "file mismatch, expected suffix="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc ", got="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
7: invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
8: StackMap locals: int byte[] java.lang.String
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 in Lorg/apache/lucene/store/DataInput;
0 9 1 expectedSuffix Ljava/lang/String;
1 9 2 suffixLength I
2 9 3 suffixBytes [B
4 9 4 suffix Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
expectedSuffix
public static void (org.apache.lucene.store.IndexOutput);
descriptor: (Lorg/apache/lucene/store/IndexOutput;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc -1071082520
invokevirtual org.apache.lucene.store.IndexOutput.writeInt:(I)V
1: aload 0
iconst_0
invokevirtual org.apache.lucene.store.IndexOutput.writeInt:(I)V
2: aload 0
invokestatic org.apache.lucene.codecs.CodecUtil.writeCRC:(Lorg/apache/lucene/store/IndexOutput;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 out Lorg/apache/lucene/store/IndexOutput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public static int ();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 16
ireturn
LocalVariableTable:
Start End Slot Name Signature
public static long (org.apache.lucene.store.ChecksumIndexInput);
descriptor: (Lorg/apache/lucene/store/ChecksumIndexInput;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokestatic org.apache.lucene.codecs.CodecUtil.validateFooter:(Lorg/apache/lucene/store/IndexInput;)V
1: aload 0
invokevirtual org.apache.lucene.store.ChecksumIndexInput.getChecksum:()J
lstore 1
start local 1 2: aload 0
invokestatic org.apache.lucene.codecs.CodecUtil.readCRC:(Lorg/apache/lucene/store/IndexInput;)J
lstore 3
start local 3 3: lload 3
lload 1
lcmp
ifeq 7
4: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "checksum failed (hardware problem?) : expected="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 3
invokestatic java.lang.Long.toHexString:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc " actual="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 1
invokestatic java.lang.Long.toHexString:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
6: invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
7: StackMap locals: long long
StackMap stack:
lload 1
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 in Lorg/apache/lucene/store/ChecksumIndexInput;
2 8 1 actualChecksum J
3 8 3 expectedChecksum J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public static void (org.apache.lucene.store.ChecksumIndexInput, java.lang.Throwable);
descriptor: (Lorg/apache/lucene/store/ChecksumIndexInput;Ljava/lang/Throwable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
invokestatic org.apache.lucene.codecs.CodecUtil.checkFooter:(Lorg/apache/lucene/store/ChecksumIndexInput;)J
pop2
2: goto 21
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.ChecksumIndexInput.length:()J
aload 0
invokevirtual org.apache.lucene.store.ChecksumIndexInput.getFilePointer:()J
lsub
lstore 2
start local 2 4: lload 2
invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
i2l
lcmp
ifge 9
5: aload 1
new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "checksum status indeterminate: remaining="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 2
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
6: ldc ", please run checkindex for more details"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
7: invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
8: goto 20
9: StackMap locals: long
StackMap stack:
aload 0
lload 2
invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
i2l
lsub
invokevirtual org.apache.lucene.store.ChecksumIndexInput.skipBytes:(J)V
10: aload 0
invokestatic org.apache.lucene.codecs.CodecUtil.checkFooter:(Lorg/apache/lucene/store/ChecksumIndexInput;)J
lstore 4
start local 4 11: aload 1
new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "checksum passed ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 4
invokestatic java.lang.Long.toHexString:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: ldc "). possibly transient resource issue, or a Lucene or JVM bug"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
13: invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
end local 4 14: goto 20
StackMap locals:
StackMap stack: org.apache.lucene.index.CorruptIndexException
15: astore 4
start local 4 16: aload 1
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
end local 4 end local 2 17: goto 20
StackMap locals: org.apache.lucene.store.ChecksumIndexInput java.lang.Throwable
StackMap stack: java.lang.Throwable
18: astore 2
start local 2 19: aload 1
new org.apache.lucene.index.CorruptIndexException
dup
ldc "checksum status indeterminate: unexpected exception"
aload 0
aload 2
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;Ljava/lang/Throwable;)V
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
end local 2 20: StackMap locals:
StackMap stack:
aload 1
invokestatic org.apache.lucene.util.IOUtils.rethrowAlways:(Ljava/lang/Throwable;)Ljava/lang/Error;
athrow
21: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 in Lorg/apache/lucene/store/ChecksumIndexInput;
0 22 1 priorException Ljava/lang/Throwable;
4 17 2 remaining J
11 14 4 checksum J
16 17 4 t Lorg/apache/lucene/index/CorruptIndexException;
19 20 2 t Ljava/lang/Throwable;
Exception table:
from to target type
10 14 15 Class org.apache.lucene.index.CorruptIndexException
3 17 18 Class java.lang.Throwable
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
priorException
public static long retrieveChecksum(org.apache.lucene.store.IndexInput);
descriptor: (Lorg/apache/lucene/store/IndexInput;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.IndexInput.length:()J
invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
i2l
lcmp
ifge 2
1: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "misplaced codec footer (file truncated?): length="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.apache.lucene.store.IndexInput.length:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " but footerLength=="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual org.apache.lucene.store.IndexInput.length:()J
invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
i2l
lsub
invokevirtual org.apache.lucene.store.IndexInput.seek:(J)V
3: aload 0
invokestatic org.apache.lucene.codecs.CodecUtil.validateFooter:(Lorg/apache/lucene/store/IndexInput;)V
4: aload 0
invokestatic org.apache.lucene.codecs.CodecUtil.readCRC:(Lorg/apache/lucene/store/IndexInput;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 in Lorg/apache/lucene/store/IndexInput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
private static void (org.apache.lucene.store.IndexInput);
descriptor: (Lorg/apache/lucene/store/IndexInput;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.IndexInput.length:()J
aload 0
invokevirtual org.apache.lucene.store.IndexInput.getFilePointer:()J
lsub
lstore 1
start local 1 1: invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
i2l
lstore 3
start local 3 2: lload 1
lload 3
lcmp
ifge 4
3: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "misplaced codec footer (file truncated?): remaining="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", expected="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", fp="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.lucene.store.IndexInput.getFilePointer:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
4: StackMap locals: long long
StackMap stack:
lload 1
lload 3
lcmp
ifle 6
5: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "misplaced codec footer (file extended?): remaining="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", expected="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", fp="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.lucene.store.IndexInput.getFilePointer:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.IndexInput.readInt:()I
istore 5
start local 5 7: iload 5
ldc -1071082520
if_icmpeq 9
8: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "codec footer mismatch (file truncated?): actual footer="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " vs expected footer="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc -1071082520
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
9: StackMap locals: int
StackMap stack:
aload 0
invokevirtual org.apache.lucene.store.IndexInput.readInt:()I
istore 6
start local 6 10: iload 6
ifeq 12
11: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "codec footer mismatch: unknown algorithmID: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
12: StackMap locals: int
StackMap stack:
return
end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 in Lorg/apache/lucene/store/IndexInput;
1 13 1 remaining J
2 13 3 expected J
7 13 5 magic I
10 13 6 algorithmID I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public static long checksumEntireFile(org.apache.lucene.store.IndexInput);
descriptor: (Lorg/apache/lucene/store/IndexInput;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.IndexInput.clone:()Lorg/apache/lucene/store/IndexInput;
astore 1
start local 1 1: aload 1
lconst_0
invokevirtual org.apache.lucene.store.IndexInput.seek:(J)V
2: new org.apache.lucene.store.BufferedChecksumIndexInput
dup
aload 1
invokespecial org.apache.lucene.store.BufferedChecksumIndexInput.<init>:(Lorg/apache/lucene/store/IndexInput;)V
astore 2
start local 2 3: getstatic org.apache.lucene.codecs.CodecUtil.$assertionsDisabled:Z
ifne 4
aload 2
invokevirtual org.apache.lucene.store.ChecksumIndexInput.getFilePointer:()J
lconst_0
lcmp
ifeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals: org.apache.lucene.store.IndexInput org.apache.lucene.store.ChecksumIndexInput
StackMap stack:
aload 2
invokevirtual org.apache.lucene.store.ChecksumIndexInput.length:()J
invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
i2l
lcmp
ifge 6
5: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "misplaced codec footer (file truncated?): length="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual org.apache.lucene.store.ChecksumIndexInput.length:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " but footerLength=="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
6: StackMap locals:
StackMap stack:
aload 2
aload 2
invokevirtual org.apache.lucene.store.ChecksumIndexInput.length:()J
invokestatic org.apache.lucene.codecs.CodecUtil.footerLength:()I
i2l
lsub
invokevirtual org.apache.lucene.store.ChecksumIndexInput.seek:(J)V
7: aload 2
invokestatic org.apache.lucene.codecs.CodecUtil.checkFooter:(Lorg/apache/lucene/store/ChecksumIndexInput;)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 input Lorg/apache/lucene/store/IndexInput;
1 8 1 clone Lorg/apache/lucene/store/IndexInput;
3 8 2 in Lorg/apache/lucene/store/ChecksumIndexInput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
static long readCRC(org.apache.lucene.store.IndexInput);
descriptor: (Lorg/apache/lucene/store/IndexInput;)J
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.IndexInput.readLong:()J
lstore 1
start local 1 1: lload 1
ldc -4294967296
land
lconst_0
lcmp
ifeq 3
2: new org.apache.lucene.index.CorruptIndexException
dup
new java.lang.StringBuilder
dup
ldc "Illegal CRC-32 checksum: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
invokespecial org.apache.lucene.index.CorruptIndexException.<init>:(Ljava/lang/String;Lorg/apache/lucene/store/DataInput;)V
athrow
3: StackMap locals: long
StackMap stack:
lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 input Lorg/apache/lucene/store/IndexInput;
1 4 1 value J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
input
static void writeCRC(org.apache.lucene.store.IndexOutput);
descriptor: (Lorg/apache/lucene/store/IndexOutput;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.lucene.store.IndexOutput.getChecksum:()J
lstore 1
start local 1 1: lload 1
ldc -4294967296
land
lconst_0
lcmp
ifeq 3
2: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Illegal CRC-32 checksum: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " (resource="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: long
StackMap stack:
aload 0
lload 1
invokevirtual org.apache.lucene.store.IndexOutput.writeLong:(J)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 output Lorg/apache/lucene/store/IndexOutput;
1 5 1 value J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
output
}
SourceFile: "CodecUtil.java"