class sun.util.resources.LocaleData$LocaleDataResourceBundleControl extends java.util.ResourceBundle$Control
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.util.resources.LocaleData$LocaleDataResourceBundleControl
super_class: java.util.ResourceBundle$Control
{
private static final sun.util.resources.LocaleData$LocaleDataResourceBundleControl INSTANCE;
descriptor: Lsun/util/resources/LocaleData$LocaleDataResourceBundleControl;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String DOTCLDR;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: ".cldr"
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=0, args_size=0
0: ldc Lsun/util/resources/LocaleData;
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.resources.LocaleData$LocaleDataResourceBundleControl.$assertionsDisabled:Z
3: new sun.util.resources.LocaleData$LocaleDataResourceBundleControl
dup
invokespecial sun.util.resources.LocaleData$LocaleDataResourceBundleControl.<init>:()V
4: putstatic sun.util.resources.LocaleData$LocaleDataResourceBundleControl.INSTANCE:Lsun/util/resources/LocaleData$LocaleDataResourceBundleControl;
5: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.ResourceBundle$Control.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/util/resources/LocaleData$LocaleDataResourceBundleControl;
public java.util.List<java.util.Locale> getCandidateLocales(java.lang.String, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/util/Locale;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial java.util.ResourceBundle$Control.getCandidateLocales:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/List;
astore 3
start local 3 1: aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 4
start local 4 2: iload 4
iflt 3
aload 1
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 4
StackMap locals: java.util.List int
StackMap stack:
3: aload 1
StackMap locals:
StackMap stack: java.lang.String
4: astore 5
start local 5 5: aload 1
ldc ".cldr"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 6
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.CLDR:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
goto 7
StackMap locals: java.lang.String
StackMap stack:
6: getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
StackMap locals:
StackMap stack: sun.util.locale.provider.LocaleProviderAdapter$Type
7: astore 6
start local 6 8: aload 6
invokestatic sun.util.locale.provider.LocaleProviderAdapter.forType:(Lsun/util/locale/provider/LocaleProviderAdapter$Type;)Lsun/util/locale/provider/LocaleProviderAdapter;
astore 7
start local 7 9: aload 7
checkcast sun.util.locale.provider.JRELocaleProviderAdapter
aload 5
invokevirtual sun.util.locale.provider.JRELocaleProviderAdapter.getLanguageTagSet:(Ljava/lang/String;)Ljava/util/Set;
astore 8
start local 8 10: aload 8
invokeinterface java.util.Set.isEmpty:()Z
ifne 16
11: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
start local 9 12: goto 15
13: StackMap locals: sun.util.resources.LocaleData$LocaleDataResourceBundleControl java.lang.String java.util.Locale java.util.List int java.lang.String sun.util.locale.provider.LocaleProviderAdapter$Type sun.util.locale.provider.LocaleProviderAdapter java.util.Set java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Locale
aload 6
aload 8
invokestatic sun.util.locale.provider.LocaleProviderAdapter.isSupportedLocale:(Ljava/util/Locale;Lsun/util/locale/provider/LocaleProviderAdapter$Type;Ljava/util/Set;)Z
ifne 15
14: aload 9
invokeinterface java.util.Iterator.remove:()V
15: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
end local 9 16: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.Locale.getLanguage:()Ljava/lang/String;
ldc "en"
if_acmpeq 19
17: aload 6
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.CLDR:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
if_acmpne 19
aload 5
ldc "TimeZoneNames"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
18: aload 3
aload 3
invokeinterface java.util.List.size:()I
iconst_1
isub
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
19: StackMap locals:
StackMap stack:
aload 3
areturn
end local 8 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 20 0 this Lsun/util/resources/LocaleData$LocaleDataResourceBundleControl;
0 20 1 baseName Ljava/lang/String;
0 20 2 locale Ljava/util/Locale;
1 20 3 candidates Ljava/util/List<Ljava/util/Locale;>;
2 20 4 lastDot I
5 20 5 category Ljava/lang/String;
8 20 6 type Lsun/util/locale/provider/LocaleProviderAdapter$Type;
9 20 7 adapter Lsun/util/locale/provider/LocaleProviderAdapter;
10 20 8 langtags Ljava/util/Set<Ljava/lang/String;>;
12 16 9 itr Ljava/util/Iterator<Ljava/util/Locale;>;
Signature: (Ljava/lang/String;Ljava/util/Locale;)Ljava/util/List<Ljava/util/Locale;>;
MethodParameters:
Name Flags
baseName
locale
public java.util.Locale getFallbackLocale(java.lang.String, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/util/Locale;)Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 2
ifnonnull 2
1: StackMap locals:
StackMap stack:
new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/util/resources/LocaleData$LocaleDataResourceBundleControl;
0 3 1 baseName Ljava/lang/String;
0 3 2 locale Ljava/util/Locale;
MethodParameters:
Name Flags
baseName
locale
public java.lang.String toBundleName(java.lang.String, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
astore 3
start local 3 1: aload 2
invokevirtual java.util.Locale.getLanguage:()Ljava/lang/String;
astore 4
start local 4 2: aload 4
invokevirtual java.lang.String.length:()I
ifle 14
3: aload 1
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter$Type.getUtilResourcesPackage:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 5
4: aload 1
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter$Type.getTextResourcesPackage:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 14
5: StackMap locals: java.lang.String java.lang.String
StackMap stack:
getstatic sun.util.resources.LocaleData$LocaleDataResourceBundleControl.$assertionsDisabled:Z
ifne 8
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter$Type.getUtilResourcesPackage:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
6: getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter$Type.getTextResourcesPackage:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
7: if_icmpeq 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
getstatic sun.util.locale.provider.LocaleProviderAdapter$Type.JRE:Lsun/util/locale/provider/LocaleProviderAdapter$Type;
invokevirtual sun.util.locale.provider.LocaleProviderAdapter$Type.getUtilResourcesPackage:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 5
start local 5 9: aload 1
ldc ".cldr"
iload 5
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
ifle 11
10: iload 5
ldc ".cldr"
invokevirtual java.lang.String.length:()I
iadd
istore 5
11: StackMap locals: int
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
iconst_0
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: aload 1
iload 5
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
end local 5 14: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 2
invokespecial java.util.ResourceBundle$Control.toBundleName:(Ljava/lang/String;Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/util/resources/LocaleData$LocaleDataResourceBundleControl;
0 15 1 baseName Ljava/lang/String;
0 15 2 locale Ljava/util/Locale;
1 15 3 newBaseName Ljava/lang/String;
2 15 4 lang Ljava/lang/String;
9 14 5 index I
MethodParameters:
Name Flags
baseName
locale
}
SourceFile: "LocaleData.java"
NestHost: sun.util.resources.LocaleData
InnerClasses:
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 LocaleDataResourceBundleControl = sun.util.resources.LocaleData$LocaleDataResourceBundleControl of sun.util.resources.LocaleData