META-INF.modules.java.base.classes.java.util.jar.Manifest.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.base Show documentation
Show all versions of java.base Show documentation
Bytecoder java.base Module
???? :P
java/lang/Object ()V java/util/jar/Attributes
java/util/jar/Manifest attr Ljava/util/jar/Attributes; java/util/HashMap
entries Ljava/util/Map; jv Ljava/util/jar/JarVerifier;
E(Ljava/util/jar/JarVerifier;Ljava/io/InputStream;Ljava/lang/String;)V
! read *(Ljava/io/InputStream;Ljava/lang/String;)V
# $ % getMainAttributes ()Ljava/util/jar/Attributes;
' ( ) putAll (Ljava/util/Map;)V
+ , -
getEntries ()Ljava/util/Map; / ' 0
java/util/Map / 2 3 4 get &(Ljava/lang/Object;)Ljava/lang/Object;
6 7 8
getAttributes .(Ljava/lang/String;)Ljava/util/jar/Attributes;
: ; < = > java/util/jar/JarVerifier isTrustedManifestEntry (Ljava/lang/String;)Z @ java/lang/SecurityException B java/lang/StringBuilder
A E Untrusted manifest entry:
A G H I append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
A K L M toString ()Ljava/lang/String;
? O P (Ljava/lang/String;)V
R S clear / R V java/io/DataOutputStream
U X Y (Ljava/io/OutputStream;)V
[ \ ] writeMain (Ljava/io/DataOutputStream;)V / _ ` a isEmpty ()Z
A c d (I)V / f g h entrySet ()Ljava/util/Set; j k l m n
java/util/Set iterator ()Ljava/util/Iterator; p q r s a java/util/Iterator hasNext p u v w next ()Ljava/lang/Object; y java/util/Map$Entry
A { | d setLength ~ Name: x ? ? w getKey ? java/lang/String
? ? ? println72 +(Ljava/io/OutputStream;Ljava/lang/String;)V x ? ? w getValue
? ? ] write
U ? ? flush
? ? ? ? ? java/lang/StringBuffer length ()I ?
? ? ? ? insert -(ILjava/lang/String;)Ljava/lang/StringBuffer;
? _ ? ? ? ? ? sun/nio/cs/UTF_8 INSTANCE Lsun/nio/cs/UTF_8;
? ? ? ? getBytes (Ljava/nio/charset/Charset;)[B
? ? ? ? d java/io/OutputStream
? ? ? ? ([BII)V
? ? Y println ? ? ? ? ? $sun/security/util/SecurityProperties INCLUDE_JAR_NAME_IN_EXCEPTIONS Z ? line
A ? H ? (I)Ljava/lang/StringBuilder; ? manifest of ? : ? &java/util/jar/Manifest$FastInputStream
? ? ? (Ljava/io/InputStream;)V
? ? @(Ljava/util/jar/Manifest$FastInputStream;[BLjava/lang/String;I)I
? ? ? ? readLine ([B)I ? java/io/IOException ? manifest line too long (
? ? ? getErrorPosition '(Ljava/lang/String;I)Ljava/lang/String; ? )
? O
? ? ? parseName ([BI)Ljava/lang/String; ? invalid manifest format (
? ? ? ? peek ()B
? ? ? ? ? java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V
? ? ? !([BIILjava/nio/charset/Charset;)V
c / ? ? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
? ? ? size
? ? ? ? ? java/lang/Math max (II)I
? ? ? toLower (I)I
? ? equals (Ljava/lang/Object;)Z / ?
? hashCode /
(Ljava/util/jar/Manifest;)V
java/lang/Cloneable Signature =Ljava/util/Map; Code LineNumberTable LocalVariableTable this Ljava/util/jar/Manifest; is Ljava/io/InputStream;
Exceptions jarFilename Ljava/lang/String; man ?()Ljava/util/Map; name getTrustedAttributes result
StackMapTable e Ljava/util/Map$Entry; out Ljava/io/OutputStream; dos Ljava/io/DataOutputStream; buffer Ljava/lang/StringBuilder; LocalVariableTypeTable CLjava/util/Map$Entry;
make72Safe (Ljava/lang/StringBuffer;)V line Ljava/lang/StringBuffer; I index
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; since 13 lineBytes [B pos3 filename
lineNumber buf c B fis (Ljava/util/jar/Manifest$FastInputStream; lbuf ecount acount asize len skipEmptyLines lastlineE java/io/InputStream m o Ljava/lang/Object; clone
SourceFile
Manifest.java NestMembers InnerClasses Entry FastInputStream !
Z *? *? Y? ?
*? Y? ? *? ? A 6 9 B C ?
@ *+? ?
L M ? !
J *+,? ?
W X ?
? &*? *? Y? ?
*? Y? ? *,-? *+? ? c 6 9 d e % f * & &