final class sun.tools.jar.FingerPrint
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.tools.jar.FingerPrint
super_class: java.lang.Object
{
private static final java.security.MessageDigest MD;
descriptor: Ljava/security/MessageDigest;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String basename;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String entryName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int mrversion;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] sha1;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.tools.jar.FingerPrint$ClassAttributes attrs;
descriptor: Lsun/tools/jar/FingerPrint$ClassAttributes;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isClassEntry;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final byte[] cafeBabe;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: ldc "SHA-1"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
putstatic sun.tools.jar.FingerPrint.MD:Ljava/security/MessageDigest;
1: goto 4
StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
2: astore 0
start local 0 3: new java.lang.RuntimeException
dup
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 4: StackMap locals:
StackMap stack:
iconst_4
newarray 8
dup
iconst_0
bipush -54
bastore
dup
iconst_1
bipush -2
bastore
dup
iconst_2
bipush -70
bastore
dup
iconst_3
bipush -66
bastore
putstatic sun.tools.jar.FingerPrint.cafeBabe:[B
return
LocalVariableTable:
Start End Slot Name Signature
3 4 0 x Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
0 1 2 Class java.security.NoSuchAlgorithmException
public void <init>(java.lang.String, java.lang.String, int, byte[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;I[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.tools.jar.FingerPrint.basename:Ljava/lang/String;
2: aload 0
aload 2
putfield sun.tools.jar.FingerPrint.entryName:Ljava/lang/String;
3: aload 0
iload 3
putfield sun.tools.jar.FingerPrint.mrversion:I
4: aload 0
aload 4
invokevirtual sun.tools.jar.FingerPrint.isCafeBabe:([B)Z
ifeq 9
5: aload 0
iconst_1
putfield sun.tools.jar.FingerPrint.isClassEntry:Z
6: aload 0
aload 0
aload 4
bipush 8
invokevirtual sun.tools.jar.FingerPrint.sha1:([BI)[B
putfield sun.tools.jar.FingerPrint.sha1:[B
7: aload 0
aload 0
aload 4
invokevirtual sun.tools.jar.FingerPrint.getClassAttributes:([B)Lsun/tools/jar/FingerPrint$ClassAttributes;
putfield sun.tools.jar.FingerPrint.attrs:Lsun/tools/jar/FingerPrint$ClassAttributes;
8: goto 12
9: StackMap locals: sun.tools.jar.FingerPrint java.lang.String java.lang.String int byte[]
StackMap stack:
aload 0
iconst_0
putfield sun.tools.jar.FingerPrint.isClassEntry:Z
10: aload 0
aconst_null
putfield sun.tools.jar.FingerPrint.sha1:[B
11: aload 0
aconst_null
putfield sun.tools.jar.FingerPrint.attrs:Lsun/tools/jar/FingerPrint$ClassAttributes;
12: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/tools/jar/FingerPrint;
0 13 1 basename Ljava/lang/String;
0 13 2 entryName Ljava/lang/String;
0 13 3 mrversion I
0 13 4 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
basename
entryName
mrversion
bytes
public boolean isClass();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jar.FingerPrint.isClassEntry:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/FingerPrint;
public boolean isNestedClass();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jar.FingerPrint.attrs:Lsun/tools/jar/FingerPrint$ClassAttributes;
getfield sun.tools.jar.FingerPrint$ClassAttributes.nestedClass:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/FingerPrint;
public boolean isPublicClass();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jar.FingerPrint.attrs:Lsun/tools/jar/FingerPrint$ClassAttributes;
getfield sun.tools.jar.FingerPrint$ClassAttributes.publicClass:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/FingerPrint;
public boolean isIdentical(sun.tools.jar.FingerPrint);
descriptor: (Lsun/tools/jar/FingerPrint;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
if_acmpne 2
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.tools.jar.FingerPrint.sha1:[B
aload 1
getfield sun.tools.jar.FingerPrint.sha1:[B
invokevirtual sun.tools.jar.FingerPrint.isEqual:([B[B)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/tools/jar/FingerPrint;
0 3 1 that Lsun/tools/jar/FingerPrint;
MethodParameters:
Name Flags
that
public boolean isCompatibleVersion(sun.tools.jar.FingerPrint);
descriptor: (Lsun/tools/jar/FingerPrint;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jar.FingerPrint.attrs:Lsun/tools/jar/FingerPrint$ClassAttributes;
getfield sun.tools.jar.FingerPrint$ClassAttributes.version:I
aload 1
getfield sun.tools.jar.FingerPrint.attrs:Lsun/tools/jar/FingerPrint$ClassAttributes;
getfield sun.tools.jar.FingerPrint$ClassAttributes.version:I
if_icmplt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jar/FingerPrint;
0 2 1 that Lsun/tools/jar/FingerPrint;
MethodParameters:
Name Flags
that
public boolean isSameAPI(sun.tools.jar.FingerPrint);
descriptor: (Lsun/tools/jar/FingerPrint;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.jar.FingerPrint.attrs:Lsun/tools/jar/FingerPrint$ClassAttributes;
aload 1
getfield sun.tools.jar.FingerPrint.attrs:Lsun/tools/jar/FingerPrint$ClassAttributes;
invokevirtual sun.tools.jar.FingerPrint$ClassAttributes.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jar/FingerPrint;
0 2 1 that Lsun/tools/jar/FingerPrint;
MethodParameters:
Name Flags
that
public java.lang.String basename();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jar.FingerPrint.basename:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/FingerPrint;
public java.lang.String entryName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jar.FingerPrint.entryName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/FingerPrint;
public java.lang.String className();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jar.FingerPrint.attrs:Lsun/tools/jar/FingerPrint$ClassAttributes;
getfield sun.tools.jar.FingerPrint$ClassAttributes.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/FingerPrint;
public int mrversion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jar.FingerPrint.mrversion:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/FingerPrint;
public java.lang.String outerClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jar.FingerPrint.attrs:Lsun/tools/jar/FingerPrint$ClassAttributes;
getfield sun.tools.jar.FingerPrint$ClassAttributes.outerClassName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/FingerPrint;
private byte[] sha1(byte[]);
descriptor: ([B)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic sun.tools.jar.FingerPrint.MD:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.update:([B)V
1: getstatic sun.tools.jar.FingerPrint.MD:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.digest:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jar/FingerPrint;
0 2 1 entry [B
MethodParameters:
Name Flags
entry
private byte[] sha1(byte[], int);
descriptor: ([BI)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.tools.jar.FingerPrint.MD:Ljava/security/MessageDigest;
aload 1
iload 2
aload 1
arraylength
iload 2
isub
invokevirtual java.security.MessageDigest.update:([BII)V
1: getstatic sun.tools.jar.FingerPrint.MD:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.digest:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jar/FingerPrint;
0 2 1 entry [B
0 2 2 offset I
MethodParameters:
Name Flags
entry
offset
private boolean isEqual(byte[], byte[]);
descriptor: ([B[B)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic java.security.MessageDigest.isEqual:([B[B)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/FingerPrint;
0 1 1 sha1_1 [B
0 1 2 sha1_2 [B
MethodParameters:
Name Flags
sha1_1
sha1_2
private boolean isCafeBabe(byte[]);
descriptor: ([B)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iconst_4
if_icmpge 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: int
StackMap stack:
aload 1
iload 2
baload
getstatic sun.tools.jar.FingerPrint.cafeBabe:[B
iload 2
baload
if_icmpeq 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iconst_4
if_icmplt 3
end local 2 7: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/tools/jar/FingerPrint;
0 8 1 bytes [B
2 7 2 i I
MethodParameters:
Name Flags
bytes
private sun.tools.jar.FingerPrint$ClassAttributes getClassAttributes(byte[]);
descriptor: ([B)Lsun/tools/jar/FingerPrint$ClassAttributes;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new jdk.internal.org.objectweb.asm.ClassReader
dup
aload 1
invokespecial jdk.internal.org.objectweb.asm.ClassReader.<init>:([B)V
astore 2
start local 2 1: new sun.tools.jar.FingerPrint$ClassAttributes
dup
invokespecial sun.tools.jar.FingerPrint$ClassAttributes.<init>:()V
astore 3
start local 3 2: aload 2
aload 3
iconst_0
invokevirtual jdk.internal.org.objectweb.asm.ClassReader.accept:(Ljdk/internal/org/objectweb/asm/ClassVisitor;I)V
3: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jar/FingerPrint;
0 4 1 bytes [B
1 4 2 rdr Ljdk/internal/org/objectweb/asm/ClassReader;
2 4 3 attrs Lsun/tools/jar/FingerPrint$ClassAttributes;
MethodParameters:
Name Flags
bytes
}
SourceFile: "FingerPrint.java"
NestMembers:
sun.tools.jar.FingerPrint$ClassAttributes sun.tools.jar.FingerPrint$Field sun.tools.jar.FingerPrint$Method
InnerClasses:
private final ClassAttributes = sun.tools.jar.FingerPrint$ClassAttributes of sun.tools.jar.FingerPrint
private final Field = sun.tools.jar.FingerPrint$Field of sun.tools.jar.FingerPrint
private final Method = sun.tools.jar.FingerPrint$Method of sun.tools.jar.FingerPrint