META-INF.modules.java.base.classes.jdk.internal.jimage.BasicImageReader.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
???? 6a +,
-
./0
1
?2
345 67 8 9 : ;<
=>
?@ AB CD
EFG
H IJ
EK
EL
IM
?N
EO
?PQR
!2S
!TU
!9
V
?W
X
Y Z
I[ \
?] ^_`
Ia
Ib c
Id
Ie f
Ig
Ih
i j
Ik
Il mn
?H op
B2 q
r
s
It
Iuv????
Iw
Ixy
!z{
?|
?}
?~
?
??
??
E?
I?
??
??
??
?
]??
]?
??
??
]?
?W
???? ??? ????? ????
]?
??? ?
oV
]?
??
??? ????
!?? ???
|V
???
?????
?V
?
?
?
?
]?
]?
]???
? ?
B?
???
??
??
]????
? ??????? InnerClasses IS_64_BIT Z USE_JVM_MAP MAP_ALL imagePath Ljava/nio/file/Path; byteOrder Ljava/nio/ByteOrder; name Ljava/lang/String; memoryMap Ljava/nio/ByteBuffer; channel Ljava/nio/channels/FileChannel; header !Ljdk/internal/jimage/ImageHeader; indexSize J redirect Ljava/nio/IntBuffer; offsets locations strings
stringsReader (Ljdk/internal/jimage/ImageStringsReader; decompressor /Ljdk/internal/jimage/decompressor/Decompressor; isSystemProperty 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z Code LineNumberTable LocalVariableTable key value def +(Ljava/nio/file/Path;Ljava/nio/ByteOrder;)V map this &Ljdk/internal/jimage/BasicImageReader; path headerBuffer
headerSize I
StackMapTable?
Exceptions (Ljava/nio/file/Path;)V open <(Ljava/nio/file/Path;)Ljdk/internal/jimage/BasicImageReader; getHeader #()Ljdk/internal/jimage/ImageHeader;
readHeader 7(Ljava/nio/IntBuffer;)Ljdk/internal/jimage/ImageHeader; buffer result slice .(Ljava/nio/ByteBuffer;II)Ljava/nio/ByteBuffer; position capacity? intBuffer -(Ljava/nio/ByteBuffer;II)Ljava/nio/IntBuffer; offset size releaseByteBuffer (Ljava/nio/ByteBuffer;)V getName ()Ljava/lang/String; getByteOrder ()Ljava/nio/ByteOrder; getImagePath ()Ljava/nio/file/Path; close ()V
getStrings *()Ljdk/internal/jimage/ImageStringsReader; findLocation I(Ljava/lang/String;Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation; module count index
attributes [J ? 7(Ljava/lang/String;)Ljdk/internal/jimage/ImageLocation;
getEntryNames ()[Ljava/lang/String; attributeOffsets [I getLocation &(I)Ljdk/internal/jimage/ImageLocation;
getAttributes (I)[J getString (I)Ljava/lang/String; getBufferBytes (Ljava/nio/ByteBuffer;)[B bytes [B
readBuffer (JJ)Ljava/nio/ByteBuffer; read ex Ljava/io/IOException; getResource (Ljava/lang/String;)[B location #Ljdk/internal/jimage/ImageLocation; '(Ljdk/internal/jimage/ImageLocation;)[B loc getResourceBuffer :(Ljdk/internal/jimage/ImageLocation;)Ljava/nio/ByteBuffer; bytesOut bytesIn compressedSize uncompressedSize getResourceStream :(Ljdk/internal/jimage/ImageLocation;)Ljava/io/InputStream; lambda$getResourceBuffer$3 strOffset lambda$getEntryNames$2 (I)[Ljava/lang/String; x$0 lambda$getEntryNames$1 o lambda$getEntryNames$0 (I)Z
access$000 G(Ljdk/internal/jimage/BasicImageReader;)Ljava/nio/channels/FileChannel; x0
SourceFile BasicImageReader.java ? ? &jdk/internal/jimage/BasicImageReader$1 ????? java/lang/Boolean?? ? ???? java/nio/file/Path ? ? java/nio/ByteOrder ? ?? ? ? ? ? ? $jdk/internal/jimage/BasicImageReader?????? ? ? java/nio/file/OpenOption???? ?? &jdk/internal/jimage/BasicImageReader$2 ????? ?? ??????
??? java/io/IOException java/lang/StringBuilder "?? " is not an image file ?? ?? ? ? ? ? ? ??? ? ??? ? ? The image file " " is corrupted ?? ? ??? ? ??? ? ? ? ??? ? ? &jdk/internal/jimage/ImageStringsReader ? ? -jdk/internal/jimage/decompressor/Decompressor ? ? ? ? ? ?
? jdk/internal/jimage/ImageHeader?? %" is not the correct version. Major: ?
. Minor: ? ?? ?? ? ? ?? !jdk/internal/jimage/ImageLocation ? !"#$% BootstrapMethods&$'()*+,-./012345.678 [Ljava/lang/String; 9? #java/lang/IndexOutOfBoundsException:;<=> java/lang/Integer Bad offset: ??
Bad size: @ ? java/lang/InternalError Image file channel not openAB java/lang/RuntimeException ?C Short read: instead of bytes ? ?
D?E?F? Bad compressed size: Bad uncompressed size: GJKLM> java/io/ByteArrayInputStream ?N java/lang/StringO ? sun.arch.data.model 64 32 ? ? ? ? jdk.image.use.jvm.map true jdk.image.map.all false java/lang/Object java/lang/AutoCloseable java/nio/ByteBuffer java/lang/Throwable 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V java/security/AccessController doPrivileged 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object; booleanValue ()Z java/util/Objects requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; toString java/lang/Class getClassLoader ()Ljava/lang/ClassLoader; %jdk/internal/jimage/NativeImageBuffer getNativeMap )(Ljava/lang/String;)Ljava/nio/ByteBuffer; java/nio/file/StandardOpenOption READ "Ljava/nio/file/StandardOpenOption; java/nio/channels/FileChannel P(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/FileChannel; )(Ljdk/internal/jimage/BasicImageReader;)V %java/nio/channels/FileChannel$MapMode MapMode READ_ONLY 'Ljava/nio/channels/FileChannel$MapMode; ()J F(Ljava/nio/channels/FileChannel$MapMode;JJ)Ljava/nio/MappedByteBuffer;
getHeaderSize ()I allocateDirect (I)Ljava/nio/ByteBuffer; (Ljava/nio/ByteBuffer;J)I rewind ()Ljava/nio/ByteBuffer; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (Ljava/lang/String;)V getIndexSize asReadOnlyBuffer getRedirectOffset getRedirectSize getOffsetsOffset getOffsetsSize getLocationsOffset getLocationsSize getStringsOffset getStringsSize nativeOrder readFrom getMagic getMajorVersion getMinorVersion (I)Ljava/lang/StringBuilder; limit order +(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer; asIntBuffer ()Ljava/nio/IntBuffer; $jdk/internal/jimage/ImageBufferCache
releaseBuffer getTableLength hashCode '(Ljava/lang/String;Ljava/lang/String;)I java/nio/IntBuffer get (I)I ((Ljava/lang/String;Ljava/lang/String;I)I verify K(Ljava/lang/String;Ljava/lang/String;[JLjdk/internal/jimage/ImageStrings;)Z '([JLjdk/internal/jimage/ImageStrings;)V (Ljava/lang/String;)I (Ljava/lang/String;I)I 9(Ljava/lang/String;[JLjdk/internal/jimage/ImageStrings;)Z ([I)Ljava/nio/IntBuffer; java/util/stream/IntStream of ([I)Ljava/util/stream/IntStream;
PQ
R test #()Ljava/util/function/IntPredicate; filter ?(Ljava/util/function/IntPredicate;)Ljava/util/stream/IntStream; (I)Ljava/lang/Object;
S apply H(Ljdk/internal/jimage/BasicImageReader;)Ljava/util/function/IntFunction; mapToObj ;(Ljava/util/function/IntFunction;)Ljava/util/stream/Stream; java/util/stream/Stream sorted ()Ljava/util/stream/Stream;
T "()Ljava/util/function/IntFunction; toArray 5(Ljava/util/function/IntFunction;)[Ljava/lang/Object; L(Ljdk/internal/jimage/BasicImageReader;I)Ljdk/internal/jimage/ImageLocation;
decompress (Ljava/nio/ByteBuffer;)[J stringFromByteBuffer )(Ljava/nio/ByteBuffer;)Ljava/lang/String; ([B)Ljava/nio/ByteBuffer; (J)Ljava/lang/StringBuilder;
BIG_ENDIAN getBuffer (J)Ljava/nio/ByteBuffer; (Ljava/lang/Throwable;)V getContentOffset getCompressedSize getUncompressedSize
UW StringsProvider o(Ljdk/internal/jimage/BasicImageReader;)Ljdk/internal/jimage/decompressor/ResourceDecompressor$StringsProvider; decompressResource a(Ljava/nio/ByteOrder;Ljdk/internal/jimage/decompressor/ResourceDecompressor$StringsProvider;[B)[B wrap ([B)V getFullNameXY\#$!] Ejdk/internal/jimage/decompressor/ResourceDecompressor$StringsProvider "java/lang/invoke/LambdaMetafactory metafactory_ Lookup ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; 5jdk/internal/jimage/decompressor/ResourceDecompressor` %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? R ? Y+*,? ? ? ? ? ? 6 ? ? ? ? ? ? ? ? ? ? ?*? *+? ? ?
*,? ? ? **?
?
? ? ? ? ? *? ? N? N-? ? ? *? ? $**?
? Y? S? ? ? Y*? ? W? ? -? *? ? *? ? ? N-:? 6? E? :*? ? ? ? W? S? Y? !Y? "#? $*? ? $%? $? &? '?? (? &? Y? !Y? "#? $*? ? $%? $? &? '?***? )? *? +**? +? ,?? --? *? ? *? -? N*-? .? /*? /? (?*? -?? &? Y? !Y? "0? $*? ? $1? $? &? '?***? /*? +? 2*? +? 3? )? 4***? /*? +? 5*? +? 6? )? 7**? /*? +? 8*? +? 9? :? ;**? /*? +? <*? +? =? :? >*? ?Y*? @? A*? BY? C? D? ? ? $ U V W X ' \ 5 _ @ a B e L f T h i j u ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?+ ?/ ?? ?G ?W ?z ?? ?? ?? ?? ?? ?? ? ? H = ? ? ? ? ? ? ? ? ? ? ? B? ? ? ?c ? ? ?^ ? ? ? &