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 entries;
descriptor: Ljava/util/Vector;
flags: (0x0002) ACC_PRIVATE
private byte[] tmpbuf;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private java.util.Hashtable tableEntries;
descriptor: Ljava/util/Hashtable;
flags: (0x0002) ACC_PRIVATE
static final java.lang.String[] hashes;
descriptor: [Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final byte[] EOL;
descriptor: [B
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: iconst_2
newarray 8
dup
iconst_0
bipush 13
bastore
dup
iconst_1
bipush 10
bastore
putstatic sun.tools.jar.Manifest.EOL:[B
2: 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 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;
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=9, 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:
new sun.misc.BASE64Encoder
dup
invokespecial sun.misc.BASE64Encoder.<init>:()V
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 23
6: StackMap locals: sun.misc.BASE64Encoder 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 5
start local 5 7: getstatic sun.tools.jar.Manifest.hashes:[Ljava/lang/String;
iload 4
aaload
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
astore 6
start local 6 8: goto 10
start local 7 9: StackMap locals: java.io.InputStream java.security.MessageDigest int
StackMap stack:
aload 6
aload 0
getfield sun.tools.jar.Manifest.tmpbuf:[B
iconst_0
iload 7
invokevirtual java.security.MessageDigest.update:([BII)V
end local 7 10: StackMap locals:
StackMap stack:
aload 5
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 7
start local 7 11: iconst_m1
if_icmpne 9
12: aload 1
new java.lang.StringBuilder
dup
getstatic sun.tools.jar.Manifest.hashes:[Ljava/lang/String;
iload 4
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;
aload 3
aload 6
invokevirtual java.security.MessageDigest.digest:()[B
invokevirtual sun.misc.BASE64Encoder.encode:([B)Ljava/lang/String;
invokevirtual sun.net.www.MessageHeader.set:(Ljava/lang/String;Ljava/lang/String;)V
end local 7 end local 6 13: goto 21
StackMap locals: sun.tools.jar.Manifest sun.net.www.MessageHeader java.lang.String sun.misc.BASE64Encoder int java.io.InputStream
StackMap stack: java.security.NoSuchAlgorithmException
14: pop
15: 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 4
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: ldc " not available."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial sun.tools.jar.JarException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack: java.lang.Throwable
astore 8
19: aload 5
invokevirtual java.io.InputStream.close:()V
20: aload 8
athrow
21: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.io.InputStream.close:()V
end local 5 22: iinc 4 1
StackMap locals:
StackMap stack:
23: iload 4
getstatic sun.tools.jar.Manifest.hashes:[Ljava/lang/String;
arraylength
if_icmplt 6
end local 4 24: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/tools/jar/Manifest;
0 25 1 mh Lsun/net/www/MessageHeader;
1 25 2 name Ljava/lang/String;
4 25 3 enc Lsun/misc/BASE64Encoder;
5 24 4 j I
7 22 5 is Ljava/io/InputStream;
8 13 6 dig Ljava/security/MessageDigest;
9 10 7 len I
11 13 7 len I
Exception table:
from to target type
7 13 14 Class java.security.NoSuchAlgorithmException
7 18 18 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"