public class sun.tools.jar.Manifest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jar.Manifest
super_class: java.lang.Object
{
private java.util.Vector<sun.net.www.MessageHeader> entries;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Vector<Lsun/net/www/MessageHeader;>;
private byte[] tmpbuf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private java.util.Hashtable<java.lang.String, sun.net.www.MessageHeader> tableEntries;
descriptor: Ljava/util/Hashtable;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Hashtable<Ljava/lang/String;Lsun/net/www/MessageHeader;>;
static final java.lang.String[] hashes;
descriptor: [Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean debug;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final java.lang.String VERSION;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "1.0"
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "SHA"
aastore
putstatic sun.tools.jar.Manifest.hashes:[Ljava/lang/String;
1: return
LocalVariableTable:
Start End Slot Name Signature
static final void debug(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0018) ACC_STATIC, ACC_FINAL
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 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.tools.jar.Manifest.entries:Ljava/util/Vector;
2: aload 0
sipush 512
newarray 8
putfield sun.tools.jar.Manifest.tmpbuf:[B
3: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield sun.tools.jar.Manifest.tableEntries:Ljava/util/Hashtable;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/tools/jar/Manifest;
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.io.ByteArrayInputStream
dup
aload 1
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
iconst_0
invokespecial sun.tools.jar.Manifest.<init>:(Ljava/io/InputStream;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jar/Manifest;
0 2 1 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokespecial sun.tools.jar.Manifest.<init>:(Ljava/io/InputStream;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/jar/Manifest;
0 2 1 is Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
public void <init>(java.io.InputStream, boolean);
descriptor: (Ljava/io/InputStream;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.tools.jar.Manifest.entries:Ljava/util/Vector;
2: aload 0
sipush 512
newarray 8
putfield sun.tools.jar.Manifest.tmpbuf:[B
3: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield sun.tools.jar.Manifest.tableEntries:Ljava/util/Hashtable;
4: aload 1
invokevirtual java.io.InputStream.markSupported:()Z
ifne 6
5: new java.io.BufferedInputStream
dup
aload 1
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
astore 1
6: StackMap locals: sun.tools.jar.Manifest java.io.InputStream int
StackMap stack:
aload 1
iconst_1
invokevirtual java.io.InputStream.mark:(I)V
7: aload 1
invokevirtual java.io.InputStream.read:()I
iconst_m1
if_icmpne 9
8: goto 15
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.io.InputStream.reset:()V
10: new sun.net.www.MessageHeader
dup
aload 1
invokespecial sun.net.www.MessageHeader.<init>:(Ljava/io/InputStream;)V
astore 3
start local 3 11: iload 2
ifeq 13
12: aload 0
aload 3
invokevirtual sun.tools.jar.Manifest.doHashes:(Lsun/net/www/MessageHeader;)V
13: StackMap locals: sun.net.www.MessageHeader
StackMap stack:
aload 0
aload 3
invokevirtual sun.tools.jar.Manifest.addEntry:(Lsun/net/www/MessageHeader;)V
end local 3 14: goto 6
15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/tools/jar/Manifest;
0 16 1 is Ljava/io/InputStream;
0 16 2 compute Z
11 14 3 m Lsun/net/www/MessageHeader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
is
compute
public void <init>(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
putfield sun.tools.jar.Manifest.entries:Ljava/util/Vector;
2: aload 0
sipush 512
newarray 8
putfield sun.tools.jar.Manifest.tmpbuf:[B
3: aload 0
new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putfield sun.tools.jar.Manifest.tableEntries:Ljava/util/Hashtable;
4: new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
astore 2
start local 2 5: aload 2
ldc "Manifest-Version"
ldc "1.0"
invokevirtual sun.net.www.MessageHeader.add:(Ljava/lang/String;Ljava/lang/String;)V
6: ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 7: aload 2
ldc "Created-By"
new java.lang.StringBuilder
dup
ldc "Manifest JDK "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.add:(Ljava/lang/String;Ljava/lang/String;)V
8: aload 0
aload 2
invokevirtual sun.tools.jar.Manifest.addEntry:(Lsun/net/www/MessageHeader;)V
9: aload 0
aconst_null
aload 1
invokevirtual sun.tools.jar.Manifest.addFiles:(Ljava/io/File;[Ljava/lang/String;)V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/tools/jar/Manifest;
0 11 1 files [Ljava/lang/String;
5 11 2 globals Lsun/net/www/MessageHeader;
7 11 3 jdkVersion Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
files
public void (sun.net.www.MessageHeader);
descriptor: (Lsun/net/www/MessageHeader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.tools.jar.Manifest.entries:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
1: aload 1
ldc "Name"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: new java.lang.StringBuilder
dup
ldc "addEntry for name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic sun.tools.jar.Manifest.debug:(Ljava/lang/String;)V
3: aload 2
ifnull 5
4: aload 0
getfield sun.tools.jar.Manifest.tableEntries:Ljava/util/Hashtable;
aload 2
aload 1
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: java.lang.String
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/jar/Manifest;
0 6 1 entry Lsun/net/www/MessageHeader;
2 6 2 name Ljava/lang/String;
MethodParameters:
Name Flags
entry
public sun.net.www.MessageHeader (java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/net/www/MessageHeader;
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.Manifest.tableEntries:Ljava/util/Hashtable;
aload 1
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.net.www.MessageHeader
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/Manifest;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public sun.net.www.MessageHeader (int);
descriptor: (I)Lsun/net/www/MessageHeader;
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.Manifest.entries:Ljava/util/Vector;
iload 1
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.net.www.MessageHeader
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/Manifest;
0 1 1 i I
MethodParameters:
Name Flags
i
public java.util.Enumeration<sun.net.www.MessageHeader> entries();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jar.Manifest.entries:Ljava/util/Vector;
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/Manifest;
Signature: ()Ljava/util/Enumeration<Lsun/net/www/MessageHeader;>;
public void addFiles(java.io.File, java.lang.String[]);
descriptor: (Ljava/io/File;[Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 3: goto 13
4: StackMap locals: int
StackMap stack:
aload 1
ifnonnull 7
5: new java.io.File
dup
aload 2
iload 3
aaload
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 4
start local 4 6: goto 8
end local 4 7: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 1
aload 2
iload 3
aaload
invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 4
start local 4 8: StackMap locals: java.io.File
StackMap stack:
aload 4
invokevirtual java.io.File.isDirectory:()Z
ifeq 11
9: aload 0
aload 4
aload 4
invokevirtual java.io.File.list:()[Ljava/lang/String;
invokevirtual sun.tools.jar.Manifest.addFiles:(Ljava/io/File;[Ljava/lang/String;)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual sun.tools.jar.Manifest.addFile:(Ljava/io/File;)V
end local 4 12: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
13: iload 3
aload 2
arraylength
if_icmplt 4
end local 3 14: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/tools/jar/Manifest;
0 15 1 dir Ljava/io/File;
0 15 2 files [Ljava/lang/String;
3 14 3 i I
6 7 4 file Ljava/io/File;
8 12 4 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dir
files
private final java.lang.String stdToLocal(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
bipush 47
getstatic java.io.File.separatorChar:C
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jar/Manifest;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private final java.lang.String localToStd(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic java.io.File.separatorChar:C
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 1
1: aload 1
ldc "./"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
2: aload 1
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
goto 5
3: StackMap locals:
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
4: aload 1
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
5: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/jar/Manifest;
0 6 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void addFile(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.io.File.getPath:()Ljava/lang/String;
invokevirtual sun.tools.jar.Manifest.localToStd:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield sun.tools.jar.Manifest.tableEntries:Ljava/util/Hashtable;
aload 2
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 5
2: new sun.net.www.MessageHeader
dup
invokespecial sun.net.www.MessageHeader.<init>:()V
astore 3
start local 3 3: aload 3
ldc "Name"
aload 2
invokevirtual sun.net.www.MessageHeader.add:(Ljava/lang/String;Ljava/lang/String;)V
4: aload 0
aload 3
invokevirtual sun.tools.jar.Manifest.addEntry:(Lsun/net/www/MessageHeader;)V
end local 3 5: StackMap locals: java.lang.String
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/tools/jar/Manifest;
0 6 1 f Ljava/io/File;
1 6 2 stdName Ljava/lang/String;
3 5 3 mh Lsun/net/www/MessageHeader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
f
public void (sun.net.www.MessageHeader);
descriptor: (Lsun/net/www/MessageHeader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ldc "Name"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 3
2: StackMap locals: java.lang.String
StackMap stack:
return
3: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 4: goto 22
5: StackMap locals: int
StackMap stack:
new java.io.FileInputStream
dup
aload 0
aload 2
invokevirtual sun.tools.jar.Manifest.stdToLocal:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
astore 4
start local 4 6: getstatic sun.tools.jar.Manifest.hashes:[Ljava/lang/String;
iload 3
aaload
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
astore 5
start local 5 7: goto 9
start local 6 8: StackMap locals: java.io.InputStream java.security.MessageDigest int
StackMap stack:
aload 5
aload 0
getfield sun.tools.jar.Manifest.tmpbuf:[B
iconst_0
iload 6
invokevirtual java.security.MessageDigest.update:([BII)V
end local 6 9: StackMap locals:
StackMap stack:
aload 4
aload 0
getfield sun.tools.jar.Manifest.tmpbuf:[B
iconst_0
aload 0
getfield sun.tools.jar.Manifest.tmpbuf:[B
arraylength
invokevirtual java.io.InputStream.read:([BII)I
dup
istore 6
start local 6 10: iconst_m1
if_icmpne 8
11: aload 1
new java.lang.StringBuilder
dup
getstatic sun.tools.jar.Manifest.hashes:[Ljava/lang/String;
iload 3
aaload
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-Digest"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.util.Base64.getMimeEncoder:()Ljava/util/Base64$Encoder;
aload 5
invokevirtual java.security.MessageDigest.digest:()[B
invokevirtual java.util.Base64$Encoder.encodeToString:([B)Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
end local 6 end local 5 12: goto 20
StackMap locals: sun.tools.jar.Manifest sun.net.www.MessageHeader java.lang.String int java.io.InputStream
StackMap stack: java.security.NoSuchAlgorithmException
13: pop
14: new sun.tools.jar.JarException
dup
new java.lang.StringBuilder
dup
ldc "Digest algorithm "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic sun.tools.jar.Manifest.hashes:[Ljava/lang/String;
iload 3
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: ldc " not available."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial sun.tools.jar.JarException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack: java.lang.Throwable
astore 7
18: aload 4
invokevirtual java.io.InputStream.close:()V
19: aload 7
athrow
20: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 21: iinc 3 1
StackMap locals:
StackMap stack:
22: iload 3
getstatic sun.tools.jar.Manifest.hashes:[Ljava/lang/String;
arraylength
if_icmplt 5
end local 3 23: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/tools/jar/Manifest;
0 24 1 mh Lsun/net/www/MessageHeader;
1 24 2 name Ljava/lang/String;
4 23 3 j I
6 21 4 is Ljava/io/InputStream;
7 12 5 dig Ljava/security/MessageDigest;
8 9 6 len I
10 12 6 len I
Exception table:
from to target type
6 12 13 Class java.security.NoSuchAlgorithmException
6 17 17 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
mh
public void stream(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.io.PrintStream
ifeq 3
1: aload 1
checkcast java.io.PrintStream
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
new java.io.PrintStream
dup
aload 1
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
astore 2
start local 2 4: StackMap locals: java.io.PrintStream
StackMap stack:
aload 0
getfield sun.tools.jar.Manifest.entries:Ljava/util/Vector;
iconst_0
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.net.www.MessageHeader
astore 3
start local 3 5: aload 3
ldc "Manifest-Version"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
ifnonnull 15
6: ldc "java.version"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 7: aload 3
ldc "Name"
invokevirtual sun.net.www.MessageHeader.findValue:(Ljava/lang/String;)Ljava/lang/String;
ifnonnull 11
8: aload 3
ldc "Manifest-Version"
ldc "1.0"
invokevirtual sun.net.www.MessageHeader.prepend:(Ljava/lang/String;Ljava/lang/String;)V
9: aload 3
ldc "Created-By"
new java.lang.StringBuilder
dup
ldc "Manifest JDK "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.add:(Ljava/lang/String;Ljava/lang/String;)V
10: goto 14
11: StackMap locals: sun.net.www.MessageHeader java.lang.String
StackMap stack:
aload 2
new java.lang.StringBuilder
dup
ldc "Manifest-Version: 1.0\r\nCreated-By: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\r\n\r\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
14: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.PrintStream.flush:()V
end local 4 15: StackMap locals:
StackMap stack:
aload 3
aload 2
invokevirtual sun.net.www.MessageHeader.print:(Ljava/io/PrintStream;)V
16: iconst_1
istore 4
start local 4 17: goto 21
18: StackMap locals: int
StackMap stack:
aload 0
getfield sun.tools.jar.Manifest.entries:Ljava/util/Vector;
iload 4
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast sun.net.www.MessageHeader
astore 5
start local 5 19: aload 5
aload 2
invokevirtual sun.net.www.MessageHeader.print:(Ljava/io/PrintStream;)V
end local 5 20: iinc 4 1
StackMap locals:
StackMap stack:
21: iload 4
aload 0
getfield sun.tools.jar.Manifest.entries:Ljava/util/Vector;
invokevirtual java.util.Vector.size:()I
if_icmplt 18
end local 4 22: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/tools/jar/Manifest;
0 23 1 os Ljava/io/OutputStream;
2 3 2 ps Ljava/io/PrintStream;
4 23 2 ps Ljava/io/PrintStream;
5 23 3 globals Lsun/net/www/MessageHeader;
7 15 4 jdkVersion Ljava/lang/String;
17 22 4 i I
19 20 5 mh Lsun/net/www/MessageHeader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os
public static boolean isManifestName(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 2
1: aload 0
iconst_1
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 0
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
astore 0
3: aload 0
ldc "META-INF/MANIFEST.MF"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
}
SourceFile: "Manifest.java"
InnerClasses:
public Encoder = java.util.Base64$Encoder of java.util.Base64