META-INF.modules.java.base.classes.jdk.internal.module.ModulePatcher$PatchedModuleReader.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
???? :
java/lang/Object ()V java/util/ArrayList
java/util/List iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ()Z next ()Ljava/lang/Object; java/nio/file/Path java/nio/file/LinkOption
! " # java/nio/file/Files
isRegularFile 2(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z % 3jdk/internal/module/ModulePatcher$JarResourceFinder
$ ' ( (Ljava/nio/file/Path;)V * + , add (Ljava/lang/Object;)Z . 8jdk/internal/module/ModulePatcher$ExplodedResourceFinder
- '
1 2 3 4 5 5jdk/internal/module/ModulePatcher$PatchedModuleReader closeAll (Ljava/util/List;)V 7 java/io/IOException 9 java/io/UncheckedIOException
8 ; < (Ljava/io/IOException;)V 1 > ? @ finders Ljava/util/List; 1 B C D mref "Ljava/lang/module/ModuleReference;
1 F G H
codeSourceURL 2(Ljava/lang/module/ModuleReference;)Ljava/net/URL; 1 J K L delegateCodeSourceURL Ljava/net/URL; N 0jdk/internal/module/ModulePatcher$ResourceFinder M P Q close
S T U V W java/lang/module/ModuleReference location ()Ljava/util/Optional;
Y Z [ \ java/util/Optional isPresent
Y ^ _ get a java/net/URI
` c d e toURL ()Ljava/net/URL; g java/net/MalformedURLException 1 i j k delegate Ljava/lang/module/ModuleReader;
S m n o open !()Ljava/lang/module/ModuleReader; q module-info.class
s t u v , java/lang/String equals M x y z find 2(Ljava/lang/String;)Ljdk/internal/loader/Resource;
1 | } z findResourceInPatch
1 j o ? ? ? ? ? java/lang/module/ModuleReader read ((Ljava/lang/String;)Ljava/util/Optional;
Y ? ? ? orElse &(Ljava/lang/Object;)Ljava/lang/Object; ? java/nio/ByteBuffer ? 7jdk/internal/module/ModulePatcher$PatchedModuleReader$1
? ? ? O(Ljdk/internal/module/ModulePatcher$PatchedModuleReader;Ljava/nio/ByteBuffer;)V
? ? ? ? e jdk/internal/loader/Resource getURL
? ? ? ? ? java/net/URL toString ()Ljava/lang/String;
` ? ? ? create "(Ljava/lang/String;)Ljava/net/URI;
Y ? ? ? of ((Ljava/lang/Object;)Ljava/util/Optional; ? ? y ?
? ? ? ? getInputStream ()Ljava/io/InputStream; ? ? n ?
? ? ? ?
getByteBuffer ()Ljava/nio/ByteBuffer; 1 ? ? ? $assertionsDisabled Z
? ? ? isDirect ? java/lang/AssertionError
? ? ? ? ? release (Ljava/nio/ByteBuffer;)V ? java/lang/InternalError
? ? ? (Ljava/lang/Throwable;)V ? ? ? ? list ()Ljava/util/stream/Stream; M ? ? ? ? ? ? java/util/stream/Stream concat M(Ljava/util/stream/Stream;Ljava/util/stream/Stream;)Ljava/util/stream/Stream; ? ? ? ? distinct ? P ? !jdk/internal/module/ModulePatcher
? ? ? ? java/lang/Class desiredAssertionStatus Signature DLjava/util/List; 5(Ljava/util/List;Ljava/lang/module/ModuleReference;)V Code LineNumberTable LocalVariableTable file Ljava/nio/file/Path; ioe Ljava/io/IOException; this 7Ljdk/internal/module/ModulePatcher$PatchedModuleReader; patches initialized LocalVariableTypeTable &Ljava/util/List;
StackMapTable ? java/lang/Throwable K(Ljava/util/List;Ljava/lang/module/ModuleReference;)V finder 2Ljdk/internal/module/ModulePatcher$ResourceFinder; G(Ljava/util/List;)V ouri Ljava/util/Optional; $Ljava/util/Optional; r
Exceptions Ljdk/internal/loader/Resource; name Ljava/lang/String; findResource bb Ljava/nio/ByteBuffer; uri Ljava/net/URI; 8(Ljava/lang/String;)Ljava/util/Optional; ?(Ljava/lang/String;)Ljava/util/Optional; ?(Ljava/lang/String;)Ljava/util/Optional; s Ljava/util/stream/Stream; -Ljava/util/stream/Stream; /()Ljava/util/stream/Stream;
SourceFile ModulePatcher.java NestHost InnerClasses JarResourceFinder ExplodedResourceFinder PatchedModuleReader ResourceFinder ! 1 ? ? @ ? ? C D K L B j k ? ?
? ? ? ?*? ? Y? N6+?
:? ? A? ? :? ? ? -? $Y? &? ) W? -? -Y? /? ) W???6? $-? 0? :? 8Y? :?:? -? 0?*-? =*,? A*,? E? I? b n 6 b z n | z ? J ? ? ? ? - ? 9 ? L ? \ ? _ ? b ? n ? p ? z ? ? ? ? ? ? ? ? ? ? ? ? H - / ? ? p
? ? ? ? ? ? ? @ ? C D ? ? @ ? ? ? ? ? ? ? ? ? ? ? 8 ? 1 S ? 4 ? ? N 6K ??
?? ? ?
4 5 ? ? (*?
L+? ? +? ? MM,? O ? N??? # 6 ? $ ' ?
? ? ( ? @ ? ( ? ? ? ! ? ? M 6? ? ? ?
G H ? ? *? RL+? X? +? ]? `? b?? L? f ? ? ? ? C D ? ? ? ? B f j o ? ? /*? hL+? '*YM?*? hL+? **? A? lYL? h,ç N,?-?+?
% ( ( + ( ? "
#! -# ? / ? ? * ? k ? ? # ? D ?? ? 6 } z ? ? <+p? r? 4*? =?
M,? ? !,? ? MN-+? w :? ????? ? + , &- /. 4/ 70 :2 ? * / ? ? &