META-INF.modules.java.base.classes.jdk.internal.module.SystemModuleFinders$SystemModuleReader.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/System getSecurityManager ()Ljava/lang/SecurityManager;
java/net/URI toURL ()Ljava/net/URL;
java/net/URL openConnection ()Ljava/net/URLConnection;
java/net/URLConnection
getPermission ()Ljava/security/Permission;
java/lang/SecurityManager checkPermission (Ljava/security/Permission;)V java/io/IOException " java/io/UncheckedIOException
! $ % & (Ljava/io/IOException;)V
( ) * % + java/lang/Object ()V
- . / 0 1 :jdk/internal/module/SystemModuleFinders$SystemModuleReader checkPermissionToConnect (Ljava/net/URI;)V - 3 4 5 module Ljava/lang/String;
7 8 9 : ; java/util/Objects requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; - = > ? closed Z A ModuleReader is closed
C % D (Ljava/lang/String;)V
F G H I J 3jdk/internal/module/SystemModuleFinders$SystemImage reader #()Ljdk/internal/jimage/ImageReader;
L M N O P jdk/internal/jimage/ImageReader findLocation I(Ljava/lang/String;Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation;
- R S T findImageLocation 7(Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation; V java/lang/StringBuilder
U ) Y jrt:/
U [ \ ] append -(Ljava/lang/String;)Ljava/lang/StringBuilder; _ /
U a b c toString ()Ljava/lang/String;
e f g create "(Ljava/lang/String;)Ljava/net/URI;
i j k l m java/util/Optional of ((Ljava/lang/Object;)Ljava/util/Optional;
i o p q empty ()Ljava/util/Optional;
- s t u read ((Ljava/lang/String;)Ljava/util/Optional; w x y apply [(Ljdk/internal/module/SystemModuleFinders$SystemModuleReader;)Ljava/util/function/Function;
i { | } map 3(Ljava/util/function/Function;)Ljava/util/Optional;
? ? ? ? java/nio/ByteBuffer remaining ()I
? ? ? get ([B)Ljava/nio/ByteBuffer; ? java/io/ByteArrayInputStream
? ? % ? ([B)V
- ? ? ? release (Ljava/nio/ByteBuffer;)V
L ? ? ? getResourceBuffer :(Ljdk/internal/jimage/ImageLocation;)Ljava/nio/ByteBuffer;
L ? ? ? releaseByteBuffer ? @jdk/internal/module/SystemModuleFinders$ModuleContentSpliterator
? C
? ? ? ? ? java/util/stream/StreamSupport stream 3(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream; ? java/lang/module/ModuleReader Code LineNumberTable LocalVariableTable uc Ljava/net/URLConnection; ioe Ljava/io/IOException; uri Ljava/net/URI; sm Ljava/lang/SecurityManager;
StackMapTable #(Ljava/lang/String;Ljava/net/URI;)V this