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 final java.util.concurrent.ConcurrentMap<java.lang.Class<? extends java.util.spi.LocaleServiceProvider>, sun.util.locale.provider.LocaleServiceProviderPool> poolOfPools;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;Lsun/util/locale/provider/LocaleServiceProviderPool;>;
private final java.util.concurrent.ConcurrentMap<java.util.Locale, java.util.List<java.util.spi.LocaleServiceProvider>> providersCache;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/util/Locale;Ljava/util/List<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 final java.lang.Class<? extends java.util.spi.LocaleServiceProvider> providerClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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 final java.util.List<java.util.spi.LocaleServiceProvider> NULL_LIST;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/util/spi/LocaleServiceProvider;>;
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=2, 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.providersCache:Ljava/util/concurrent/ConcurrentMap;
3: aload 0
aconst_null
putfield sun.util.locale.provider.LocaleServiceProviderPool.availableLocales:Ljava/util/Set;
4: aload 0
aload 1
putfield sun.util.locale.provider.LocaleServiceProviderPool.providerClass:Ljava/lang/Class;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/util/locale/provider/LocaleServiceProviderPool;
0 6 1 c Ljava/lang/Class<+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=10, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.availableLocales:Ljava/util/Set;
ifnonnull 15
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: invokestatic sun.util.locale.provider.LocaleProviderAdapter.getAdapterPreference:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 14
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 sun.util.locale.provider.LocaleProviderAdapter$Type
astore 1
start local 1 4: aload 1
invokestatic sun.util.locale.provider.LocaleProviderAdapter.forType:(Lsun/util/locale/provider/LocaleProviderAdapter$Type;)Lsun/util/locale/provider/LocaleProviderAdapter;
astore 3
start local 3 5: aload 3
ifnull 14
6: aload 3
aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.providerClass:Ljava/lang/Class;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.getLocaleServiceProvider:(Ljava/lang/Class;)Ljava/util/spi/LocaleServiceProvider;
astore 4
start local 4 7: aload 4
ifnull 14
8: aload 4
invokevirtual java.util.spi.LocaleServiceProvider.getAvailableLocales:()[Ljava/util/Locale;
astore 5
start local 5 9: aload 5
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 13
StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool sun.util.locale.provider.LocaleProviderAdapter$Type java.util.Iterator sun.util.locale.provider.LocaleProviderAdapter java.util.spi.LocaleServiceProvider java.util.Locale[] top int int java.util.Locale[]
StackMap stack:
10: aload 9
iload 7
aaload
astore 6
start local 6 11: aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.availableLocales:Ljava/util/Set;
aload 6
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 6 12: iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
iload 8
if_icmplt 10
end local 5 end local 4 end local 3 end local 1 14: StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool top java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
15: 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 16 0 this Lsun/util/locale/provider/LocaleServiceProviderPool;
4 14 1 type Lsun/util/locale/provider/LocaleProviderAdapter$Type;
5 14 3 lda Lsun/util/locale/provider/LocaleProviderAdapter;
7 14 4 lsp Ljava/util/spi/LocaleServiceProvider;
9 14 5 locales [Ljava/util/Locale;
11 12 6 locale Ljava/util/Locale;
Signature: ()Ljava/util/Set<Ljava/util/Locale;>;
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
public <P extends java.util.spi.LocaleServiceProvider, S> S getLocalizedObject(sun.util.locale.provider.LocaleServiceProviderPool$LocalizedObjectGetter<P, S>, java.util.Locale, java.lang.Boolean, java.lang.String, []);
descriptor: (Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;Ljava/lang/Boolean;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=6, 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
aload 3
invokevirtual java.lang.Boolean.booleanValue:()Z
aload 4
aload 5
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 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/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 isObjectProvider Ljava/lang/Boolean;
0 1 4 key Ljava/lang/String;
0 1 5 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/Boolean;Ljava/lang/String;[Ljava/lang/Object;)TS;
MethodParameters:
Name Flags
getter
locale
isObjectProvider
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=12, 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 2
invokestatic sun.util.locale.provider.LocaleServiceProviderPool.getLookupLocales:(Ljava/util/Locale;)Ljava/util/List;
astore 6
start local 6 3: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 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 top java.util.Iterator
StackMap stack:
4: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Locale
astore 7
start local 7 5: aload 0
aload 7
iload 3
invokevirtual sun.util.locale.provider.LocaleServiceProviderPool.findProviders:(Ljava/util/Locale;Z)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 16
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.Locale java.util.Iterator top top java.util.Iterator
StackMap stack:
6: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.spi.LocaleServiceProvider
astore 10
start local 10 7: aload 1
aload 10
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 9
start local 9 8: aload 9
ifnull 10
9: aload 9
areturn
10: 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.Locale java.util.Iterator java.lang.Object java.util.spi.LocaleServiceProvider java.util.Iterator
StackMap stack:
iload 3
ifeq 16
11: ldc Lsun/util/locale/provider/LocaleServiceProviderPool;
12: 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
13: 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 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
14: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokestatic sun.util.locale.provider.LocaleServiceProviderPool.config:(Ljava/lang/Class;Ljava/lang/String;)V
end local 10 end local 9 16: 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.Locale java.util.Iterator top top java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 7 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 top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
18: aconst_null
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 19 0 this Lsun/util/locale/provider/LocaleServiceProviderPool;
0 19 1 getter Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter<TP;TS;>;
0 19 2 locale Ljava/util/Locale;
0 19 3 isObjectProvider Z
0 19 4 key Ljava/lang/String;
0 19 5 params [Ljava/lang/Object;
3 19 6 lookupLocales Ljava/util/List<Ljava/util/Locale;>;
5 17 7 current Ljava/util/Locale;
8 16 9 providersObj TS;
7 16 10 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<java.util.spi.LocaleServiceProvider> findProviders(java.util.Locale, boolean);
descriptor: (Ljava/util/Locale;Z)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 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 3
start local 3 1: aload 3
ifnonnull 20
2: invokestatic sun.util.locale.provider.LocaleProviderAdapter.getAdapterPreference:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 14
StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool java.util.Locale int java.util.List top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.util.locale.provider.LocaleProviderAdapter$Type
astore 4
start local 4 4: aload 4
invokestatic sun.util.locale.provider.LocaleProviderAdapter.forType:(Lsun/util/locale/provider/LocaleProviderAdapter$Type;)Lsun/util/locale/provider/LocaleProviderAdapter;
astore 6
start local 6 5: aload 6
ifnull 14
6: aload 6
aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.providerClass:Ljava/lang/Class;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.getLocaleServiceProvider:(Ljava/lang/Class;)Ljava/util/spi/LocaleServiceProvider;
astore 7
start local 7 7: aload 7
ifnull 14
8: aload 7
aload 1
invokevirtual java.util.spi.LocaleServiceProvider.isSupportedLocale:(Ljava/util/Locale;)Z
ifeq 14
9: aload 3
ifnonnull 11
10: new java.util.ArrayList
dup
iconst_2
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
11: StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool java.util.Locale int java.util.List sun.util.locale.provider.LocaleProviderAdapter$Type java.util.Iterator sun.util.locale.provider.LocaleProviderAdapter java.util.spi.LocaleServiceProvider
StackMap stack:
aload 3
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: iload 2
ifeq 14
13: goto 15
end local 7 end local 6 end local 4 14: StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool java.util.Locale int java.util.List top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
15: StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool java.util.Locale int java.util.List
StackMap stack:
aload 3
ifnonnull 17
16: getstatic sun.util.locale.provider.LocaleServiceProviderPool.NULL_LIST:Ljava/util/List;
astore 3
17: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.provider.LocaleServiceProviderPool.providersCache:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 3
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 4
start local 4 18: aload 4
ifnull 20
19: aload 4
astore 3
end local 4 20: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/util/locale/provider/LocaleServiceProviderPool;
0 21 1 locale Ljava/util/Locale;
0 21 2 isObjectProvider Z
1 21 3 providersList Ljava/util/List<Ljava/util/spi/LocaleServiceProvider;>;
4 14 4 type Lsun/util/locale/provider/LocaleProviderAdapter$Type;
5 14 6 lda Lsun/util/locale/provider/LocaleProviderAdapter;
7 14 7 lsp Ljava/util/spi/LocaleServiceProvider;
18 20 4 val Ljava/util/List<Ljava/util/spi/LocaleServiceProvider;>;
Signature: (Ljava/util/Locale;Z)Ljava/util/List<Ljava/util/spi/LocaleServiceProvider;>;
MethodParameters:
Name Flags
locale
isObjectProvider
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