public final class sun.util.LocaleServiceProviderPool
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.util.LocaleServiceProviderPool
super_class: java.lang.Object
{
private static java.util.Map<java.lang.Class, sun.util.LocaleServiceProviderPool> poolOfPools;
descriptor: Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Map<Ljava/lang/Class;Lsun/util/LocaleServiceProviderPool;>;
private java.util.Set<java.util.spi.LocaleServiceProvider> providers;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/util/spi/LocaleServiceProvider;>;
private java.util.Map<java.util.Locale, java.util.spi.LocaleServiceProvider> providersCache;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/util/Locale;Ljava/util/spi/LocaleServiceProvider;>;
private java.util.Set<java.util.Locale> availableLocales;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/util/Locale;>;
private static java.util.List<java.util.Locale> availableJRELocales;
descriptor: Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/List<Ljava/util/Locale;>;
private java.util.Set<java.util.Locale> providerLocales;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/util/Locale;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
1: putstatic sun.util.LocaleServiceProviderPool.poolOfPools:Ljava/util/Map;
2: aconst_null
putstatic sun.util.LocaleServiceProviderPool.availableJRELocales:Ljava/util/List;
return
LocalVariableTable:
Start End Slot Name Signature
public static sun.util.LocaleServiceProviderPool getPool(java.lang.Class<? extends java.util.spi.LocaleServiceProvider>);
descriptor: (Ljava/lang/Class;)Lsun/util/LocaleServiceProviderPool;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic sun.util.LocaleServiceProviderPool.poolOfPools:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.LocaleServiceProviderPool
astore 1
start local 1 1: aload 1
ifnonnull 7
2: new sun.util.LocaleServiceProviderPool
dup
aload 0
invokespecial sun.util.LocaleServiceProviderPool.<init>:(Ljava/lang/Class;)V
3: astore 2
start local 2 4: getstatic sun.util.LocaleServiceProviderPool.poolOfPools:Ljava/util/Map;
aload 0
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.LocaleServiceProviderPool
astore 1
5: aload 1
ifnonnull 7
6: aload 2
astore 1
end local 2 7: StackMap locals: sun.util.LocaleServiceProviderPool
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 providerClass Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;
1 8 1 pool Lsun/util/LocaleServiceProviderPool;
4 7 2 newPool Lsun/util/LocaleServiceProviderPool;
Signature: (Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;)Lsun/util/LocaleServiceProviderPool;
MethodParameters:
Name Flags
providerClass
private void <init>(java.lang.Class<? extends java.util.spi.LocaleServiceProvider>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
putfield sun.util.LocaleServiceProviderPool.providers:Ljava/util/Set;
3: aload 0
4: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield sun.util.LocaleServiceProviderPool.providersCache:Ljava/util/Map;
5: aload 0
aconst_null
putfield sun.util.LocaleServiceProviderPool.availableLocales:Ljava/util/Set;
6: aload 0
aconst_null
putfield sun.util.LocaleServiceProviderPool.providerLocales:Ljava/util/Set;
7: new sun.util.LocaleServiceProviderPool$1
dup
aload 0
aload 1
invokespecial sun.util.LocaleServiceProviderPool$1.<init>:(Lsun/util/LocaleServiceProviderPool;Ljava/lang/Class;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
pop
8: goto 11
StackMap locals: sun.util.LocaleServiceProviderPool java.lang.Class
StackMap stack: java.security.PrivilegedActionException
9: astore 2
start local 2 10: ldc "sun.util.LocaleServiceProviderPool"
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
aload 2
invokevirtual java.security.PrivilegedActionException.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.config:(Ljava/lang/String;)V
end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/util/LocaleServiceProviderPool;
0 12 1 c Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;
10 11 2 e Ljava/security/PrivilegedActionException;
Exception table:
from to target type
7 8 9 Class java.security.PrivilegedActionException
Signature: (Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;)V
MethodParameters:
Name Flags
c final
public static java.util.Locale[] getAllAvailableLocales();
descriptor: ()[Ljava/util/Locale;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.util.LocaleServiceProviderPool$AllAvailableLocales.allAvailableLocales:[Ljava/util/Locale;
invokevirtual java.util.Locale[].clone:()Ljava/lang/Object;
checkcast java.util.Locale[]
areturn
LocalVariableTable:
Start End Slot Name Signature
public synchronized java.util.Locale[] getAvailableLocales();
descriptor: ()[Ljava/util/Locale;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.util.LocaleServiceProviderPool.availableLocales:Ljava/util/Set;
ifnonnull 4
1: aload 0
new java.util.HashSet
dup
aload 0
invokevirtual sun.util.LocaleServiceProviderPool.getJRELocales:()Ljava/util/List;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
putfield sun.util.LocaleServiceProviderPool.availableLocales:Ljava/util/Set;
2: aload 0
invokevirtual sun.util.LocaleServiceProviderPool.hasProviders:()Z
ifeq 4
3: aload 0
getfield sun.util.LocaleServiceProviderPool.availableLocales:Ljava/util/Set;
aload 0
invokevirtual sun.util.LocaleServiceProviderPool.getProviderLocales:()Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.LocaleServiceProviderPool.availableLocales:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
anewarray java.util.Locale
astore 1
start local 1 5: aload 0
getfield sun.util.LocaleServiceProviderPool.availableLocales:Ljava/util/Set;
aload 1
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/util/LocaleServiceProviderPool;
5 7 1 tmp [Ljava/util/Locale;
private synchronized java.util.Set<java.util.Locale> getProviderLocales();
descriptor: ()Ljava/util/Set;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=8, args_size=1
start local 0 0: aload 0
getfield sun.util.LocaleServiceProviderPool.providerLocales:Ljava/util/Set;
ifnonnull 12
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield sun.util.LocaleServiceProviderPool.providerLocales:Ljava/util/Set;
2: aload 0
invokevirtual sun.util.LocaleServiceProviderPool.hasProviders:()Z
ifeq 12
3: aload 0
getfield sun.util.LocaleServiceProviderPool.providers:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
goto 11
StackMap locals: sun.util.LocaleServiceProviderPool top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.spi.LocaleServiceProvider
astore 1
start local 1 5: aload 1
invokevirtual java.util.spi.LocaleServiceProvider.getAvailableLocales:()[Ljava/util/Locale;
astore 3
start local 3 6: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 10
StackMap locals: sun.util.LocaleServiceProviderPool java.util.spi.LocaleServiceProvider java.util.Iterator java.util.Locale[] top int int java.util.Locale[]
StackMap stack:
7: aload 7
iload 5
aaload
astore 4
start local 4 8: aload 0
getfield sun.util.LocaleServiceProviderPool.providerLocales:Ljava/util/Set;
aload 4
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 4 9: iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
iload 6
if_icmplt 7
end local 3 end local 1 11: StackMap locals: sun.util.LocaleServiceProviderPool top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
12: StackMap locals: sun.util.LocaleServiceProviderPool
StackMap stack:
aload 0
getfield sun.util.LocaleServiceProviderPool.providerLocales:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/util/LocaleServiceProviderPool;
5 11 1 lsp Ljava/util/spi/LocaleServiceProvider;
6 11 3 locales [Ljava/util/Locale;
8 9 4 locale Ljava/util/Locale;
Signature: ()Ljava/util/Set<Ljava/util/Locale;>;
public boolean hasProviders();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.util.LocaleServiceProviderPool.providers:Ljava/util/Set;
invokeinterface java.util.Set.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/util/LocaleServiceProviderPool;
private synchronized java.util.List<java.util.Locale> getJRELocales();
descriptor: ()Ljava/util/List;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.util.LocaleServiceProviderPool.availableJRELocales:Ljava/util/List;
ifnonnull 3
1: invokestatic sun.util.resources.LocaleData.getAvailableLocales:()[Ljava/util/Locale;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
2: putstatic sun.util.LocaleServiceProviderPool.availableJRELocales:Ljava/util/List;
3: StackMap locals:
StackMap stack:
getstatic sun.util.LocaleServiceProviderPool.availableJRELocales:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/util/LocaleServiceProviderPool;
Signature: ()Ljava/util/List<Ljava/util/Locale;>;
private boolean isJRESupported(java.util.Locale);
descriptor: (Ljava/util/Locale;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.util.LocaleServiceProviderPool.getJRELocales:()Ljava/util/List;
astore 2
start local 2 1: aload 2
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/util/LocaleServiceProviderPool;
0 2 1 locale Ljava/util/Locale;
1 2 2 locales Ljava/util/List<Ljava/util/Locale;>;
MethodParameters:
Name Flags
locale
public <P, S> S getLocalizedObject(sun.util.LocaleServiceProviderPool$LocalizedObjectGetter<P, S>, java.util.Locale, []);
descriptor: (Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=8, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iconst_1
aconst_null
aconst_null
aconst_null
aload 3
invokevirtual sun.util.LocaleServiceProviderPool.getLocalizedObjectImpl:(Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;ZLjava/lang/String;Lsun/util/resources/OpenListResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/LocaleServiceProviderPool;
0 1 1 getter Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;
0 1 2 locale Ljava/util/Locale;
0 1 3 params [Ljava/lang/Object;
Signature: <P:Ljava/lang/Object;S:Ljava/lang/Object;>(Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;Ljava/util/Locale;[Ljava/lang/Object;)TS;
MethodParameters:
Name Flags
getter
locale
params
public <P, S> S getLocalizedObject(sun.util.LocaleServiceProviderPool$LocalizedObjectGetter<P, S>, java.util.Locale, sun.util.resources.OpenListResourceBundle, java.lang.String, []);
descriptor: (Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;Lsun/util/resources/OpenListResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
iconst_0
aconst_null
aload 3
aload 4
aload 5
invokevirtual sun.util.LocaleServiceProviderPool.getLocalizedObjectImpl:(Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;ZLjava/lang/String;Lsun/util/resources/OpenListResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/LocaleServiceProviderPool;
0 1 1 getter Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;
0 1 2 locale Ljava/util/Locale;
0 1 3 bundle Lsun/util/resources/OpenListResourceBundle;
0 1 4 key Ljava/lang/String;
0 1 5 params [Ljava/lang/Object;
Signature: <P:Ljava/lang/Object;S:Ljava/lang/Object;>(Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;Ljava/util/Locale;Lsun/util/resources/OpenListResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)TS;
MethodParameters:
Name Flags
getter
locale
bundle
key
params
public <P, S> S getLocalizedObject(sun.util.LocaleServiceProviderPool$LocalizedObjectGetter<P, S>, java.util.Locale, java.lang.String, sun.util.resources.OpenListResourceBundle, java.lang.String, []);
descriptor: (Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;Ljava/lang/String;Lsun/util/resources/OpenListResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=8, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
aload 2
iconst_0
aload 3
aload 4
aload 5
aload 6
invokevirtual sun.util.LocaleServiceProviderPool.getLocalizedObjectImpl:(Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;ZLjava/lang/String;Lsun/util/resources/OpenListResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/LocaleServiceProviderPool;
0 1 1 getter Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;
0 1 2 locale Ljava/util/Locale;
0 1 3 bundleKey Ljava/lang/String;
0 1 4 bundle Lsun/util/resources/OpenListResourceBundle;
0 1 5 key Ljava/lang/String;
0 1 6 params [Ljava/lang/Object;
Signature: <P:Ljava/lang/Object;S:Ljava/lang/Object;>(Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;Ljava/util/Locale;Ljava/lang/String;Lsun/util/resources/OpenListResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)TS;
MethodParameters:
Name Flags
getter
locale
bundleKey
bundle
key
params
private <P, S> S getLocalizedObjectImpl(sun.util.LocaleServiceProviderPool$LocalizedObjectGetter<P, S>, java.util.Locale, boolean, java.lang.String, sun.util.resources.OpenListResourceBundle, java.lang.String, []);
descriptor: (Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;ZLjava/lang/String;Lsun/util/resources/OpenListResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=5, locals=12, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
invokevirtual sun.util.LocaleServiceProviderPool.hasProviders:()Z
ifeq 31
1: aload 4
ifnonnull 3
2: aload 6
astore 4
3: StackMap locals:
StackMap stack:
aload 5
ifnull 4
aload 5
invokevirtual sun.util.resources.OpenListResourceBundle.getLocale:()Ljava/util/Locale;
goto 5
StackMap locals:
StackMap stack:
4: aconst_null
StackMap locals:
StackMap stack: java.util.Locale
5: astore 8
start local 8 6: aload 2
astore 9
start local 9 7: aconst_null
astore 11
start local 11 8: goto 19
9: StackMap locals: sun.util.LocaleServiceProviderPool sun.util.LocaleServiceProviderPool$LocalizedObjectGetter java.util.Locale int java.lang.String sun.util.resources.OpenListResourceBundle java.lang.String java.lang.Object[] java.util.Locale java.util.Locale top java.lang.Object
StackMap stack:
aload 0
aload 2
invokevirtual sun.util.LocaleServiceProviderPool.findProvider:(Ljava/util/Locale;)Ljava/util/spi/LocaleServiceProvider;
astore 10
start local 10 10: aload 10
ifnull 18
11: aload 1
aload 10
aload 9
aload 6
aload 7
invokeinterface sun.util.LocaleServiceProviderPool$LocalizedObjectGetter.getObject:(Ljava/lang/Object;Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
astore 11
12: aload 11
ifnull 14
13: aload 11
areturn
14: StackMap locals: sun.util.LocaleServiceProviderPool sun.util.LocaleServiceProviderPool$LocalizedObjectGetter java.util.Locale int java.lang.String sun.util.resources.OpenListResourceBundle java.lang.String java.lang.Object[] java.util.Locale java.util.Locale java.lang.Object java.lang.Object
StackMap stack:
iload 3
ifeq 18
15: ldc "sun.util.LocaleServiceProviderPool"
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
16: new java.lang.StringBuilder
dup
ldc "A locale sensitive service provider returned null for a localized objects, which should not happen. provider: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " locale: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokevirtual java.util.logging.Logger.config:(Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
aload 2
invokestatic sun.util.LocaleServiceProviderPool.getParentLocale:(Ljava/util/Locale;)Ljava/util/Locale;
astore 2
end local 10 19: StackMap locals: sun.util.LocaleServiceProviderPool sun.util.LocaleServiceProviderPool$LocalizedObjectGetter java.util.Locale int java.lang.String sun.util.resources.OpenListResourceBundle java.lang.String java.lang.Object[] java.util.Locale java.util.Locale top java.lang.Object
StackMap stack:
aload 0
aload 2
aload 8
invokevirtual sun.util.LocaleServiceProviderPool.findProviderLocale:(Ljava/util/Locale;Ljava/util/Locale;)Ljava/util/Locale;
dup
astore 2
ifnonnull 9
20: goto 30
21: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.util.resources.OpenListResourceBundle.getLocale:()Ljava/util/Locale;
astore 8
22: aload 5
invokevirtual sun.util.resources.OpenListResourceBundle.handleGetKeys:()Ljava/util/Set;
aload 4
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 24
23: aconst_null
areturn
24: StackMap locals:
StackMap stack:
aload 0
aload 8
invokevirtual sun.util.LocaleServiceProviderPool.findProvider:(Ljava/util/Locale;)Ljava/util/spi/LocaleServiceProvider;
astore 10
start local 10 25: aload 10
ifnull 29
26: aload 1
aload 10
aload 9
aload 6
aload 7
invokeinterface sun.util.LocaleServiceProviderPool$LocalizedObjectGetter.getObject:(Ljava/lang/Object;Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
astore 11
27: aload 11
ifnull 29
28: aload 11
areturn
29: StackMap locals: sun.util.LocaleServiceProviderPool sun.util.LocaleServiceProviderPool$LocalizedObjectGetter java.util.Locale int java.lang.String sun.util.resources.OpenListResourceBundle java.lang.String java.lang.Object[] java.util.Locale java.util.Locale java.lang.Object java.lang.Object
StackMap stack:
aload 5
invokevirtual sun.util.resources.OpenListResourceBundle.getParent:()Lsun/util/resources/OpenListResourceBundle;
astore 5
end local 10 30: StackMap locals: sun.util.LocaleServiceProviderPool sun.util.LocaleServiceProviderPool$LocalizedObjectGetter java.util.Locale int java.lang.String sun.util.resources.OpenListResourceBundle java.lang.String java.lang.Object[] java.util.Locale java.util.Locale top java.lang.Object
StackMap stack:
aload 5
ifnonnull 21
end local 11 end local 9 end local 8 31: StackMap locals: sun.util.LocaleServiceProviderPool sun.util.LocaleServiceProviderPool$LocalizedObjectGetter java.util.Locale int java.lang.String sun.util.resources.OpenListResourceBundle java.lang.String java.lang.Object[]
StackMap stack:
aconst_null
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lsun/util/LocaleServiceProviderPool;
0 32 1 getter Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;
0 32 2 locale Ljava/util/Locale;
0 32 3 isObjectProvider Z
0 32 4 bundleKey Ljava/lang/String;
0 32 5 bundle Lsun/util/resources/OpenListResourceBundle;
0 32 6 key Ljava/lang/String;
0 32 7 params [Ljava/lang/Object;
6 31 8 bundleLocale Ljava/util/Locale;
7 31 9 requested Ljava/util/Locale;
10 19 10 lsp TP;
25 30 10 lsp TP;
8 31 11 providersObj TS;
Signature: <P:Ljava/lang/Object;S:Ljava/lang/Object;>(Lsun/util/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;Ljava/util/Locale;ZLjava/lang/String;Lsun/util/resources/OpenListResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)TS;
MethodParameters:
Name Flags
getter
locale
isObjectProvider
bundleKey
bundle
key
params
private java.util.spi.LocaleServiceProvider findProvider(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/spi/LocaleServiceProvider;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=10, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.util.LocaleServiceProviderPool.hasProviders:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.LocaleServiceProviderPool.providersCache:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 6
3: aload 0
getfield sun.util.LocaleServiceProviderPool.providersCache:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.spi.LocaleServiceProvider
astore 2
start local 2 4: aload 2
getstatic sun.util.LocaleServiceProviderPool$NullProvider.INSTANCE:Lsun/util/LocaleServiceProviderPool$NullProvider;
if_acmpeq 22
5: aload 2
areturn
end local 2 6: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.LocaleServiceProviderPool.providers:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 20
StackMap locals: sun.util.LocaleServiceProviderPool java.util.Locale top java.util.Iterator
StackMap stack:
7: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.spi.LocaleServiceProvider
astore 2
start local 2 8: aload 2
invokevirtual java.util.spi.LocaleServiceProvider.getAvailableLocales:()[Ljava/util/Locale;
astore 4
start local 4 9: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 19
StackMap locals: sun.util.LocaleServiceProviderPool java.util.Locale java.util.spi.LocaleServiceProvider java.util.Iterator java.util.Locale[] top int int java.util.Locale[]
StackMap stack:
10: aload 8
iload 6
aaload
astore 5
start local 5 11: aload 1
aload 5
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifeq 18
12: aload 0
getfield sun.util.LocaleServiceProviderPool.providersCache:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.spi.LocaleServiceProvider
13: astore 9
start local 9 14: aload 9
ifnull 16
15: aload 9
goto 17
16: StackMap locals: sun.util.LocaleServiceProviderPool java.util.Locale java.util.spi.LocaleServiceProvider java.util.Iterator java.util.Locale[] java.util.Locale int int java.util.Locale[] java.util.spi.LocaleServiceProvider
StackMap stack:
aload 2
17: StackMap locals:
StackMap stack: java.util.spi.LocaleServiceProvider
areturn
end local 9 end local 5 18: StackMap locals: sun.util.LocaleServiceProviderPool java.util.Locale java.util.spi.LocaleServiceProvider java.util.Iterator java.util.Locale[] top int int java.util.Locale[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
19: iload 6
iload 7
if_icmplt 10
end local 4 end local 2 20: StackMap locals: sun.util.LocaleServiceProviderPool java.util.Locale top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
21: aload 0
getfield sun.util.LocaleServiceProviderPool.providersCache:Ljava/util/Map;
aload 1
getstatic sun.util.LocaleServiceProviderPool$NullProvider.INSTANCE:Lsun/util/LocaleServiceProviderPool$NullProvider;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
22: StackMap locals: sun.util.LocaleServiceProviderPool java.util.Locale
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/util/LocaleServiceProviderPool;
0 23 1 locale Ljava/util/Locale;
4 6 2 provider Ljava/util/spi/LocaleServiceProvider;
8 20 2 lsp Ljava/util/spi/LocaleServiceProvider;
9 20 4 locales [Ljava/util/Locale;
11 18 5 available Ljava/util/Locale;
14 18 9 providerInCache Ljava/util/spi/LocaleServiceProvider;
MethodParameters:
Name Flags
locale
private java.util.Locale findProviderLocale(java.util.Locale, java.util.Locale);
descriptor: (Ljava/util/Locale;Ljava/util/Locale;)Ljava/util/Locale;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.util.LocaleServiceProviderPool.getProviderLocales:()Ljava/util/Set;
astore 3
start local 3 1: aload 1
astore 4
start local 4 2: goto 13
3: StackMap locals: java.util.Set java.util.Locale
StackMap stack:
aload 2
ifnull 7
4: aload 4
aload 2
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifeq 10
5: aconst_null
astore 4
6: goto 14
7: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual sun.util.LocaleServiceProviderPool.isJRESupported:(Ljava/util/Locale;)Z
ifeq 10
8: aconst_null
astore 4
9: goto 14
10: StackMap locals:
StackMap stack:
aload 3
aload 4
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 12
11: goto 14
12: StackMap locals:
StackMap stack:
aload 4
invokestatic sun.util.LocaleServiceProviderPool.getParentLocale:(Ljava/util/Locale;)Ljava/util/Locale;
astore 4
13: StackMap locals:
StackMap stack:
aload 4
ifnonnull 3
14: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/util/LocaleServiceProviderPool;
0 15 1 start Ljava/util/Locale;
0 15 2 end Ljava/util/Locale;
1 15 3 provLoc Ljava/util/Set<Ljava/util/Locale;>;
2 15 4 current Ljava/util/Locale;
MethodParameters:
Name Flags
start
end
private static java.util.Locale getParentLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/Locale;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Locale.getVariant:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc ""
if_acmpeq 8
2: aload 1
bipush 95
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 3: iload 2
iconst_m1
if_icmpeq 7
4: new java.util.Locale
dup
aload 0
invokevirtual java.util.Locale.getLanguage:()Ljava/lang/String;
aload 0
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
5: aload 1
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
6: invokespecial java.util.Locale.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
areturn
7: StackMap locals: java.lang.String int
StackMap stack:
new java.util.Locale
dup
aload 0
invokevirtual java.util.Locale.getLanguage:()Ljava/lang/String;
aload 0
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
invokespecial java.util.Locale.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 2 8: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
ldc ""
if_acmpeq 10
9: new java.util.Locale
dup
aload 0
invokevirtual java.util.Locale.getLanguage:()Ljava/lang/String;
invokespecial java.util.Locale.<init>:(Ljava/lang/String;)V
areturn
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.Locale.getLanguage:()Ljava/lang/String;
ldc ""
if_acmpeq 12
11: getstatic java.util.Locale.ROOT:Ljava/util/Locale;
areturn
12: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 locale Ljava/util/Locale;
1 13 1 variant Ljava/lang/String;
3 8 2 underscoreIndex I
MethodParameters:
Name Flags
locale
}
SourceFile: "LocaleServiceProviderPool.java"
NestMembers:
sun.util.LocaleServiceProviderPool$1 sun.util.LocaleServiceProviderPool$AllAvailableLocales sun.util.LocaleServiceProviderPool$LocalizedObjectGetter sun.util.LocaleServiceProviderPool$NullProvider
InnerClasses:
sun.util.LocaleServiceProviderPool$1
private AllAvailableLocales = sun.util.LocaleServiceProviderPool$AllAvailableLocales of sun.util.LocaleServiceProviderPool
public abstract LocalizedObjectGetter = sun.util.LocaleServiceProviderPool$LocalizedObjectGetter of sun.util.LocaleServiceProviderPool
private NullProvider = sun.util.LocaleServiceProviderPool$NullProvider of sun.util.LocaleServiceProviderPool