public final class sun.util.locale.provider.LocaleServiceProviderPool
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.util.locale.provider.LocaleServiceProviderPool
super_class: java.lang.Object
{
private static java.util.concurrent.ConcurrentMap<java.lang.Class<? extends java.util.spi.LocaleServiceProvider>, sun.util.locale.provider.LocaleServiceProviderPool> poolOfPools;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;Lsun/util/locale/provider/LocaleServiceProviderPool;>;
private java.util.concurrent.ConcurrentMap<sun.util.locale.provider.LocaleProviderAdapter$Type, java.util.spi.LocaleServiceProvider> providers;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/ConcurrentMap<Lsun/util/locale/provider/LocaleProviderAdapter$Type;Ljava/util/spi/LocaleServiceProvider;>;
private java.util.concurrent.ConcurrentMap<java.util.Locale, java.util.List<sun.util.locale.provider.LocaleProviderAdapter$Type>> providersCache;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/util/Locale;Ljava/util/List<Lsun/util/locale/provider/LocaleProviderAdapter$Type;>;>;
private java.util.Set<java.util.Locale> availableLocales;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Ljava/util/Locale;>;
private java.lang.Class<? extends java.util.spi.LocaleServiceProvider> providerClass;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;
static final java.lang.Class<java.util.spi.LocaleServiceProvider>[] spiClasses;
descriptor: [Ljava/lang/Class;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: [Ljava/lang/Class<Ljava/util/spi/LocaleServiceProvider;>;
private static java.util.List<sun.util.locale.provider.LocaleProviderAdapter$Type> NULL_LIST;
descriptor: Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/List<Lsun/util/locale/provider/LocaleProviderAdapter$Type;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
1: putstatic sun.util.locale.provider.LocaleServiceProviderPool.poolOfPools:Ljava/util/concurrent/ConcurrentMap;
2: bipush 10
anewarray java.lang.Class
dup
iconst_0
3: ldc Ljava/text/spi/BreakIteratorProvider;
aastore
dup
iconst_1
4: ldc Ljava/text/spi/CollatorProvider;
aastore
dup
iconst_2
5: ldc Ljava/text/spi/DateFormatProvider;
aastore
dup
iconst_3
6: ldc Ljava/text/spi/DateFormatSymbolsProvider;
aastore
dup
iconst_4
7: ldc Ljava/text/spi/DecimalFormatSymbolsProvider;
aastore
dup
iconst_5
8: ldc Ljava/text/spi/NumberFormatProvider;
aastore
dup
bipush 6
9: ldc Ljava/util/spi/CurrencyNameProvider;
aastore
dup
bipush 7
10: ldc Ljava/util/spi/LocaleNameProvider;
aastore
dup
bipush 8
11: ldc Ljava/util/spi/TimeZoneNameProvider;
aastore
dup
bipush 9
12: ldc Ljava/util/spi/CalendarDataProvider;
aastore
13: putstatic sun.util.locale.provider.LocaleServiceProviderPool.spiClasses:[Ljava/lang/Class;
14: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
15: putstatic sun.util.locale.provider.LocaleServiceProviderPool.NULL_LIST:Ljava/util/List;
16: return
LocalVariableTable:
Start End Slot Name Signature
public static sun.util.locale.provider.LocaleServiceProviderPool getPool(java.lang.Class<? extends java.util.spi.LocaleServiceProvider>);
descriptor: (Ljava/lang/Class;)Lsun/util/locale/provider/LocaleServiceProviderPool;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic sun.util.locale.provider.LocaleServiceProviderPool.poolOfPools:Ljava/util/concurrent/ConcurrentMap;
aload 0
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.locale.provider.LocaleServiceProviderPool
astore 1
start local 1 1: aload 1
ifnonnull 7
2: new sun.util.locale.provider.LocaleServiceProviderPool
dup
aload 0
invokespecial sun.util.locale.provider.LocaleServiceProviderPool.<init>:(Ljava/lang/Class;)V
3: astore 2
start local 2 4: getstatic sun.util.locale.provider.LocaleServiceProviderPool.poolOfPools:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.locale.provider.LocaleServiceProviderPool
astore 1
5: aload 1
ifnonnull 7
6: aload 2
astore 1
end local 2 7: StackMap locals: sun.util.locale.provider.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/locale/provider/LocaleServiceProviderPool;
4 7 2 newPool Lsun/util/locale/provider/LocaleServiceProviderPool;
Signature: (Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;)Lsun/util/locale/provider/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=3, locals=6, 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.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield sun.util.locale.provider.LocaleServiceProviderPool.providers:Ljava/util/concurrent/ConcurrentMap;
3: aload 0
4: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield sun.util.locale.provider.LocaleServiceProviderPool.providersCache:Ljava/util/concurrent/ConcurrentMap;
5: aload 0
aconst_null
putfield sun.util.locale.provider.LocaleServiceProviderPool.availableLocales:Ljava/util/Set;
6: aload 0
aload 1
putfield sun.util.locale.provider.LocaleServiceProviderPool.providerClass:Ljava/lang/Class;
7: invokestatic sun.util.locale.provider.LocaleProviderAdapter.getAdapterPreference:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 14
StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool java.lang.Class top java.util.Iterator
StackMap stack:
8: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.util.locale.provider.LocaleProviderAdapter$Type
astore 2
start local 2 9: aload 2
invokestatic sun.util.locale.provider.LocaleProviderAdapter.forType:(Lsun/util/locale/provider/LocaleProviderAdapter$Type;)Lsun/util/locale/provider/LocaleProviderAdapter;
astore 4
start local 4 10: aload 4
ifnull 14
11: aload 4
aload 1
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.getLocaleServiceProvider:(Ljava/lang/Class;)Ljava/util/spi/LocaleServiceProvider;
astore 5
start local 5 12: aload 5
ifnull 14
13: aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.providers:Ljava/util/concurrent/ConcurrentMap;
aload 2
aload 5
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 end local 2 14: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/util/locale/provider/LocaleServiceProviderPool;
0 16 1 c Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;
9 14 2 type Lsun/util/locale/provider/LocaleProviderAdapter$Type;
10 14 4 lda Lsun/util/locale/provider/LocaleProviderAdapter;
12 14 5 provider Ljava/util/spi/LocaleServiceProvider;
Signature: (Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;)V
MethodParameters:
Name Flags
c final
static void config(java.lang.Class<? extends java.lang.Object>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual sun.util.logging.PlatformLogger.config:(Ljava/lang/String;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 caller Ljava/lang/Class<+Ljava/lang/Object;>;
0 3 1 message Ljava/lang/String;
1 3 2 logger Lsun/util/logging/PlatformLogger;
Signature: (Ljava/lang/Class<+Ljava/lang/Object;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
caller
message
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.locale.provider.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 java.util.Locale[] getAvailableLocales();
descriptor: ()[Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual sun.util.locale.provider.LocaleServiceProviderPool.getAvailableLocaleSet:()Ljava/util/Set;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
2: aload 1
invokestatic sun.util.locale.provider.LocaleProviderAdapter.forJRE:()Lsun/util/locale/provider/LocaleProviderAdapter;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.getAvailableLocales:()[Ljava/util/Locale;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
3: aload 1
invokeinterface java.util.Set.size:()I
anewarray java.util.Locale
astore 2
start local 2 4: aload 1
aload 2
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/util/locale/provider/LocaleServiceProviderPool;
1 6 1 locList Ljava/util/Set<Ljava/util/Locale;>;
4 6 2 tmp [Ljava/util/Locale;
private synchronized java.util.Set<java.util.Locale> getAvailableLocaleSet();
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.locale.provider.LocaleServiceProviderPool.availableLocales:Ljava/util/Set;
ifnonnull 11
1: aload 0
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putfield sun.util.locale.provider.LocaleServiceProviderPool.availableLocales:Ljava/util/Set;
2: aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.providers:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 10
StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool top java.util.Iterator
StackMap stack:
3: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.spi.LocaleServiceProvider
astore 1
start local 1 4: aload 1
invokevirtual java.util.spi.LocaleServiceProvider.getAvailableLocales:()[Ljava/util/Locale;
astore 3
start local 3 5: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 9
StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool java.util.spi.LocaleServiceProvider java.util.Iterator java.util.Locale[] top int int java.util.Locale[]
StackMap stack:
6: aload 7
iload 5
aaload
astore 4
start local 4 7: aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.availableLocales:Ljava/util/Set;
aload 4
invokestatic sun.util.locale.provider.LocaleServiceProviderPool.getLookupLocale:(Ljava/util/Locale;)Ljava/util/Locale;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 4 8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 6
if_icmplt 6
end local 3 end local 1 10: StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
11: StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool
StackMap stack:
aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.availableLocales:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/util/locale/provider/LocaleServiceProviderPool;
4 10 1 lsp Ljava/util/spi/LocaleServiceProvider;
5 10 3 locales [Ljava/util/Locale;
7 8 4 locale Ljava/util/Locale;
Signature: ()Ljava/util/Set<Ljava/util/Locale;>;
boolean hasProviders();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.providers:Ljava/util/concurrent/ConcurrentMap;
invokeinterface java.util.concurrent.ConcurrentMap.size:()I
iconst_1
if_icmpne 4
1: aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.providers:Ljava/util/concurrent/ConcurrentMap;
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 3
2: aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.providers:Ljava/util/concurrent/ConcurrentMap;
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.FALLBACK:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/util/locale/provider/LocaleServiceProviderPool;
public <P extends java.util.spi.LocaleServiceProvider, S> S getLocalizedObject(sun.util.locale.provider.LocaleServiceProviderPool$LocalizedObjectGetter<P, S>, java.util.Locale, []);
descriptor: (Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=6, 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
aload 3
invokevirtual sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObjectImpl:(Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;ZLjava/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/locale/provider/LocaleServiceProviderPool;
0 1 1 getter Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;
0 1 2 locale Ljava/util/Locale;
0 1 3 params [Ljava/lang/Object;
Signature: <P:Ljava/util/spi/LocaleServiceProvider;S:Ljava/lang/Object;>(Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;Ljava/util/Locale;[Ljava/lang/Object;)TS;
MethodParameters:
Name Flags
getter
locale
params
public <P extends java.util.spi.LocaleServiceProvider, S> S getLocalizedObject(sun.util.locale.provider.LocaleServiceProviderPool$LocalizedObjectGetter<P, S>, java.util.Locale, java.lang.String, []);
descriptor: (Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iconst_0
aload 3
aload 4
invokevirtual sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObjectImpl:(Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;ZLjava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
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/locale/provider/LocaleServiceProviderPool;
0 1 1 getter Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;
0 1 2 locale Ljava/util/Locale;
0 1 3 key Ljava/lang/String;
0 1 4 params [Ljava/lang/Object;
Signature: <P:Ljava/util/spi/LocaleServiceProvider;S:Ljava/lang/Object;>(Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)TS;
MethodParameters:
Name Flags
getter
locale
key
params
private <P extends java.util.spi.LocaleServiceProvider, S> S getLocalizedObjectImpl(sun.util.locale.provider.LocaleServiceProviderPool$LocalizedObjectGetter<P, S>, java.util.Locale, boolean, java.lang.String, []);
descriptor: (Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;ZLjava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=5, locals=14, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.util.locale.provider.LocaleServiceProviderPool.hasProviders:()Z
ifne 6
3: aload 1
aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.providers:Ljava/util/concurrent/ConcurrentMap;
getstatic sun.util.locale.provider.LocaleProviderAdapter.defaultLocaleProviderAdapter:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.spi.LocaleServiceProvider
4: aload 2
aload 4
aload 5
5: invokeinterface sun.util.locale.provider.LocaleServiceProviderPool$LocalizedObjectGetter.getObject:(Ljava/util/spi/LocaleServiceProvider;Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
6: StackMap locals:
StackMap stack:
aload 2
invokestatic sun.util.locale.provider.LocaleServiceProviderPool.getLookupLocales:(Ljava/util/Locale;)Ljava/util/List;
astore 6
start local 6 7: aload 0
invokevirtual sun.util.locale.provider.LocaleServiceProviderPool.getAvailableLocaleSet:()Ljava/util/Set;
astore 7
start local 7 8: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 24
StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool sun.util.locale.provider.LocaleServiceProviderPool$LocalizedObjectGetter java.util.Locale int java.lang.String java.lang.Object[] java.util.List java.util.Set top java.util.Iterator
StackMap stack:
9: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Locale
astore 8
start local 8 10: aload 7
aload 8
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 24
11: aload 0
aload 8
invokevirtual sun.util.locale.provider.LocaleServiceProviderPool.findProviders:(Ljava/util/Locale;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 12
goto 23
StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool sun.util.locale.provider.LocaleServiceProviderPool$LocalizedObjectGetter java.util.Locale int java.lang.String java.lang.Object[] java.util.List java.util.Set java.util.Locale java.util.Iterator top top java.util.Iterator
StackMap stack:
12: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.util.locale.provider.LocaleProviderAdapter$Type
astore 11
start local 11 13: aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.providers:Ljava/util/concurrent/ConcurrentMap;
aload 11
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.spi.LocaleServiceProvider
astore 13
start local 13 14: aload 1
aload 13
aload 2
aload 4
aload 5
invokeinterface sun.util.locale.provider.LocaleServiceProviderPool$LocalizedObjectGetter.getObject:(Ljava/util/spi/LocaleServiceProvider;Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
astore 10
start local 10 15: aload 10
ifnull 17
16: aload 10
areturn
17: StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool sun.util.locale.provider.LocaleServiceProviderPool$LocalizedObjectGetter java.util.Locale int java.lang.String java.lang.Object[] java.util.List java.util.Set java.util.Locale java.util.Iterator java.lang.Object sun.util.locale.provider.LocaleProviderAdapter$Type java.util.Iterator java.util.spi.LocaleServiceProvider
StackMap stack:
iload 3
ifeq 23
18: ldc Lsun/util/locale/provider/LocaleServiceProviderPool;
19: 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
20: aload 13
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 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
21: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
22: invokestatic sun.util.locale.provider.LocaleServiceProviderPool.config:(Ljava/lang/Class;Ljava/lang/String;)V
end local 13 end local 11 end local 10 23: StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool sun.util.locale.provider.LocaleServiceProviderPool$LocalizedObjectGetter java.util.Locale int java.lang.String java.lang.Object[] java.util.List java.util.Set java.util.Locale java.util.Iterator top top java.util.Iterator
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
end local 8 24: StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool sun.util.locale.provider.LocaleServiceProviderPool$LocalizedObjectGetter java.util.Locale int java.lang.String java.lang.Object[] java.util.List java.util.Set top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
25: 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 26 0 this Lsun/util/locale/provider/LocaleServiceProviderPool;
0 26 1 getter Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;
0 26 2 locale Ljava/util/Locale;
0 26 3 isObjectProvider Z
0 26 4 key Ljava/lang/String;
0 26 5 params [Ljava/lang/Object;
7 26 6 lookupLocales Ljava/util/List<Ljava/util/Locale;>;
8 26 7 available Ljava/util/Set<Ljava/util/Locale;>;
10 24 8 current Ljava/util/Locale;
15 23 10 providersObj TS;
13 23 11 type Lsun/util/locale/provider/LocaleProviderAdapter$Type;
14 23 13 lsp Ljava/util/spi/LocaleServiceProvider;
Signature: <P:Ljava/util/spi/LocaleServiceProvider;S:Ljava/lang/Object;>(Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;Ljava/util/Locale;ZLjava/lang/String;[Ljava/lang/Object;)TS;
MethodParameters:
Name Flags
getter
locale
isObjectProvider
key
params
private java.util.List<sun.util.locale.provider.LocaleProviderAdapter$Type> findProviders(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.providersCache:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 1: aload 2
ifnonnull 16
2: invokestatic sun.util.locale.provider.LocaleProviderAdapter.getAdapterPreference:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool java.util.Locale java.util.List top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.util.locale.provider.LocaleProviderAdapter$Type
astore 3
start local 3 4: aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.providers:Ljava/util/concurrent/ConcurrentMap;
aload 3
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.spi.LocaleServiceProvider
astore 5
start local 5 5: aload 5
ifnull 10
6: aload 5
aload 1
invokevirtual java.util.spi.LocaleServiceProvider.isSupportedLocale:(Ljava/util/Locale;)Z
ifeq 10
7: aload 2
ifnonnull 9
8: new java.util.ArrayList
dup
iconst_2
invokespecial java.util.ArrayList.<init>:(I)V
astore 2
9: StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool java.util.Locale java.util.List sun.util.locale.provider.LocaleProviderAdapter$Type java.util.Iterator java.util.spi.LocaleServiceProvider
StackMap stack:
aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 10: StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool java.util.Locale java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
11: aload 2
ifnonnull 13
12: getstatic sun.util.locale.provider.LocaleServiceProviderPool.NULL_LIST:Ljava/util/List;
astore 2
13: StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool java.util.Locale java.util.List
StackMap stack:
aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.providersCache:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 3
start local 3 14: aload 3
ifnull 16
15: aload 3
astore 2
end local 3 16: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/util/locale/provider/LocaleServiceProviderPool;
0 17 1 locale Ljava/util/Locale;
1 17 2 providersList Ljava/util/List<Lsun/util/locale/provider/LocaleProviderAdapter$Type;>;
4 10 3 type Lsun/util/locale/provider/LocaleProviderAdapter$Type;
5 10 5 lsp Ljava/util/spi/LocaleServiceProvider;
14 16 3 val Ljava/util/List<Lsun/util/locale/provider/LocaleProviderAdapter$Type;>;
Signature: (Ljava/util/Locale;)Ljava/util/List<Lsun/util/locale/provider/LocaleProviderAdapter$Type;>;
MethodParameters:
Name Flags
locale
static java.util.List<java.util.Locale> getLookupLocales(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/List;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic java.util.ResourceBundle$Control.FORMAT_DEFAULT:Ljava/util/List;
invokestatic java.util.ResourceBundle$Control.getNoFallbackControl:(Ljava/util/List;)Ljava/util/ResourceBundle$Control;
1: ldc ""
aload 0
invokevirtual java.util.ResourceBundle$Control.getCandidateLocales:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/List;
2: astore 1
start local 1 3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 locale Ljava/util/Locale;
3 4 1 lookupLocales Ljava/util/List<Ljava/util/Locale;>;
Signature: (Ljava/util/Locale;)Ljava/util/List<Ljava/util/Locale;>;
MethodParameters:
Name Flags
locale
static java.util.Locale getLookupLocale(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/Locale;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: aload 0
invokevirtual java.util.Locale.hasExtensions:()Z
ifeq 14
2: aload 0
getstatic sun.util.locale.provider.JRELocaleConstants.JA_JP_JP:Ljava/util/Locale;
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifne 14
3: aload 0
getstatic sun.util.locale.provider.JRELocaleConstants.TH_TH_TH:Ljava/util/Locale;
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifne 14
4: new java.util.Locale$Builder
dup
invokespecial java.util.Locale$Builder.<init>:()V
astore 2
start local 2 5: aload 2
aload 0
invokevirtual java.util.Locale$Builder.setLocale:(Ljava/util/Locale;)Ljava/util/Locale$Builder;
pop
6: aload 2
invokevirtual java.util.Locale$Builder.clearExtensions:()Ljava/util/Locale$Builder;
pop
7: aload 2
invokevirtual java.util.Locale$Builder.build:()Ljava/util/Locale;
astore 1
8: goto 14
StackMap locals: java.util.Locale java.util.Locale java.util.Locale$Builder
StackMap stack: java.util.IllformedLocaleException
9: pop
10: ldc Lsun/util/locale/provider/LocaleServiceProviderPool;
11: new java.lang.StringBuilder
dup
ldc "A locale("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ") has non-empty extensions, but has illformed fields."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokestatic sun.util.locale.provider.LocaleServiceProviderPool.config:(Ljava/lang/Class;Ljava/lang/String;)V
13: 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;
aload 0
invokevirtual java.util.Locale.getVariant:()Ljava/lang/String;
invokespecial java.util.Locale.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 1
end local 2 14: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 locale Ljava/util/Locale;
1 15 1 lookupLocale Ljava/util/Locale;
5 14 2 locbld Ljava/util/Locale$Builder;
Exception table:
from to target type
5 8 9 Class java.util.IllformedLocaleException
MethodParameters:
Name Flags
locale
}
SourceFile: "LocaleServiceProviderPool.java"
NestMembers:
sun.util.locale.provider.LocaleServiceProviderPool$AllAvailableLocales sun.util.locale.provider.LocaleServiceProviderPool$LocalizedObjectGetter
InnerClasses:
public final Builder = java.util.Locale$Builder of java.util.Locale
public Control = java.util.ResourceBundle$Control of java.util.ResourceBundle
public final Type = sun.util.locale.provider.LocaleProviderAdapter$Type of sun.util.locale.provider.LocaleProviderAdapter
private AllAvailableLocales = sun.util.locale.provider.LocaleServiceProviderPool$AllAvailableLocales of sun.util.locale.provider.LocaleServiceProviderPool
public abstract LocalizedObjectGetter = sun.util.locale.provider.LocaleServiceProviderPool$LocalizedObjectGetter of sun.util.locale.provider.LocaleServiceProviderPool