META-INF.modules.java.base.classes.jdk.internal.module.ModuleHashes.class Maven / Gradle / Ivy
???? : ?
java/lang/Object ()V
jdk/internal/module/ModuleHashes algorithm Ljava/lang/String;
java/util/Collections unmodifiableMap (Ljava/util/Map;)Ljava/util/Map;
nameToHash Ljava/util/Map;
java/util/Map keySet ()Ljava/util/Set; get &(Ljava/lang/Object;)Ljava/lang/Object; " [B
$ % & ' ( java/security/MessageDigest getInstance 1(Ljava/lang/String;)Ljava/security/MessageDigest; * java/nio/file/OpenOption
, - . / 0 java/nio/channels/FileChannel open P(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel; ?
3 4 5 6 7 java/nio/ByteBuffer allocate (I)Ljava/nio/ByteBuffer;
, 9 : ; read (Ljava/nio/ByteBuffer;)I
3 = > ? flip ()Ljava/nio/ByteBuffer;
$ A B C update (Ljava/nio/ByteBuffer;)V E F G $assertionsDisabled Z
3 I J K remaining ()I M java/lang/AssertionError
L
3 P Q ? clear
, S T close V java/lang/Throwable
U X Y Z
addSuppressed (Ljava/lang/Throwable;)V
$ \ ] ^ digest ()[B ` &java/security/NoSuchAlgorithmException b java/lang/RuntimeException
a d Z f java/io/IOException h java/io/UncheckedIOException
g j k (Ljava/io/IOException;)V m java/util/HashMap
l p q entrySet s t u v w
java/util/Set iterator ()Ljava/util/Iterator; y z { | } java/util/Iterator hasNext ()Z y ? ? next ()Ljava/lang/Object; ? java/util/Map$Entry ? ? ? ? getKey ? java/lang/String ? ? ? ? getValue ? java/nio/file/Path
? ? ? computeHash *(Ljava/nio/file/Path;Ljava/lang/String;)[B ? ? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
? ? $(Ljava/lang/String;Ljava/util/Map;)V
? ? ? ? } java/lang/Class desiredAssertionStatus Signature %Ljava/util/Map; Code LineNumberTable LocalVariableTable this "Ljdk/internal/module/ModuleHashes; LocalVariableTypeTable :(Ljava/lang/String;Ljava/util/Map;)V ()Ljava/lang/String; names %()Ljava/util/Set; hashFor (Ljava/lang/String;)[B mn hashes ()Ljava/util/Map; '()Ljava/util/Map; bb Ljava/nio/ByteBuffer; fc Ljava/nio/channels/FileChannel; md Ljava/security/MessageDigest; e (Ljava/security/NoSuchAlgorithmException; ioe Ljava/io/IOException; file Ljava/nio/file/Path;
StackMapTable generate E(Ljava/util/Map;Ljava/lang/String;)Ljdk/internal/module/ModuleHashes; name path entry Ljava/util/Map$Entry; map =Ljava/util/Map$Entry; 7Ljava/util/Map; m(Ljava/util/Map;Ljava/lang/String;)Ljdk/internal/module/ModuleHashes;
SourceFile ModuleHashes.java NestMembers ? (jdk/internal/module/ModuleHashes$Builder ? -jdk/internal/module/ModuleHashes$HashSupplier InnerClasses Entry Builder HashSupplier 1 ? ? F G ? ? n *? *+? *,?
? ? ? ? @ A B ? ? ? ? ? ? ? ? ? / *? ? ? H ? ? ? ? ? 4
*? ? ? ? O ?
? ? ? ? ? ? ? B *? +? ? !? ? W ? ? ? ? ? ? ? / *? ? ? ^ ? ? ? ? ? ? ? ? ? ?+? #M*? )? +N1? 2:-? 8? .?