META-INF.modules.java.base.classes.sun.util.resources.Bundles.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
???? :R
java/lang/Object ()V
sun/util/resources/Bundles loadBundleOf e(Ljava/lang/String;Ljava/util/Locale;Lsun/util/resources/Bundles$Strategy;)Ljava/util/ResourceBundle;
java/util/Objects requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; #sun/util/resources/Bundles$CacheKey
'(Ljava/lang/String;Ljava/util/Locale;)V cacheList $Ljava/util/concurrent/ConcurrentMap; "java/util/concurrent/ConcurrentMap get " *sun/util/resources/Bundles$BundleReference
! $ % ()Ljava/lang/Object; ' java/util/ResourceBundle
) * +
isValidBundle (Ljava/util/ResourceBundle;)Z - . / 0 1 #sun/util/resources/Bundles$Strategy getResourceBundleProviderType 7(Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/Class;
3 4 5 6 7 java/util/ServiceLoader
loadInstalled ,(Ljava/lang/Class;)Ljava/util/ServiceLoader;
9 : ; setProviders (Ljava/util/ServiceLoader;)V - = > ? getCandidateLocales 6(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/List;
A B C findBundleOf ?(Lsun/util/resources/Bundles$CacheKey;Lsun/util/resources/Bundles$Strategy;Ljava/lang/String;Ljava/util/List;I)Ljava/util/ResourceBundle;
E F G getCause ()Ljava/lang/Throwable;
I J K throwMissingResourceException <(Ljava/lang/String;Ljava/util/Locale;Ljava/lang/Throwable;)V M N O P java/util/List (I)Ljava/lang/Object; R java/util/Locale M T U V size ()I
X Y cleanupCache
[ \ ] setLocale 9(Ljava/util/Locale;)Lsun/util/resources/Bundles$CacheKey;
_ ` a findBundleInCache A(Lsun/util/resources/Bundles$CacheKey;)Ljava/util/ResourceBundle; c d e NONEXISTENT_BUNDLE Ljava/util/ResourceBundle; g h i bundleAccess 2Ljdk/internal/access/JavaUtilResourceBundleAccess; k l m n o 0jdk/internal/access/JavaUtilResourceBundleAccess getParent 6(Ljava/util/ResourceBundle;)Ljava/util/ResourceBundle; q r s remove '(Ljava/lang/Object;Ljava/lang/Object;)Z
u v w getProviders ()Ljava/util/ServiceLoader;
y z % clone
| } ~ loadBundleFromProviders ~(Ljava/lang/String;Ljava/util/Locale;Ljava/util/ServiceLoader;Lsun/util/resources/Bundles$CacheKey;)Ljava/util/ResourceBundle; - ? ? ? toBundleName 8(Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/String;
? ? ? ? ? java/lang/Class getModule ()Ljava/lang/Module;
? ? ? ? forName 7(Ljava/lang/Module;Ljava/lang/String;)Ljava/lang/Class;
? ? ? ? isAssignableFrom (Ljava/lang/Class;)Z k ? ? ? newResourceBundle -(Ljava/lang/Class;)Ljava/util/ResourceBundle; ? java/lang/Exception
? ? ? setCause (Ljava/lang/Throwable;)V ? java/lang/InterruptedException
? ? ? ? ? java/lang/Thread
currentThread ()Ljava/lang/Thread;
? ? ? interrupt
? ? ? putBundleInCache [(Lsun/util/resources/Bundles$CacheKey;Ljava/util/ResourceBundle;)Ljava/util/ResourceBundle; k ? ? ? setParent 7(Ljava/util/ResourceBundle;Ljava/util/ResourceBundle;)V k ? \ ? /(Ljava/util/ResourceBundle;Ljava/util/Locale;)V k ? ? ? setName /(Ljava/util/ResourceBundle;Ljava/lang/String;)V ? ? ? referenceQueue Ljava/lang/ref/ReferenceQueue;
? ? ? ? ? java/lang/ref/ReferenceQueue poll ()Ljava/lang/ref/Reference; ? ,sun/util/resources/Bundles$CacheKeyReference ? ? ? ? getCacheKey '()Lsun/util/resources/Bundles$CacheKey; ? r ? sun/util/resources/Bundles$2
? ? ? e(Ljava/util/ServiceLoader;Ljava/lang/String;Ljava/util/Locale;Lsun/util/resources/Bundles$CacheKey;)V
? ? ? ? ? java/security/AccessController doPrivileged 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object; ? "java/util/MissingResourceException ? java/lang/StringBuilder
? ? Can't find bundle for base name
? ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? , locale
? ? ? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
? ? ? ? toString ()Ljava/lang/String; ? _ ?
? ? ? 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
? ? ? ? initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable;
! ? ? `(Ljava/util/ResourceBundle;Ljava/lang/ref/ReferenceQueue;Lsun/util/resources/Bundles$CacheKey;)V ? ? ? putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
! ? ? clear ? ? ? put ? sun/util/resources/Bundles$1
?
!jdk/internal/access/SharedSecrets getJavaUtilResourceBundleAccess 4()Ljdk/internal/access/JavaUtilResourceBundleAccess; &java/util/concurrent/ConcurrentHashMap
(I)V
? INITIAL_CACHE_SIZE I
ConstantValue Signature wLjava/util/concurrent/ConcurrentMap; 2Ljava/lang/ref/ReferenceQueue; Code LineNumberTable LocalVariableTable this Lsun/util/resources/Bundles; of baseName Ljava/lang/String; locale Ljava/util/Locale; strategy %Lsun/util/resources/Bundles$Strategy; providers Ljava/util/ServiceLoader; targetLocale cacheKey %Lsun/util/resources/Bundles$CacheKey; bundle bundleRef ,Lsun/util/resources/Bundles$BundleReference; type Ljava/lang/Class; candidateLocales Ljava/util/List; LocalVariableTypeTable ALjava/util/ServiceLoader; :Ljava/lang/Class<+Ljava/util/spi/ResourceBundleProvider;>; $Ljava/util/List;
StackMapTable bundleClass
bundleName c e Ljava/lang/Exception; index parent constKey -Ljava/lang/Class; Ljava/lang/Class<*>;< java/lang/Throwable> java/lang/String ?(Lsun/util/resources/Bundles$CacheKey;Lsun/util/resources/Bundles$Strategy;Ljava/lang/String;Ljava/util/List;I)Ljava/util/ResourceBundle; ref Ljava/lang/Object; ?(Ljava/lang/String;Ljava/util/Locale;Ljava/util/ServiceLoader;Lsun/util/resources/Bundles$CacheKey;)Ljava/util/ResourceBundle; cause Ljava/lang/Throwable; $Ljava/util/MissingResourceException; rb key result
SourceFile Bundles.java NestMembers InnerClasses Strategy CacheKey BundleReference CacheKeyReference!
d e h i ? ? 3 *? ?
f g E *+,? ? j
? ?*?
W+?
W,?
W? Y*+? N:? -? ? !:?
? #? &:? (? ?,*+? , :? ? 2:-? 8,*+? < :-,*? @:? *+-? D? H? V p q
r t v y * z / { 9 ? A ? D ? G ? N ? S ? U ? Z ? ` ? j ? u ? z ? ? ? \ Z ! ? ?" ? m#$ j% e * \&' N 8() j *+ , Z - N 8(. j */ 0 ? 9 & !
? ?? " M
B C ? v:-? L ? Q:-? S d? *+,-`? @:? W*? ZW*? ^:? I? b? ?? f? j ? ?? *? ? !:? ? #? ? *? p W*? t:? +,? , ? :*? x? : ? ,*? {:? D+,? :
? ?
? ?:? &? ?? :? f? ? :? :
*
? ? ? D? ?? "? ?? ?? :
? D? ?? ? ?? ?
?? *? b? ?W?? ? f? j ? ? f? ? ? f? ? ? f,? ? *? ?:? ? ? ? ? ? ? ? , ? ? ? ? * ? - ? 4 ? : ? ? ? G ? J ? Y ? \ ? j ? y ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?# ?&