public abstract class sun.util.locale.provider.LocaleProviderAdapter
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.util.locale.provider.LocaleProviderAdapter
super_class: java.lang.Object
{
private static final java.util.List<sun.util.locale.provider.LocaleProviderAdapter$Type> adapterPreference;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Lsun/util/locale/provider/LocaleProviderAdapter$Type;>;
private static final java.util.Map<sun.util.locale.provider.LocaleProviderAdapter$Type, sun.util.locale.provider.LocaleProviderAdapter> adapterInstances;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Lsun/util/locale/provider/LocaleProviderAdapter$Type;Lsun/util/locale/provider/LocaleProviderAdapter;>;
static volatile sun.util.locale.provider.LocaleProviderAdapter$Type defaultLocaleProviderAdapter;
descriptor: Lsun/util/locale/provider/LocaleProviderAdapter$Type;
flags: (0x0048) ACC_STATIC, ACC_VOLATILE
private static java.util.concurrent.ConcurrentMap<java.lang.Class<? extends java.util.spi.LocaleServiceProvider>, java.util.concurrent.ConcurrentMap<java.util.Locale, sun.util.locale.provider.LocaleProviderAdapter>> adapterCache;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;Ljava/util/concurrent/ConcurrentMap<Ljava/util/Locale;Lsun/util/locale/provider/LocaleProviderAdapter;>;>;
private static final sun.util.locale.provider.LocaleProviderAdapter NONEXISTENT_ADAPTER;
descriptor: Lsun/util/locale/provider/LocaleProviderAdapter;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$sun$util$locale$provider$LocaleProviderAdapter$Type;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=8, args_size=0
0: ldc Lsun/util/locale/provider/LocaleProviderAdapter;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.util.locale.provider.LocaleProviderAdapter.$assertionsDisabled:Z
3: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putstatic sun.util.locale.provider.LocaleProviderAdapter.adapterInstances:Ljava/util/Map;
4: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putstatic sun.util.locale.provider.LocaleProviderAdapter.adapterCache:Ljava/util/concurrent/ConcurrentMap;
5: ldc "java.locale.providers"
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 6: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 7: aload 0
ifnull 22
aload 0
invokevirtual java.lang.String.length:()I
ifeq 22
8: aload 0
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 9: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 21
StackMap locals: java.lang.String java.util.List java.lang.String[] top int int java.lang.String[]
StackMap stack:
10: aload 6
iload 4
aaload
astore 3
start local 3 11: aload 3
invokevirtual java.lang.String.trim:()Ljava/lang/String;
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 3
12: aload 3
ldc "COMPAT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
13: ldc "JRE"
astore 3
14: StackMap locals: java.lang.String java.util.List java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
aload 3
invokevirtual java.lang.String.trim:()Ljava/lang/String;
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
invokestatic sun.util.locale.provider.LocaleProviderAdapter$Type.valueOf:(Ljava/lang/String;)Lsun/util/locale/provider/LocaleProviderAdapter$Type;
astore 7
start local 7 15: aload 1
aload 7
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 20
16: aload 1
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 17: goto 20
StackMap locals:
StackMap stack: java.lang.RuntimeException
18: astore 7
start local 7 19: ldc Lsun/util/locale/provider/LocaleProviderAdapter;
aload 7
invokevirtual java.lang.RuntimeException.toString:()Ljava/lang/String;
invokestatic sun.util.locale.provider.LocaleServiceProviderPool.config:(Ljava/lang/Class;Ljava/lang/String;)V
end local 7 end local 3 20: StackMap locals: java.lang.String java.util.List java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
21: iload 4
iload 5
if_icmplt 10
end local 2 22: StackMap locals: java.lang.String java.util.List
StackMap stack:
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.CLDR:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
putstatic sun.util.locale.provider.LocaleProviderAdapter.defaultLocaleProviderAdapter:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
23: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifne 28
24: aload 1
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.CLDR:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 30
aload 1
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 30
25: aload 1
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.FALLBACK:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
26: getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.FALLBACK:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
putstatic sun.util.locale.provider.LocaleProviderAdapter.defaultLocaleProviderAdapter:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
27: goto 30
28: StackMap locals:
StackMap stack:
aload 1
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.CLDR:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
29: aload 1
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
30: StackMap locals:
StackMap stack:
aload 1
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putstatic sun.util.locale.provider.LocaleProviderAdapter.adapterPreference:Ljava/util/List;
end local 1 end local 0 31: new sun.util.locale.provider.LocaleProviderAdapter$NonExistentAdapter
dup
invokespecial sun.util.locale.provider.LocaleProviderAdapter$NonExistentAdapter.<init>:()V
putstatic sun.util.locale.provider.LocaleProviderAdapter.NONEXISTENT_ADAPTER:Lsun/util/locale/provider/LocaleProviderAdapter;
return
LocalVariableTable:
Start End Slot Name Signature
6 31 0 order Ljava/lang/String;
7 31 1 typeList Ljava/util/List<Lsun/util/locale/provider/LocaleProviderAdapter$Type;>;
9 22 2 types [Ljava/lang/String;
11 20 3 type Ljava/lang/String;
15 17 7 aType Lsun/util/locale/provider/LocaleProviderAdapter$Type;
19 20 7 e Ljava/lang/RuntimeException;
Exception table:
from to target type
14 17 18 Class java.lang.IllegalArgumentException
14 17 18 Class java.lang.UnsupportedOperationException
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/util/locale/provider/LocaleProviderAdapter;
public static sun.util.locale.provider.LocaleProviderAdapter forType(sun.util.locale.provider.LocaleProviderAdapter$Type);
descriptor: (Lsun/util/locale/provider/LocaleProviderAdapter$Type;)Lsun/util/locale/provider/LocaleProviderAdapter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic sun.util.locale.provider.LocaleProviderAdapter.$SWITCH_TABLE$sun$util$locale$provider$LocaleProviderAdapter$Type:()[I
aload 0
invokevirtual sun.util.locale.provider.LocaleProviderAdapter$Type.ordinal:()I
iaload
tableswitch { // 1 - 5
1: 1
2: 1
3: 1
4: 1
5: 1
default: 19
}
1: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 2: getstatic sun.util.locale.provider.LocaleProviderAdapter.adapterInstances:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.locale.provider.LocaleProviderAdapter
astore 2
start local 2 3: aload 2
ifnonnull 16
4: aload 0
invokevirtual sun.util.locale.provider.LocaleProviderAdapter$Type.getAdapterClassName:()Ljava/lang/String;
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
astore 3
start local 3 5: aload 3
checkcast sun.util.locale.provider.LocaleProviderAdapter
astore 1
6: getstatic sun.util.locale.provider.LocaleProviderAdapter.adapterInstances:Ljava/util/Map;
aload 0
aload 1
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.locale.provider.LocaleProviderAdapter
astore 2
7: aload 2
ifnull 18
8: aload 2
astore 1
end local 3 9: goto 18
10: StackMap locals: sun.util.locale.provider.LocaleProviderAdapter$Type sun.util.locale.provider.LocaleProviderAdapter sun.util.locale.provider.LocaleProviderAdapter
StackMap stack: java.lang.Exception
astore 3
start local 3 11: ldc Lsun/util/locale/provider/LocaleProviderAdapter;
aload 3
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokestatic sun.util.locale.provider.LocaleServiceProviderPool.config:(Ljava/lang/Class;Ljava/lang/String;)V
12: getstatic sun.util.locale.provider.LocaleProviderAdapter.adapterInstances:Ljava/util/Map;
aload 0
getstatic sun.util.locale.provider.LocaleProviderAdapter.NONEXISTENT_ADAPTER:Lsun/util/locale/provider/LocaleProviderAdapter;
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: getstatic sun.util.locale.provider.LocaleProviderAdapter.defaultLocaleProviderAdapter:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
aload 0
if_acmpne 18
14: getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.FALLBACK:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
putstatic sun.util.locale.provider.LocaleProviderAdapter.defaultLocaleProviderAdapter:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
end local 3 15: goto 18
StackMap locals:
StackMap stack:
16: aload 2
getstatic sun.util.locale.provider.LocaleProviderAdapter.NONEXISTENT_ADAPTER:Lsun/util/locale/provider/LocaleProviderAdapter;
if_acmpeq 18
17: aload 2
astore 1
18: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 19: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
ldc "unknown locale data adapter type"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 type Lsun/util/locale/provider/LocaleProviderAdapter$Type;
2 19 1 adapter Lsun/util/locale/provider/LocaleProviderAdapter;
3 19 2 cached Lsun/util/locale/provider/LocaleProviderAdapter;
5 9 3 tmp Ljava/lang/Object;
11 15 3 e Ljava/lang/Exception;
Exception table:
from to target type
4 9 10 Class java.lang.ClassNotFoundException
4 9 10 Class java.lang.IllegalAccessException
4 9 10 Class java.lang.InstantiationException
4 9 10 Class java.lang.UnsupportedOperationException
MethodParameters:
Name Flags
type
public static sun.util.locale.provider.LocaleProviderAdapter forJRE();
descriptor: ()Lsun/util/locale/provider/LocaleProviderAdapter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokestatic sun.util.locale.provider.LocaleProviderAdapter.forType:(Lsun/util/locale/provider/LocaleProviderAdapter$Type;)Lsun/util/locale/provider/LocaleProviderAdapter;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static sun.util.locale.provider.LocaleProviderAdapter getResourceBundleBased();
descriptor: ()Lsun/util/locale/provider/LocaleProviderAdapter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=0
0: invokestatic sun.util.locale.provider.LocaleProviderAdapter.getAdapterPreference:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 1
goto 6
StackMap locals: top java.util.Iterator
StackMap stack:
1: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.util.locale.provider.LocaleProviderAdapter$Type
astore 0
start local 0 2: aload 0
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
if_acmpeq 3
aload 0
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.CLDR:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
if_acmpeq 3
aload 0
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.FALLBACK:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
if_acmpne 6
3: StackMap locals: sun.util.locale.provider.LocaleProviderAdapter$Type java.util.Iterator
StackMap stack:
aload 0
invokestatic sun.util.locale.provider.LocaleProviderAdapter.forType:(Lsun/util/locale/provider/LocaleProviderAdapter$Type;)Lsun/util/locale/provider/LocaleProviderAdapter;
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 2
areturn
end local 2 end local 0 6: StackMap locals: top java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
7: new java.lang.InternalError
dup
invokespecial java.lang.InternalError.<init>:()V
athrow
LocalVariableTable:
Start End Slot Name Signature
2 6 0 type Lsun/util/locale/provider/LocaleProviderAdapter$Type;
4 6 2 adapter Lsun/util/locale/provider/LocaleProviderAdapter;
public static java.util.List<sun.util.locale.provider.LocaleProviderAdapter$Type> getAdapterPreference();
descriptor: ()Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.util.locale.provider.LocaleProviderAdapter.adapterPreference:Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/List<Lsun/util/locale/provider/LocaleProviderAdapter$Type;>;
public static sun.util.locale.provider.LocaleProviderAdapter getAdapter(java.lang.Class<? extends java.util.spi.LocaleServiceProvider>, java.util.Locale);
descriptor: (Ljava/lang/Class;Ljava/util/Locale;)Lsun/util/locale/provider/LocaleProviderAdapter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: getstatic sun.util.locale.provider.LocaleProviderAdapter.adapterCache:Ljava/util/concurrent/ConcurrentMap;
aload 0
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.ConcurrentMap
astore 3
start local 3 1: aload 3
ifnull 5
2: aload 3
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.locale.provider.LocaleProviderAdapter
dup
astore 2
start local 2 3: ifnull 7
4: aload 2
areturn
end local 2 5: StackMap locals: java.lang.Class java.util.Locale top java.util.concurrent.ConcurrentMap
StackMap stack:
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
astore 3
6: getstatic sun.util.locale.provider.LocaleProviderAdapter.adapterCache:Ljava/util/concurrent/ConcurrentMap;
aload 0
aload 3
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic sun.util.locale.provider.LocaleProviderAdapter.findAdapter:(Ljava/lang/Class;Ljava/util/Locale;)Lsun/util/locale/provider/LocaleProviderAdapter;
astore 2
start local 2 8: aload 2
ifnull 11
9: aload 3
aload 1
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 2
areturn
11: StackMap locals: java.lang.Class java.util.Locale sun.util.locale.provider.LocaleProviderAdapter java.util.concurrent.ConcurrentMap
StackMap stack:
getstatic java.util.ResourceBundle$Control.FORMAT_DEFAULT:Ljava/util/List;
invokestatic java.util.ResourceBundle$Control.getControl:(Ljava/util/List;)Ljava/util/ResourceBundle$Control;
12: ldc ""
aload 1
invokevirtual java.util.ResourceBundle$Control.getCandidateLocales:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/List;
13: astore 4
start local 4 14: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 22
StackMap locals: java.lang.Class java.util.Locale sun.util.locale.provider.LocaleProviderAdapter java.util.concurrent.ConcurrentMap java.util.List top java.util.Iterator
StackMap stack:
15: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Locale
astore 5
start local 5 16: aload 5
aload 1
invokevirtual java.util.Locale.equals:(Ljava/lang/Object;)Z
ifeq 18
17: goto 22
18: StackMap locals: java.lang.Class java.util.Locale sun.util.locale.provider.LocaleProviderAdapter java.util.concurrent.ConcurrentMap java.util.List java.util.Locale java.util.Iterator
StackMap stack:
aload 0
aload 5
invokestatic sun.util.locale.provider.LocaleProviderAdapter.findAdapter:(Ljava/lang/Class;Ljava/util/Locale;)Lsun/util/locale/provider/LocaleProviderAdapter;
astore 2
19: aload 2
ifnull 22
20: aload 3
aload 1
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
21: aload 2
areturn
end local 5 22: StackMap locals: java.lang.Class java.util.Locale sun.util.locale.provider.LocaleProviderAdapter java.util.concurrent.ConcurrentMap java.util.List top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
23: aload 3
aload 1
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.FALLBACK:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokestatic sun.util.locale.provider.LocaleProviderAdapter.forType:(Lsun/util/locale/provider/LocaleProviderAdapter$Type;)Lsun/util/locale/provider/LocaleProviderAdapter;
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
24: getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.FALLBACK:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokestatic sun.util.locale.provider.LocaleProviderAdapter.forType:(Lsun/util/locale/provider/LocaleProviderAdapter$Type;)Lsun/util/locale/provider/LocaleProviderAdapter;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 providerClass Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;
0 25 1 locale Ljava/util/Locale;
3 5 2 adapter Lsun/util/locale/provider/LocaleProviderAdapter;
8 25 2 adapter Lsun/util/locale/provider/LocaleProviderAdapter;
1 25 3 adapterMap Ljava/util/concurrent/ConcurrentMap<Ljava/util/Locale;Lsun/util/locale/provider/LocaleProviderAdapter;>;
14 25 4 lookupLocales Ljava/util/List<Ljava/util/Locale;>;
16 22 5 loc Ljava/util/Locale;
Signature: (Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;Ljava/util/Locale;)Lsun/util/locale/provider/LocaleProviderAdapter;
MethodParameters:
Name Flags
providerClass
locale
private static sun.util.locale.provider.LocaleProviderAdapter findAdapter(java.lang.Class<? extends java.util.spi.LocaleServiceProvider>, java.util.Locale);
descriptor: (Ljava/lang/Class;Ljava/util/Locale;)Lsun/util/locale/provider/LocaleProviderAdapter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: invokestatic sun.util.locale.provider.LocaleProviderAdapter.getAdapterPreference:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: java.lang.Class java.util.Locale top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.util.locale.provider.LocaleProviderAdapter$Type
astore 2
start local 2 2: 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 3: aload 4
ifnull 8
4: aload 4
aload 0
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.getLocaleServiceProvider:(Ljava/lang/Class;)Ljava/util/spi/LocaleServiceProvider;
astore 5
start local 5 5: aload 5
ifnull 8
6: aload 5
aload 1
invokevirtual java.util.spi.LocaleServiceProvider.isSupportedLocale:(Ljava/util/Locale;)Z
ifeq 8
7: aload 4
areturn
end local 5 end local 4 end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
9: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 providerClass Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;
0 10 1 locale Ljava/util/Locale;
2 8 2 type Lsun/util/locale/provider/LocaleProviderAdapter$Type;
3 8 4 adapter Lsun/util/locale/provider/LocaleProviderAdapter;
5 8 5 provider Ljava/util/spi/LocaleServiceProvider;
Signature: (Ljava/lang/Class<+Ljava/util/spi/LocaleServiceProvider;>;Ljava/util/Locale;)Lsun/util/locale/provider/LocaleProviderAdapter;
MethodParameters:
Name Flags
providerClass
locale
public boolean isSupportedProviderLocale(java.util.Locale, java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Locale;Ljava/util/Set;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.getAdapterType:()Lsun/util/locale/provider/LocaleProviderAdapter$Type;
astore 3
start local 3 1: getstatic sun.util.locale.provider.LocaleProviderAdapter.$assertionsDisabled:Z
ifne 2
aload 3
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
if_acmpeq 2
aload 3
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.CLDR:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
if_acmpeq 2
aload 3
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.FALLBACK:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
if_acmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: sun.util.locale.provider.LocaleProviderAdapter$Type
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/util/locale/provider/LocaleProviderAdapter;
0 3 1 locale Ljava/util/Locale;
0 3 2 langtags Ljava/util/Set<Ljava/lang/String;>;
1 3 3 type Lsun/util/locale/provider/LocaleProviderAdapter$Type;
Signature: (Ljava/util/Locale;Ljava/util/Set<Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
locale
langtags
public static java.util.Locale[] toLocaleArray(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)[Ljava/util/Locale;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Set.size:()I
iconst_1
iadd
anewarray java.util.Locale
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 1
iload 2
iinc 2 1
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
aastore
3: aload 0
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 13
StackMap locals: java.util.Set java.util.Locale[] int top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 3
dup
astore 5
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
-518283308: 6
1601894167: 7
default: 12
}
StackMap locals: java.util.Set java.util.Locale[] int java.lang.String java.util.Iterator java.lang.String
StackMap stack:
6: aload 5
ldc "th-TH-TH"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
goto 12
StackMap locals:
StackMap stack:
7: aload 5
ldc "ja-JP-JP"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 8
goto 12
8: StackMap locals:
StackMap stack:
aload 1
iload 2
iinc 2 1
getstatic sun.util.locale.provider.JRELocaleConstants.JA_JP_JP:Ljava/util/Locale;
aastore
9: goto 13
10: StackMap locals:
StackMap stack:
aload 1
iload 2
iinc 2 1
getstatic sun.util.locale.provider.JRELocaleConstants.TH_TH_TH:Ljava/util/Locale;
aastore
11: goto 13
12: StackMap locals:
StackMap stack:
aload 1
iload 2
iinc 2 1
aload 3
invokestatic java.util.Locale.forLanguageTag:(Ljava/lang/String;)Ljava/util/Locale;
aastore
end local 3 13: StackMap locals: java.util.Set java.util.Locale[] int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
14: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 tags Ljava/util/Set<Ljava/lang/String;>;
1 15 1 locs [Ljava/util/Locale;
2 15 2 index I
5 13 3 tag Ljava/lang/String;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)[Ljava/util/Locale;
MethodParameters:
Name Flags
tags
public abstract sun.util.locale.provider.LocaleProviderAdapter$Type getAdapterType();
descriptor: ()Lsun/util/locale/provider/LocaleProviderAdapter$Type;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract <P extends java.util.spi.LocaleServiceProvider> P getLocaleServiceProvider(java.lang.Class<P>);
descriptor: (Ljava/lang/Class;)Ljava/util/spi/LocaleServiceProvider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: <P:Ljava/util/spi/LocaleServiceProvider;>(Ljava/lang/Class<TP;>;)TP;
MethodParameters:
Name Flags
c
public abstract java.text.spi.BreakIteratorProvider getBreakIteratorProvider();
descriptor: ()Ljava/text/spi/BreakIteratorProvider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.text.spi.CollatorProvider getCollatorProvider();
descriptor: ()Ljava/text/spi/CollatorProvider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.text.spi.DateFormatProvider getDateFormatProvider();
descriptor: ()Ljava/text/spi/DateFormatProvider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.text.spi.DateFormatSymbolsProvider getDateFormatSymbolsProvider();
descriptor: ()Ljava/text/spi/DateFormatSymbolsProvider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.text.spi.DecimalFormatSymbolsProvider getDecimalFormatSymbolsProvider();
descriptor: ()Ljava/text/spi/DecimalFormatSymbolsProvider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.text.spi.NumberFormatProvider getNumberFormatProvider();
descriptor: ()Ljava/text/spi/NumberFormatProvider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.spi.CurrencyNameProvider getCurrencyNameProvider();
descriptor: ()Ljava/util/spi/CurrencyNameProvider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.spi.LocaleNameProvider getLocaleNameProvider();
descriptor: ()Ljava/util/spi/LocaleNameProvider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.spi.TimeZoneNameProvider getTimeZoneNameProvider();
descriptor: ()Ljava/util/spi/TimeZoneNameProvider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.spi.CalendarDataProvider getCalendarDataProvider();
descriptor: ()Ljava/util/spi/CalendarDataProvider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract java.util.spi.CalendarNameProvider getCalendarNameProvider();
descriptor: ()Ljava/util/spi/CalendarNameProvider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract sun.util.spi.CalendarProvider getCalendarProvider();
descriptor: ()Lsun/util/spi/CalendarProvider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract sun.text.spi.JavaTimeDateTimePatternProvider getJavaTimeDateTimePatternProvider();
descriptor: ()Lsun/text/spi/JavaTimeDateTimePatternProvider;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract sun.util.locale.provider.LocaleResources getLocaleResources(java.util.Locale);
descriptor: (Ljava/util/Locale;)Lsun/util/locale/provider/LocaleResources;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
locale
public abstract java.util.Locale[] getAvailableLocales();
descriptor: ()[Ljava/util/Locale;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
static int[] $SWITCH_TABLE$sun$util$locale$provider$LocaleProviderAdapter$Type();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic sun.util.locale.provider.LocaleProviderAdapter.$SWITCH_TABLE$sun$util$locale$provider$LocaleProviderAdapter$Type:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic sun.util.locale.provider.LocaleProviderAdapter$Type.values:()[Lsun/util/locale/provider/LocaleProviderAdapter$Type;
arraylength
newarray 10
astore 0
2: aload 0
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.CLDR:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter$Type.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.FALLBACK:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter$Type.ordinal:()I
iconst_5
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.HOST:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter$Type.ordinal:()I
iconst_4
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter$Type.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.SPI:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter$Type.ordinal:()I
iconst_3
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic sun.util.locale.provider.LocaleProviderAdapter.$SWITCH_TABLE$sun$util$locale$provider$LocaleProviderAdapter$Type:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "LocaleProviderAdapter.java"
NestMembers:
sun.util.locale.provider.LocaleProviderAdapter$NonExistentAdapter sun.util.locale.provider.LocaleProviderAdapter$Type
InnerClasses:
public Control = java.util.ResourceBundle$Control of java.util.ResourceBundle
private final NonExistentAdapter = sun.util.locale.provider.LocaleProviderAdapter$NonExistentAdapter of sun.util.locale.provider.LocaleProviderAdapter
public final Type = sun.util.locale.provider.LocaleProviderAdapter$Type of sun.util.locale.provider.LocaleProviderAdapter