public class org.graalvm.component.installer.jar.JarArchive implements org.graalvm.component.installer.Archive
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.component.installer.jar.JarArchive
super_class: java.lang.Object
{
private static final int CHECKSUM_BUFFER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 32768
private final java.util.jar.JarFile jarFile;
descriptor: Ljava/util/jar/JarFile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.util.jar.JarFile);
descriptor: (Ljava/util/jar/JarFile;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.component.installer.jar.JarArchive.jarFile:Ljava/util/jar/JarFile;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/component/installer/jar/JarArchive;
0 3 1 jarFile Ljava/util/jar/JarFile;
MethodParameters:
Name Flags
jarFile
public org.graalvm.component.installer.Archive$FileEntry getEntry(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/component/installer/Archive$FileEntry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.graalvm.component.installer.jar.JarArchive.getJarEntry:(Ljava/lang/String;)Lorg/graalvm/component/installer/Archive$FileEntry;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/jar/JarArchive;
0 1 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public org.graalvm.component.installer.Archive$FileEntry getJarEntry(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/component/installer/Archive$FileEntry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.component.installer.jar.JarArchive.jarFile:Ljava/util/jar/JarFile;
aload 1
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 2
start local 2 1: aload 2
ifnonnull 2
aconst_null
goto 3
StackMap locals: java.util.jar.JarEntry
StackMap stack:
2: new org.graalvm.component.installer.jar.JarArchive$JarEntryImpl
dup
aload 2
invokespecial org.graalvm.component.installer.jar.JarArchive$JarEntryImpl.<init>:(Ljava/util/jar/JarEntry;)V
StackMap locals:
StackMap stack: org.graalvm.component.installer.jar.JarArchive$JarEntryImpl
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/component/installer/jar/JarArchive;
0 4 1 path Ljava/lang/String;
1 4 2 e Ljava/util/jar/JarEntry;
MethodParameters:
Name Flags
path
public java.util.Iterator<org.graalvm.component.installer.Archive$FileEntry> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.graalvm.component.installer.jar.JarArchive$EntryIterator
dup
aload 0
getfield org.graalvm.component.installer.jar.JarArchive.jarFile:Ljava/util/jar/JarFile;
invokevirtual java.util.jar.JarFile.entries:()Ljava/util/Enumeration;
invokespecial org.graalvm.component.installer.jar.JarArchive$EntryIterator.<init>:(Ljava/util/Enumeration;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/jar/JarArchive;
Signature: ()Ljava/util/Iterator<Lorg/graalvm/component/installer/Archive$FileEntry;>;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/jar/JarArchive;
Exceptions:
throws java.io.IOException
public java.io.InputStream getInputStream(org.graalvm.component.installer.Archive$FileEntry);
descriptor: (Lorg/graalvm/component/installer/Archive$FileEntry;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.component.installer.jar.JarArchive.jarFile:Ljava/util/jar/JarFile;
aload 1
checkcast org.graalvm.component.installer.jar.JarArchive$JarEntryImpl
getfield org.graalvm.component.installer.jar.JarArchive$JarEntryImpl.e:Ljava/util/jar/JarEntry;
invokevirtual java.util.jar.JarFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/jar/JarArchive;
0 1 1 e Lorg/graalvm/component/installer/Archive$FileEntry;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
e
public boolean checkContentsMatches(java.nio.channels.ReadableByteChannel, org.graalvm.component.installer.Archive$FileEntry);
descriptor: (Ljava/nio/channels/ReadableByteChannel;Lorg/graalvm/component/installer/Archive$FileEntry;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: ldc 32768
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 3
start local 3 1: new java.util.zip.CRC32
dup
invokespecial java.util.zip.CRC32.<init>:()V
astore 4
start local 4 2: goto 6
3: StackMap locals: java.nio.ByteBuffer java.util.zip.CRC32
StackMap stack:
aload 3
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/ByteBuffer;
pop
4: aload 4
aload 3
invokevirtual java.util.zip.CRC32.update:(Ljava/nio/ByteBuffer;)V
5: aload 3
invokevirtual java.nio.ByteBuffer.clear:()Ljava/nio/ByteBuffer;
pop
6: StackMap locals:
StackMap stack:
aload 1
aload 3
invokeinterface java.nio.channels.ReadableByteChannel.read:(Ljava/nio/ByteBuffer;)I
ifge 3
7: aload 4
invokevirtual java.util.zip.CRC32.getValue:()J
aload 2
checkcast org.graalvm.component.installer.jar.JarArchive$JarEntryImpl
getfield org.graalvm.component.installer.jar.JarArchive$JarEntryImpl.e:Ljava/util/jar/JarEntry;
invokevirtual java.util.jar.JarEntry.getCrc:()J
lcmp
ifne 8
iconst_1
ireturn
StackMap locals:
StackMap stack:
8: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/component/installer/jar/JarArchive;
0 9 1 bc Ljava/nio/channels/ReadableByteChannel;
0 9 2 entry Lorg/graalvm/component/installer/Archive$FileEntry;
1 9 3 bb Ljava/nio/ByteBuffer;
2 9 4 crc Ljava/util/zip/CRC32;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bc
entry
public void completeMetadata(org.graalvm.component.installer.model.ComponentInfo);
descriptor: (Lorg/graalvm/component/installer/model/ComponentInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/jar/JarArchive;
0 1 1 info Lorg/graalvm/component/installer/model/ComponentInfo;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
info
public boolean verifyIntegrity(org.graalvm.component.installer.CommandInput);
descriptor: (Lorg/graalvm/component/installer/CommandInput;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/jar/JarArchive;
0 1 1 input Lorg/graalvm/component/installer/CommandInput;
MethodParameters:
Name Flags
input
}
SourceFile: "JarArchive.java"
NestMembers:
org.graalvm.component.installer.jar.JarArchive$EntryIterator org.graalvm.component.installer.jar.JarArchive$JarEntryImpl
InnerClasses:
public abstract FileEntry = org.graalvm.component.installer.Archive$FileEntry of org.graalvm.component.installer.Archive
private EntryIterator = org.graalvm.component.installer.jar.JarArchive$EntryIterator of org.graalvm.component.installer.jar.JarArchive
private JarEntryImpl = org.graalvm.component.installer.jar.JarArchive$JarEntryImpl of org.graalvm.component.installer.jar.JarArchive