public class sun.util.resources.LocaleData
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.util.resources.LocaleData
super_class: java.lang.Object
{
private static final java.lang.String localeDataJarName;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "localedata.jar"
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/resources/LocaleData;
public static java.util.Locale[] getAvailableLocales();
descriptor: ()[Ljava/util/Locale;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.util.resources.LocaleData$AvailableLocales.localeList:[Ljava/util/Locale;
invokevirtual java.util.Locale[].clone:()Ljava/lang/Object;
checkcast java.util.Locale[]
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.util.ResourceBundle getCalendarData(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/ResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "sun.util.resources.CalendarData"
aload 0
invokestatic sun.util.resources.LocaleData.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public static sun.util.resources.OpenListResourceBundle getCurrencyNames(java.util.Locale);
descriptor: (Ljava/util/Locale;)Lsun/util/resources/OpenListResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "sun.util.resources.CurrencyNames"
aload 0
invokestatic sun.util.resources.LocaleData.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
checkcast sun.util.resources.OpenListResourceBundle
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public static sun.util.resources.OpenListResourceBundle getLocaleNames(java.util.Locale);
descriptor: (Ljava/util/Locale;)Lsun/util/resources/OpenListResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "sun.util.resources.LocaleNames"
aload 0
invokestatic sun.util.resources.LocaleData.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
checkcast sun.util.resources.OpenListResourceBundle
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public static sun.util.resources.OpenListResourceBundle getTimeZoneNames(java.util.Locale);
descriptor: (Ljava/util/Locale;)Lsun/util/resources/OpenListResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "sun.util.resources.TimeZoneNames"
aload 0
invokestatic sun.util.resources.LocaleData.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
checkcast sun.util.resources.OpenListResourceBundle
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public static java.util.ResourceBundle getCollationData(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/ResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "sun.text.resources.CollationData"
aload 0
invokestatic sun.util.resources.LocaleData.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public static java.util.ResourceBundle getDateFormatData(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/ResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "sun.text.resources.FormatData"
aload 0
invokestatic sun.util.resources.LocaleData.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public static java.util.ResourceBundle getNumberFormatData(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/ResourceBundle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "sun.text.resources.FormatData"
aload 0
invokestatic sun.util.resources.LocaleData.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
private static java.util.ResourceBundle getBundle(java.lang.String, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new sun.util.resources.LocaleData$1
dup
aload 0
aload 1
invokespecial sun.util.resources.LocaleData$1.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.util.ResourceBundle
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 baseName Ljava/lang/String;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
baseName final
locale final
private static boolean isNonEuroLangSupported();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=0
0: getstatic java.io.File.separator:Ljava/lang/String;
astore 0
start local 0 1: new java.lang.StringBuilder
dup
2: new sun.security.action.GetPropertyAction
dup
ldc "java.home"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "lib"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "ext"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "localedata.jar"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: astore 1
start local 1 7: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 8: new sun.util.resources.LocaleData$2
dup
aload 2
invokespecial sun.util.resources.LocaleData$2.<init>:(Ljava/io/File;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.Boolean
9: invokevirtual java.lang.Boolean.booleanValue:()Z
10: istore 3
start local 3 11: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 12 0 sep Ljava/lang/String;
7 12 1 localeDataJar Ljava/lang/String;
8 12 2 f Ljava/io/File;
11 12 3 isNonEuroResJarExist Z
private static java.util.Locale[] createLocaleList();
descriptor: ()[Ljava/util/Locale;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=6, args_size=0
0: ldc "sun.text.resources.FormatData"
invokestatic sun.util.LocaleDataMetaInfo.getSupportedLocaleString:(Ljava/lang/String;)Ljava/lang/String;
1: astore 0
start local 0 2: aload 0
invokevirtual java.lang.String.length:()I
ifne 4
3: aconst_null
areturn
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
ldc "|"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 1
start local 1 5: aconst_null
astore 2
start local 2 6: invokestatic sun.util.resources.LocaleData.isNonEuroLangSupported:()Z
ifeq 11
7: new java.util.StringTokenizer
dup
new java.lang.StringBuilder
dup
aload 0
iconst_0
iload 1
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
8: aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 2
10: goto 13
11: StackMap locals: int java.util.StringTokenizer
StackMap stack:
new java.util.StringTokenizer
dup
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
12: invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;)V
astore 2
13: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.countTokens:()I
anewarray java.util.Locale
astore 3
start local 3 14: iconst_0
istore 4
start local 4 15: goto 27
16: StackMap locals: java.util.Locale[] int
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
bipush 95
bipush 45
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 5
start local 5 17: aload 5
ldc "ja-JP-JP"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
18: ldc "ja-JP-u-ca-japanese-x-lvariant-JP"
astore 5
19: goto 25
StackMap locals: java.lang.String
StackMap stack:
20: aload 5
ldc "th-TH-TH"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
21: ldc "th-TH-u-nu-thai-x-lvariant-TH"
astore 5
22: goto 25
StackMap locals:
StackMap stack:
23: aload 5
ldc "no-NO-NY"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
24: ldc "no-NO-x-lvariant-NY"
astore 5
25: StackMap locals:
StackMap stack:
aload 3
iload 4
aload 5
invokestatic java.util.Locale.forLanguageTag:(Ljava/lang/String;)Ljava/util/Locale;
aastore
end local 5 26: iinc 4 1
StackMap locals:
StackMap stack:
27: iload 4
aload 3
arraylength
if_icmplt 16
end local 4 28: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
2 29 0 supportedLocaleString Ljava/lang/String;
5 29 1 barIndex I
6 29 2 localeStringTokenizer Ljava/util/StringTokenizer;
14 29 3 locales [Ljava/util/Locale;
15 28 4 i I
17 26 5 currentToken Ljava/lang/String;
}
SourceFile: "LocaleData.java"
NestMembers:
sun.util.resources.LocaleData$1 sun.util.resources.LocaleData$2 sun.util.resources.LocaleData$AvailableLocales sun.util.resources.LocaleData$LocaleDataResourceBundleControl
InnerClasses:
sun.util.resources.LocaleData$1
sun.util.resources.LocaleData$2
private AvailableLocales = sun.util.resources.LocaleData$AvailableLocales of sun.util.resources.LocaleData
LocaleDataResourceBundleControl = sun.util.resources.LocaleData$LocaleDataResourceBundleControl of sun.util.resources.LocaleData