public final class java.util.Locale implements java.lang.Cloneable, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.util.Locale
super_class: java.lang.Object
{
private static final java.util.Locale$Cache LOCALECACHE;
descriptor: Ljava/util/Locale$Cache;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.util.Locale ENGLISH;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale FRENCH;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale GERMAN;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale ITALIAN;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale JAPANESE;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale KOREAN;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale CHINESE;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale SIMPLIFIED_CHINESE;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale TRADITIONAL_CHINESE;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale FRANCE;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale GERMANY;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale ITALY;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale JAPAN;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale KOREA;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale CHINA;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale PRC;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale TAIWAN;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale UK;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale US;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale CANADA;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale CANADA_FRENCH;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.util.Locale ROOT;
descriptor: Ljava/util/Locale;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final char PRIVATE_USE_EXTENSION;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 120
public static final char UNICODE_LOCALE_EXTENSION;
descriptor: C
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 117
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 9149081749638150636
private static final int DISPLAY_LANGUAGE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int DISPLAY_COUNTRY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int DISPLAY_VARIANT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int DISPLAY_SCRIPT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int DISPLAY_UEXT_KEY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int DISPLAY_UEXT_TYPE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private transient sun.util.locale.BaseLocale baseLocale;
descriptor: Lsun/util/locale/BaseLocale;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient sun.util.locale.LocaleExtensions localeExtensions;
descriptor: Lsun/util/locale/LocaleExtensions;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private volatile transient int hashCodeValue;
descriptor: I
flags: (0x00c2) ACC_PRIVATE, ACC_VOLATILE, ACC_TRANSIENT
private static volatile java.util.Locale defaultLocale;
descriptor: Ljava/util/Locale;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile java.util.Locale defaultDisplayLocale;
descriptor: Ljava/util/Locale;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile java.util.Locale defaultFormatLocale;
descriptor: Ljava/util/Locale;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private volatile transient java.lang.String languageTag;
descriptor: Ljava/lang/String;
flags: (0x00c2) ACC_PRIVATE, ACC_VOLATILE, ACC_TRANSIENT
private static final java.io.ObjectStreamField[] serialPersistentFields;
descriptor: [Ljava/io/ObjectStreamField;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static volatile java.lang.String[] isoLanguages;
descriptor: [Ljava/lang/String;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static volatile java.lang.String[] isoCountries;
descriptor: [Ljava/lang/String;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$java$util$Locale$Category;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: ldc Ljava/util/Locale;
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 java.util.Locale.$assertionsDisabled:Z
3: new java.util.Locale$Cache
dup
invokespecial java.util.Locale$Cache.<init>:()V
putstatic java.util.Locale.LOCALECACHE:Ljava/util/Locale$Cache;
4: ldc "en"
ldc ""
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
5: ldc "fr"
ldc ""
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.FRENCH:Ljava/util/Locale;
6: ldc "de"
ldc ""
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.GERMAN:Ljava/util/Locale;
7: ldc "it"
ldc ""
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.ITALIAN:Ljava/util/Locale;
8: ldc "ja"
ldc ""
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.JAPANESE:Ljava/util/Locale;
9: ldc "ko"
ldc ""
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.KOREAN:Ljava/util/Locale;
10: ldc "zh"
ldc ""
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.CHINESE:Ljava/util/Locale;
11: ldc "zh"
ldc "CN"
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.SIMPLIFIED_CHINESE:Ljava/util/Locale;
12: ldc "zh"
ldc "TW"
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.TRADITIONAL_CHINESE:Ljava/util/Locale;
13: ldc "fr"
ldc "FR"
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.FRANCE:Ljava/util/Locale;
14: ldc "de"
ldc "DE"
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.GERMANY:Ljava/util/Locale;
15: ldc "it"
ldc "IT"
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.ITALY:Ljava/util/Locale;
16: ldc "ja"
ldc "JP"
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.JAPAN:Ljava/util/Locale;
17: ldc "ko"
ldc "KR"
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.KOREA:Ljava/util/Locale;
18: getstatic java.util.Locale.SIMPLIFIED_CHINESE:Ljava/util/Locale;
putstatic java.util.Locale.CHINA:Ljava/util/Locale;
19: getstatic java.util.Locale.SIMPLIFIED_CHINESE:Ljava/util/Locale;
putstatic java.util.Locale.PRC:Ljava/util/Locale;
20: getstatic java.util.Locale.TRADITIONAL_CHINESE:Ljava/util/Locale;
putstatic java.util.Locale.TAIWAN:Ljava/util/Locale;
21: ldc "en"
ldc "GB"
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.UK:Ljava/util/Locale;
22: ldc "en"
ldc "US"
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.US:Ljava/util/Locale;
23: ldc "en"
ldc "CA"
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.CANADA:Ljava/util/Locale;
24: ldc "fr"
ldc "CA"
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.CANADA_FRENCH:Ljava/util/Locale;
25: ldc ""
ldc ""
invokestatic java.util.Locale.createConstant:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
putstatic java.util.Locale.ROOT:Ljava/util/Locale;
26: invokestatic java.util.Locale.initDefault:()Ljava/util/Locale;
putstatic java.util.Locale.defaultLocale:Ljava/util/Locale;
27: bipush 6
anewarray java.io.ObjectStreamField
dup
iconst_0
28: new java.io.ObjectStreamField
dup
ldc "language"
ldc Ljava/lang/String;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
dup
iconst_1
29: new java.io.ObjectStreamField
dup
ldc "country"
ldc Ljava/lang/String;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
dup
iconst_2
30: new java.io.ObjectStreamField
dup
ldc "variant"
ldc Ljava/lang/String;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
dup
iconst_3
31: new java.io.ObjectStreamField
dup
ldc "hashcode"
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
dup
iconst_4
32: new java.io.ObjectStreamField
dup
ldc "script"
ldc Ljava/lang/String;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
dup
iconst_5
33: new java.io.ObjectStreamField
dup
ldc "extensions"
ldc Ljava/lang/String;
invokespecial java.io.ObjectStreamField.<init>:(Ljava/lang/String;Ljava/lang/Class;)V
aastore
34: putstatic java.util.Locale.serialPersistentFields:[Ljava/io/ObjectStreamField;
35: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(sun.util.locale.BaseLocale, sun.util.locale.LocaleExtensions);
descriptor: (Lsun/util/locale/BaseLocale;Lsun/util/locale/LocaleExtensions;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
2: aload 0
aload 2
putfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/Locale;
0 4 1 baseLocale Lsun/util/locale/BaseLocale;
0 4 2 extensions Lsun/util/locale/LocaleExtensions;
MethodParameters:
Name Flags
baseLocale
extensions
public void <init>(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnull 2
aload 2
ifnull 2
aload 3
ifnonnull 3
2: StackMap locals: java.util.Locale java.lang.String java.lang.String java.lang.String
StackMap stack:
new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic java.util.Locale.convertOldISOCodes:(Ljava/lang/String;)Ljava/lang/String;
ldc ""
aload 2
aload 3
invokestatic sun.util.locale.BaseLocale.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lsun/util/locale/BaseLocale;
putfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
4: aload 0
aload 1
ldc ""
aload 2
aload 3
invokestatic java.util.Locale.getCompatibilityExtensions:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lsun/util/locale/LocaleExtensions;
putfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/Locale;
0 6 1 language Ljava/lang/String;
0 6 2 country Ljava/lang/String;
0 6 3 variant Ljava/lang/String;
MethodParameters:
Name Flags
language
country
variant
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ldc ""
invokespecial java.util.Locale.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Locale;
0 2 1 language Ljava/lang/String;
0 2 2 country Ljava/lang/String;
MethodParameters:
Name Flags
language
country
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc ""
ldc ""
invokespecial java.util.Locale.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Locale;
0 2 1 language Ljava/lang/String;
MethodParameters:
Name Flags
language
private static java.util.Locale createConstant(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic sun.util.locale.BaseLocale.createInstance:(Ljava/lang/String;Ljava/lang/String;)Lsun/util/locale/BaseLocale;
astore 2
start local 2 1: aload 2
aconst_null
invokestatic java.util.Locale.getInstance:(Lsun/util/locale/BaseLocale;Lsun/util/locale/LocaleExtensions;)Ljava/util/Locale;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 lang Ljava/lang/String;
0 2 1 country Ljava/lang/String;
1 2 2 base Lsun/util/locale/BaseLocale;
MethodParameters:
Name Flags
lang
country
static java.util.Locale getInstance(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/util/Locale;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc ""
aload 1
aload 2
aconst_null
invokestatic java.util.Locale.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lsun/util/locale/LocaleExtensions;)Ljava/util/Locale;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 language Ljava/lang/String;
0 1 1 country Ljava/lang/String;
0 1 2 variant Ljava/lang/String;
MethodParameters:
Name Flags
language
country
variant
static java.util.Locale getInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String, sun.util.locale.LocaleExtensions);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lsun/util/locale/LocaleExtensions;)Ljava/util/Locale;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
ifnull 1
aload 1
ifnull 1
aload 2
ifnull 1
aload 3
ifnonnull 2
1: StackMap locals:
StackMap stack:
new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 4
ifnonnull 4
3: aload 0
aload 1
aload 2
aload 3
invokestatic java.util.Locale.getCompatibilityExtensions:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lsun/util/locale/LocaleExtensions;
astore 4
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokestatic sun.util.locale.BaseLocale.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lsun/util/locale/BaseLocale;
astore 5
start local 5 5: aload 5
aload 4
invokestatic java.util.Locale.getInstance:(Lsun/util/locale/BaseLocale;Lsun/util/locale/LocaleExtensions;)Ljava/util/Locale;
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 6 0 language Ljava/lang/String;
0 6 1 script Ljava/lang/String;
0 6 2 country Ljava/lang/String;
0 6 3 variant Ljava/lang/String;
0 6 4 extensions Lsun/util/locale/LocaleExtensions;
5 6 5 baseloc Lsun/util/locale/BaseLocale;
MethodParameters:
Name Flags
language
script
country
variant
extensions
static java.util.Locale getInstance(sun.util.locale.BaseLocale, sun.util.locale.LocaleExtensions);
descriptor: (Lsun/util/locale/BaseLocale;Lsun/util/locale/LocaleExtensions;)Ljava/util/Locale;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: getstatic java.util.Locale.LOCALECACHE:Ljava/util/Locale$Cache;
aload 0
invokevirtual java.util.Locale$Cache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Locale
areturn
2: StackMap locals:
StackMap stack:
new java.util.Locale$LocaleKey
dup
aload 0
aload 1
invokespecial java.util.Locale$LocaleKey.<init>:(Lsun/util/locale/BaseLocale;Lsun/util/locale/LocaleExtensions;)V
astore 2
start local 2 3: getstatic java.util.Locale.LOCALECACHE:Ljava/util/Locale$Cache;
aload 2
invokevirtual java.util.Locale$Cache.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Locale
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 baseloc Lsun/util/locale/BaseLocale;
0 4 1 extensions Lsun/util/locale/LocaleExtensions;
3 4 2 key Ljava/util/Locale$LocaleKey;
MethodParameters:
Name Flags
baseloc
extensions
public static java.util.Locale getDefault();
descriptor: ()Ljava/util/Locale;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.util.Locale.defaultLocale:Ljava/util/Locale;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.util.Locale getDefault(java.util.Locale$Category);
descriptor: (Ljava/util/Locale$Category;)Ljava/util/Locale;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic java.util.Locale.$SWITCH_TABLE$java$util$Locale$Category:()[I
aload 0
invokevirtual java.util.Locale$Category.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 1
2: 10
default: 19
}
1: StackMap locals:
StackMap stack:
getstatic java.util.Locale.defaultDisplayLocale:Ljava/util/Locale;
ifnonnull 9
2: ldc Ljava/util/Locale;
dup
astore 1
monitorenter
3: getstatic java.util.Locale.defaultDisplayLocale:Ljava/util/Locale;
ifnonnull 5
4: aload 0
invokestatic java.util.Locale.initDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
putstatic java.util.Locale.defaultDisplayLocale:Ljava/util/Locale;
5: StackMap locals: java.lang.Class
StackMap stack:
aload 1
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 1
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
getstatic java.util.Locale.defaultDisplayLocale:Ljava/util/Locale;
areturn
10: StackMap locals:
StackMap stack:
getstatic java.util.Locale.defaultFormatLocale:Ljava/util/Locale;
ifnonnull 18
11: ldc Ljava/util/Locale;
dup
astore 1
monitorenter
12: getstatic java.util.Locale.defaultFormatLocale:Ljava/util/Locale;
ifnonnull 14
13: aload 0
invokestatic java.util.Locale.initDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
putstatic java.util.Locale.defaultFormatLocale:Ljava/util/Locale;
14: StackMap locals: java.lang.Class
StackMap stack:
aload 1
monitorexit
15: goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
16: aload 1
monitorexit
17: athrow
18: StackMap locals:
StackMap stack:
getstatic java.util.Locale.defaultFormatLocale:Ljava/util/Locale;
areturn
19: StackMap locals:
StackMap stack:
getstatic java.util.Locale.$assertionsDisabled:Z
ifne 20
new java.lang.AssertionError
dup
ldc "Unknown Category"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
20: StackMap locals:
StackMap stack:
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 category Ljava/util/Locale$Category;
Exception table:
from to target type
3 6 7 any
7 8 7 any
12 15 16 any
16 17 16 any
MethodParameters:
Name Flags
category
private static java.util.Locale initDefault();
descriptor: ()Ljava/util/Locale;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=7, args_size=0
0: invokestatic sun.security.action.GetPropertyAction.privilegedGetProperties:()Ljava/util/Properties;
astore 5
start local 5 1: aload 5
ldc "user.language"
ldc "en"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 2: aload 5
ldc "user.region"
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 3: aload 1
ifnull 13
4: aload 1
bipush 95
invokevirtual java.lang.String.indexOf:(I)I
istore 6
start local 6 5: iload 6
iflt 9
6: aload 1
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 3
start local 3 7: aload 1
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
start local 4 8: goto 11
end local 4 end local 3 9: StackMap locals: java.lang.String java.lang.String top top top java.util.Properties int
StackMap stack:
aload 1
astore 3
start local 3 10: ldc ""
astore 4
start local 4 11: StackMap locals: java.lang.String java.lang.String top java.lang.String java.lang.String java.util.Properties int
StackMap stack:
ldc ""
astore 2
end local 6 start local 2 12: goto 16
end local 4 end local 3 end local 2 13: StackMap locals: java.lang.String java.lang.String top top top java.util.Properties
StackMap stack:
aload 5
ldc "user.script"
ldc ""
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 14: aload 5
ldc "user.country"
ldc ""
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 15: aload 5
ldc "user.variant"
ldc ""
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 16: StackMap locals: java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.util.Properties
StackMap stack:
aload 0
aload 2
aload 3
aload 4
17: aload 5
ldc "user.extensions"
ldc ""
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.util.Locale.getDefaultExtensions:(Ljava/lang/String;)Ljava/util/Optional;
18: aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.locale.LocaleExtensions
19: invokestatic java.util.Locale.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lsun/util/locale/LocaleExtensions;)Ljava/util/Locale;
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
2 20 0 language Ljava/lang/String;
3 20 1 region Ljava/lang/String;
12 13 2 script Ljava/lang/String;
14 20 2 script Ljava/lang/String;
7 9 3 country Ljava/lang/String;
10 13 3 country Ljava/lang/String;
15 20 3 country Ljava/lang/String;
8 9 4 variant Ljava/lang/String;
11 13 4 variant Ljava/lang/String;
16 20 4 variant Ljava/lang/String;
1 20 5 props Ljava/util/Properties;
5 12 6 i I
private static java.util.Locale initDefault(java.util.Locale$Category);
descriptor: (Ljava/util/Locale$Category;)Ljava/util/Locale;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: invokestatic sun.security.action.GetPropertyAction.privilegedGetProperties:()Ljava/util/Properties;
astore 1
start local 1 1: aload 1
aload 0
getfield java.util.Locale$Category.languageKey:Ljava/lang/String;
2: getstatic java.util.Locale.defaultLocale:Ljava/util/Locale;
invokevirtual java.util.Locale.getLanguage:()Ljava/lang/String;
3: invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
4: aload 1
aload 0
getfield java.util.Locale$Category.scriptKey:Ljava/lang/String;
5: getstatic java.util.Locale.defaultLocale:Ljava/util/Locale;
invokevirtual java.util.Locale.getScript:()Ljava/lang/String;
6: invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
7: aload 1
aload 0
getfield java.util.Locale$Category.countryKey:Ljava/lang/String;
8: getstatic java.util.Locale.defaultLocale:Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
9: invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
10: aload 1
aload 0
getfield java.util.Locale$Category.variantKey:Ljava/lang/String;
11: getstatic java.util.Locale.defaultLocale:Ljava/util/Locale;
invokevirtual java.util.Locale.getVariant:()Ljava/lang/String;
12: invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
13: aload 1
aload 0
getfield java.util.Locale$Category.extensionsKey:Ljava/lang/String;
ldc ""
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokestatic java.util.Locale.getDefaultExtensions:(Ljava/lang/String;)Ljava/util/Optional;
14: getstatic java.util.Locale.defaultLocale:Ljava/util/Locale;
invokevirtual java.util.Locale.getLocaleExtensions:()Lsun/util/locale/LocaleExtensions;
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.util.locale.LocaleExtensions
15: invokestatic java.util.Locale.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lsun/util/locale/LocaleExtensions;)Ljava/util/Locale;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 category Ljava/util/Locale$Category;
1 16 1 props Ljava/util/Properties;
MethodParameters:
Name Flags
category
private static java.util.Optional<sun.util.locale.LocaleExtensions> getDefaultExtensions(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Optional;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: new sun.util.locale.InternalLocaleBuilder
dup
invokespecial sun.util.locale.InternalLocaleBuilder.<init>:()V
2: aload 0
invokevirtual sun.util.locale.InternalLocaleBuilder.setExtensions:(Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
3: invokevirtual sun.util.locale.InternalLocaleBuilder.getLocaleExtensions:()Lsun/util/locale/LocaleExtensions;
4: astore 1
5: goto 7
StackMap locals: java.lang.String sun.util.locale.LocaleExtensions
StackMap stack: sun.util.locale.LocaleSyntaxException
6: pop
7: StackMap locals:
StackMap stack:
aload 1
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 extensionsProp Ljava/lang/String;
1 8 1 exts Lsun/util/locale/LocaleExtensions;
Exception table:
from to target type
1 5 6 Class sun.util.locale.LocaleSyntaxException
Signature: (Ljava/lang/String;)Ljava/util/Optional<Lsun/util/locale/LocaleExtensions;>;
MethodParameters:
Name Flags
extensionsProp
public static synchronized void setDefault(java.util.Locale);
descriptor: (Ljava/util/Locale;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.util.Locale$Category.DISPLAY:Ljava/util/Locale$Category;
aload 0
invokestatic java.util.Locale.setDefault:(Ljava/util/Locale$Category;Ljava/util/Locale;)V
1: getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
aload 0
invokestatic java.util.Locale.setDefault:(Ljava/util/Locale$Category;Ljava/util/Locale;)V
2: aload 0
putstatic java.util.Locale.defaultLocale:Ljava/util/Locale;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 newLocale Ljava/util/Locale;
MethodParameters:
Name Flags
newLocale
public static synchronized void setDefault(java.util.Locale$Category, java.util.Locale);
descriptor: (Ljava/util/Locale$Category;Ljava/util/Locale;)V
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Category cannot be NULL"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "Can't set default locale to NULL"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 2
start local 2 5: aload 2
ifnull 8
aload 2
new java.util.PropertyPermission
dup
6: ldc "user.language"
ldc "write"
invokespecial java.util.PropertyPermission.<init>:(Ljava/lang/String;Ljava/lang/String;)V
7: invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
8: StackMap locals: java.lang.SecurityManager
StackMap stack:
invokestatic java.util.Locale.$SWITCH_TABLE$java$util$Locale$Category:()[I
aload 0
invokevirtual java.util.Locale$Category.ordinal:()I
iaload
tableswitch { // 1 - 2
1: 9
2: 11
default: 13
}
9: StackMap locals:
StackMap stack:
aload 1
putstatic java.util.Locale.defaultDisplayLocale:Ljava/util/Locale;
10: goto 14
11: StackMap locals:
StackMap stack:
aload 1
putstatic java.util.Locale.defaultFormatLocale:Ljava/util/Locale;
12: goto 14
13: StackMap locals:
StackMap stack:
getstatic java.util.Locale.$assertionsDisabled:Z
ifne 14
new java.lang.AssertionError
dup
ldc "Unknown Category"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 category Ljava/util/Locale$Category;
0 15 1 newLocale Ljava/util/Locale;
5 15 2 sm Ljava/lang/SecurityManager;
MethodParameters:
Name Flags
category
newLocale
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: invokestatic sun.util.locale.provider.LocaleServiceProviderPool.getAllAvailableLocales:()[Ljava/util/Locale;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.lang.String[] getISOCountries();
descriptor: ()[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: getstatic java.util.Locale.isoCountries:[Ljava/lang/String;
ifnonnull 2
1: ldc "ADANDAEAREAFAFGAGATGAIAIAALALBAMARMAOAGOAQATAARARGASASMATAUTAUAUSAWABWAXALAAZAZEBABIHBBBRBBDBGDBEBELBFBFABGBGRBHBHRBIBDIBJBENBLBLMBMBMUBNBRNBOBOLBQBESBRBRABSBHSBTBTNBVBVTBWBWABYBLRBZBLZCACANCCCCKCDCODCFCAFCGCOGCHCHECICIVCKCOKCLCHLCMCMRCNCHNCOCOLCRCRICUCUBCVCPVCWCUWCXCXRCYCYPCZCZEDEDEUDJDJIDKDNKDMDMADODOMDZDZAECECUEEESTEGEGYEHESHERERIESESPETETHFIFINFJFJIFKFLKFMFSMFOFROFRFRAGAGABGBGBRGDGRDGEGEOGFGUFGGGGYGHGHAGIGIBGLGRLGMGMBGNGINGPGLPGQGNQGRGRCGSSGSGTGTMGUGUMGWGNBGYGUYHKHKGHMHMDHNHNDHRHRVHTHTIHUHUNIDIDNIEIRLILISRIMIMNININDIOIOTIQIRQIRIRNISISLITITAJEJEYJMJAMJOJORJPJPNKEKENKGKGZKHKHMKIKIRKMCOMKNKNAKPPRKKRKORKWKWTKYCYMKZKAZLALAOLBLBNLCLCALILIELKLKALRLBRLSLSOLTLTULULUXLVLVALYLBYMAMARMCMCOMDMDAMEMNEMFMAFMGMDGMHMHLMKMKDMLMLIMMMMRMNMNGMOMACMPMNPMQMTQMRMRTMSMSRMTMLTMUMUSMVMDVMWMWIMXMEXMYMYSMZMOZNANAMNCNCLNENERNFNFKNGNGANINICNLNLDNONORNPNPLNRNRUNUNIUNZNZLOMOMNPAPANPEPERPFPYFPGPNGPHPHLPKPAKPLPOLPMSPMPNPCNPRPRIPSPSEPTPRTPWPLWPYPRYQAQATREREUROROURSSRBRURUSRWRWASASAUSBSLBSCSYCSDSDNSESWESGSGPSHSHNSISVNSJSJMSKSVKSLSLESMSMRSNSENSOSOMSRSURSSSSDSTSTPSVSLVSXSXMSYSYRSZSWZTCTCATDTCDTFATFTGTGOTHTHATJTJKTKTKLTLTLSTMTKMTNTUNTOTONTRTURTTTTOTVTUVTWTWNTZTZAUAUKRUGUGAUMUMIUSUSAUYURYUZUZBVAVATVCVCTVEVENVGVGBVIVIRVNVNMVUVUTWFWLFWSWSMYEYEMYTMYTZAZAFZMZMBZWZWE"
invokestatic java.util.Locale.getISO2Table:(Ljava/lang/String;)[Ljava/lang/String;
putstatic java.util.Locale.isoCountries:[Ljava/lang/String;
2: StackMap locals:
StackMap stack:
getstatic java.util.Locale.isoCountries:[Ljava/lang/String;
arraylength
anewarray java.lang.String
astore 0
start local 0 3: getstatic java.util.Locale.isoCountries:[Ljava/lang/String;
iconst_0
aload 0
iconst_0
getstatic java.util.Locale.isoCountries:[Ljava/lang/String;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
3 5 0 result [Ljava/lang/String;
public static java.util.Set<java.lang.String> getISOCountries(java.util.Locale$IsoCountryCode);
descriptor: (Ljava/util/Locale$IsoCountryCode;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokestatic java.util.Locale$IsoCountryCode.retrieveISOCountryCodes:(Ljava/util/Locale$IsoCountryCode;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 type Ljava/util/Locale$IsoCountryCode;
Signature: (Ljava/util/Locale$IsoCountryCode;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
type
public static java.lang.String[] getISOLanguages();
descriptor: ()[Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=0
0: getstatic java.util.Locale.isoLanguages:[Ljava/lang/String;
ifnonnull 2
1: ldc "aaaarababkaeaveafafrakakaamamhanargararaasasmavavaayaymazazebabakbebelbgbulbhbihbibisbmbambnbenbobodbrbrebsboscacatcechechchacocoscrcrecscescuchucvchvcycymdadandedeudvdivdzdzoeeeweelellenengeoepoesspaetesteueusfafasfffulfifinfjfijfofaofrfrafyfrygaglegdglaglglggngrngugujgvglvhahauhehebhihinhohmohrhrvhthathuhunhyhyehzheriainaidindieileigiboiiiiiikipkinindioidoisislititaiuikuiwhebjajpnjiyidjvjavkakatkgkonkikikkjkuakkkazklkalkmkhmknkankokorkrkaukskaskukurkvkomkwcorkykirlalatlbltzlgluglilimlnlinlolaoltlitlulublvlavmgmlgmhmahmimrimkmkdmlmalmnmonmomolmrmarmsmsamtmltmymyananaunbnobndndenenepngndonlnldnnnnononornrnblnvnavnynyaocociojojiomormororiososspapanpipliplpolpspusptporququermrohrnrunroronrurusrwkinsasanscsrdsdsndsesmesgsagsisinskslkslslvsmsmosnsnasosomsqsqisrsrpsssswstsotsusunsvsweswswatatamteteltgtgkththatitirtktuktltgltntsntotontrturtstsotttattwtwitytahuguigukukrururduzuzbvevenvivievovolwawlnwowolxhxhoyiyidyoyorzazhazhzhozuzul"
invokestatic java.util.Locale.getISO2Table:(Ljava/lang/String;)[Ljava/lang/String;
putstatic java.util.Locale.isoLanguages:[Ljava/lang/String;
2: StackMap locals:
StackMap stack:
getstatic java.util.Locale.isoLanguages:[Ljava/lang/String;
arraylength
anewarray java.lang.String
astore 0
start local 0 3: getstatic java.util.Locale.isoLanguages:[Ljava/lang/String;
iconst_0
aload 0
iconst_0
getstatic java.util.Locale.isoLanguages:[Ljava/lang/String;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
3 5 0 result [Ljava/lang/String;
private static java.lang.String[] getISO2Table(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.length:()I
iconst_5
idiv
istore 1
start local 1 1: iload 1
anewarray java.lang.String
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 7
5: StackMap locals: java.lang.String int java.lang.String[] int int
StackMap stack:
aload 2
iload 3
aload 0
iload 4
iload 4
iconst_2
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
aastore
6: iinc 3 1
iinc 4 5
StackMap locals:
StackMap stack:
7: iload 3
iload 1
if_icmplt 5
end local 4 end local 3 8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 table Ljava/lang/String;
1 9 1 len I
2 9 2 isoTable [Ljava/lang/String;
3 8 3 i I
4 8 4 j I
MethodParameters:
Name Flags
table
public java.lang.String getLanguage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getLanguage:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Locale;
public java.lang.String getScript();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getScript:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Locale;
public java.lang.String getCountry();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getRegion:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Locale;
public java.lang.String getVariant();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getVariant:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Locale;
public boolean hasExtensions();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/Locale;
public java.util.Locale stripExtensions();
descriptor: ()Ljava/util/Locale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Locale.hasExtensions:()Z
ifeq 1
aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
aconst_null
invokestatic java.util.Locale.getInstance:(Lsun/util/locale/BaseLocale;Lsun/util/locale/LocaleExtensions;)Ljava/util/Locale;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
StackMap locals:
StackMap stack: java.util.Locale
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Locale;
public java.lang.String getExtension(char);
descriptor: (C)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
invokestatic sun.util.locale.LocaleExtensions.isValidKey:(C)Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed extension key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.Locale.hasExtensions:()Z
ifeq 3
aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
iload 1
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
invokevirtual sun.util.locale.LocaleExtensions.getExtensionValue:(Ljava/lang/Character;)Ljava/lang/String;
goto 4
StackMap locals:
StackMap stack:
3: aconst_null
StackMap locals:
StackMap stack: java.lang.String
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Locale;
0 5 1 key C
MethodParameters:
Name Flags
key
public java.util.Set<java.lang.Character> getExtensionKeys();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Locale.hasExtensions:()Z
ifne 2
1: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
invokevirtual sun.util.locale.LocaleExtensions.getKeys:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Locale;
Signature: ()Ljava/util/Set<Ljava/lang/Character;>;
public java.util.Set<java.lang.String> getUnicodeLocaleAttributes();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Locale.hasExtensions:()Z
ifne 2
1: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
invokevirtual sun.util.locale.LocaleExtensions.getUnicodeLocaleAttributes:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Locale;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.lang.String getUnicodeLocaleType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Locale.isUnicodeExtensionKey:(Ljava/lang/String;)Z
ifne 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed Unicode locale key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.Locale.hasExtensions:()Z
ifeq 3
aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
aload 1
invokevirtual sun.util.locale.LocaleExtensions.getUnicodeLocaleType:(Ljava/lang/String;)Ljava/lang/String;
goto 4
StackMap locals:
StackMap stack:
3: aconst_null
StackMap locals:
StackMap stack: java.lang.String
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Locale;
0 5 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public java.util.Set<java.lang.String> getUnicodeLocaleKeys();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
ifnonnull 2
1: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
invokevirtual sun.util.locale.LocaleExtensions.getUnicodeLocaleKeys:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/Locale;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
sun.util.locale.BaseLocale getBaseLocale();
descriptor: ()Lsun/util/locale/BaseLocale;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Locale;
sun.util.locale.LocaleExtensions getLocaleExtensions();
descriptor: ()Lsun/util/locale/LocaleExtensions;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Locale;
public final java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getLanguage:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getScript:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 4
iconst_0
goto 5
StackMap locals: int
StackMap stack:
4: iconst_1
StackMap locals:
StackMap stack: int
5: istore 2
start local 2 6: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getRegion:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 7
iconst_0
goto 8
StackMap locals: int
StackMap stack:
7: iconst_1
StackMap locals:
StackMap stack: int
8: istore 3
start local 3 9: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getVariant:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 10
iconst_0
goto 11
StackMap locals: int
StackMap stack:
10: iconst_1
StackMap locals:
StackMap stack: int
11: istore 4
start local 4 12: aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
ifnull 13
aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
invokevirtual sun.util.locale.LocaleExtensions.getID:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 13
iconst_1
goto 14
StackMap locals: int
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: istore 5
start local 5 15: new java.lang.StringBuilder
dup
aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getLanguage:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 6
start local 6 16: iload 3
ifne 17
iload 1
ifeq 19
iload 4
ifne 17
iload 2
ifne 17
iload 5
ifeq 19
17: StackMap locals: int java.lang.StringBuilder
StackMap stack:
aload 6
bipush 95
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
18: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getRegion:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: StackMap locals:
StackMap stack:
iload 4
ifeq 22
iload 1
ifne 20
iload 3
ifeq 22
20: StackMap locals:
StackMap stack:
aload 6
bipush 95
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
21: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getVariant:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
22: StackMap locals:
StackMap stack:
iload 2
ifeq 25
iload 1
ifne 23
iload 3
ifeq 25
23: StackMap locals:
StackMap stack:
aload 6
ldc "_#"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
24: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getScript:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
25: StackMap locals:
StackMap stack:
iload 5
ifeq 30
iload 1
ifne 26
iload 3
ifeq 30
26: StackMap locals:
StackMap stack:
aload 6
bipush 95
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
27: iload 2
ifne 29
28: aload 6
bipush 35
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
29: StackMap locals:
StackMap stack:
aload 6
aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
invokevirtual sun.util.locale.LocaleExtensions.getID:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
30: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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 31 0 this Ljava/util/Locale;
3 31 1 l Z
6 31 2 s Z
9 31 3 r Z
12 31 4 v Z
15 31 5 e Z
16 31 6 result Ljava/lang/StringBuilder;
public java.lang.String toLanguageTag();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: aload 0
getfield java.util.Locale.languageTag:Ljava/lang/String;
ifnull 2
1: aload 0
getfield java.util.Locale.languageTag:Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
invokestatic sun.util.locale.LanguageTag.parseLocale:(Lsun/util/locale/BaseLocale;Lsun/util/locale/LocaleExtensions;)Lsun/util/locale/LanguageTag;
astore 1
start local 1 3: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 4: aload 1
invokevirtual sun.util.locale.LanguageTag.getLanguage:()Ljava/lang/String;
astore 3
start local 3 5: aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 7
6: aload 2
aload 3
invokestatic sun.util.locale.LanguageTag.canonicalizeLanguage:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals: sun.util.locale.LanguageTag java.lang.StringBuilder java.lang.String
StackMap stack:
aload 1
invokevirtual sun.util.locale.LanguageTag.getScript:()Ljava/lang/String;
astore 3
8: aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 11
9: aload 2
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 2
aload 3
invokestatic sun.util.locale.LanguageTag.canonicalizeScript:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.util.locale.LanguageTag.getRegion:()Ljava/lang/String;
astore 3
12: aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 15
13: aload 2
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: aload 2
aload 3
invokestatic sun.util.locale.LanguageTag.canonicalizeRegion:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.util.locale.LanguageTag.getVariants:()Ljava/util/List;
astore 4
start local 4 16: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 20
StackMap locals: java.util.Locale sun.util.locale.LanguageTag java.lang.StringBuilder java.lang.String java.util.List top java.util.Iterator
StackMap stack:
17: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 18: aload 2
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: aload 2
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 5 20: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 17
21: aload 1
invokevirtual sun.util.locale.LanguageTag.getExtensions:()Ljava/util/List;
astore 4
22: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 26
StackMap locals:
StackMap stack:
23: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 24: aload 2
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
25: aload 2
aload 5
invokestatic sun.util.locale.LanguageTag.canonicalizeExtension:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 5 26: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
27: aload 1
invokevirtual sun.util.locale.LanguageTag.getPrivateuse:()Ljava/lang/String;
astore 3
28: aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 33
29: aload 2
invokevirtual java.lang.StringBuilder.length:()I
ifle 31
30: aload 2
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
31: StackMap locals: java.util.Locale sun.util.locale.LanguageTag java.lang.StringBuilder java.lang.String java.util.List
StackMap stack:
aload 2
ldc "x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
32: aload 2
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
33: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 34: aload 0
dup
astore 6
monitorenter
35: aload 0
getfield java.util.Locale.languageTag:Ljava/lang/String;
ifnonnull 37
36: aload 0
aload 5
putfield java.util.Locale.languageTag:Ljava/lang/String;
37: StackMap locals: java.lang.String java.util.Locale
StackMap stack:
aload 6
monitorexit
38: goto 41
StackMap locals:
StackMap stack: java.lang.Throwable
39: aload 6
monitorexit
40: athrow
41: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Locale.languageTag:Ljava/lang/String;
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 42 0 this Ljava/util/Locale;
3 42 1 tag Lsun/util/locale/LanguageTag;
4 42 2 buf Ljava/lang/StringBuilder;
5 42 3 subtag Ljava/lang/String;
16 42 4 subtags Ljava/util/List<Ljava/lang/String;>;
18 20 5 s Ljava/lang/String;
24 26 5 s Ljava/lang/String;
34 42 5 langTag Ljava/lang/String;
Exception table:
from to target type
35 38 39 any
39 40 39 any
public static java.util.Locale forLanguageTag(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Locale;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic sun.util.locale.LanguageTag.parse:(Ljava/lang/String;Lsun/util/locale/ParseStatus;)Lsun/util/locale/LanguageTag;
astore 1
start local 1 1: new sun.util.locale.InternalLocaleBuilder
dup
invokespecial sun.util.locale.InternalLocaleBuilder.<init>:()V
astore 2
start local 2 2: aload 2
aload 1
invokevirtual sun.util.locale.InternalLocaleBuilder.setLanguageTag:(Lsun/util/locale/LanguageTag;)Lsun/util/locale/InternalLocaleBuilder;
pop
3: aload 2
invokevirtual sun.util.locale.InternalLocaleBuilder.getBaseLocale:()Lsun/util/locale/BaseLocale;
astore 3
start local 3 4: aload 2
invokevirtual sun.util.locale.InternalLocaleBuilder.getLocaleExtensions:()Lsun/util/locale/LocaleExtensions;
astore 4
start local 4 5: aload 4
ifnonnull 9
aload 3
invokevirtual sun.util.locale.BaseLocale.getVariant:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 9
6: aload 3
invokevirtual sun.util.locale.BaseLocale.getLanguage:()Ljava/lang/String;
aload 3
invokevirtual sun.util.locale.BaseLocale.getScript:()Ljava/lang/String;
7: aload 3
invokevirtual sun.util.locale.BaseLocale.getRegion:()Ljava/lang/String;
aload 3
invokevirtual sun.util.locale.BaseLocale.getVariant:()Ljava/lang/String;
8: invokestatic java.util.Locale.getCompatibilityExtensions:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lsun/util/locale/LocaleExtensions;
astore 4
9: StackMap locals: java.lang.String sun.util.locale.LanguageTag sun.util.locale.InternalLocaleBuilder sun.util.locale.BaseLocale sun.util.locale.LocaleExtensions
StackMap stack:
aload 3
aload 4
invokestatic java.util.Locale.getInstance:(Lsun/util/locale/BaseLocale;Lsun/util/locale/LocaleExtensions;)Ljava/util/Locale;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 languageTag Ljava/lang/String;
1 10 1 tag Lsun/util/locale/LanguageTag;
2 10 2 bldr Lsun/util/locale/InternalLocaleBuilder;
4 10 3 base Lsun/util/locale/BaseLocale;
5 10 4 exts Lsun/util/locale/LocaleExtensions;
MethodParameters:
Name Flags
languageTag
public java.lang.String getISO3Language();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getLanguage:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.String.length:()I
iconst_3
if_icmpne 3
2: aload 1
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
ldc "aaaarababkaeaveafafrakakaamamhanargararaasasmavavaayaymazazebabakbebelbgbulbhbihbibisbmbambnbenbobodbrbrebsboscacatcechechchacocoscrcrecscescuchucvchvcycymdadandedeudvdivdzdzoeeeweelellenengeoepoesspaetesteueusfafasfffulfifinfjfijfofaofrfrafyfrygaglegdglaglglggngrngugujgvglvhahauhehebhihinhohmohrhrvhthathuhunhyhyehzheriainaidindieileigiboiiiiiikipkinindioidoisislititaiuikuiwhebjajpnjiyidjvjavkakatkgkonkikikkjkuakkkazklkalkmkhmknkankokorkrkaukskaskukurkvkomkwcorkykirlalatlbltzlgluglilimlnlinlolaoltlitlulublvlavmgmlgmhmahmimrimkmkdmlmalmnmonmomolmrmarmsmsamtmltmymyananaunbnobndndenenepngndonlnldnnnnononornrnblnvnavnynyaocociojojiomormororiososspapanpipliplpolpspusptporququermrohrnrunroronrurusrwkinsasanscsrdsdsndsesmesgsagsisinskslkslslvsmsmosnsnasosomsqsqisrsrpsssswstsotsusunsvsweswswatatamteteltgtgkththatitirtktuktltgltntsntotontrturtstsotttattwtwitytahuguigukukrururduzuzbvevenvivievovolwawlnwowolxhxhoyiyidyoyorzazhazhzhozuzul"
invokestatic java.util.Locale.getISO3Code:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 4: aload 2
ifnonnull 8
5: new java.util.MissingResourceException
dup
new java.lang.StringBuilder
dup
ldc "Couldn't find 3-letter language code for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
new java.lang.StringBuilder
dup
ldc "FormatData_"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.util.Locale.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
ldc "ShortLanguage"
7: invokespecial java.util.MissingResourceException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
athrow
8: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/util/Locale;
1 9 1 lang Ljava/lang/String;
4 9 2 language3 Ljava/lang/String;
Exceptions:
throws java.util.MissingResourceException
public java.lang.String getISO3Country();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getRegion:()Ljava/lang/String;
ldc "ADANDAEAREAFAFGAGATGAIAIAALALBAMARMAOAGOAQATAARARGASASMATAUTAUAUSAWABWAXALAAZAZEBABIHBBBRBBDBGDBEBELBFBFABGBGRBHBHRBIBDIBJBENBLBLMBMBMUBNBRNBOBOLBQBESBRBRABSBHSBTBTNBVBVTBWBWABYBLRBZBLZCACANCCCCKCDCODCFCAFCGCOGCHCHECICIVCKCOKCLCHLCMCMRCNCHNCOCOLCRCRICUCUBCVCPVCWCUWCXCXRCYCYPCZCZEDEDEUDJDJIDKDNKDMDMADODOMDZDZAECECUEEESTEGEGYEHESHERERIESESPETETHFIFINFJFJIFKFLKFMFSMFOFROFRFRAGAGABGBGBRGDGRDGEGEOGFGUFGGGGYGHGHAGIGIBGLGRLGMGMBGNGINGPGLPGQGNQGRGRCGSSGSGTGTMGUGUMGWGNBGYGUYHKHKGHMHMDHNHNDHRHRVHTHTIHUHUNIDIDNIEIRLILISRIMIMNININDIOIOTIQIRQIRIRNISISLITITAJEJEYJMJAMJOJORJPJPNKEKENKGKGZKHKHMKIKIRKMCOMKNKNAKPPRKKRKORKWKWTKYCYMKZKAZLALAOLBLBNLCLCALILIELKLKALRLBRLSLSOLTLTULULUXLVLVALYLBYMAMARMCMCOMDMDAMEMNEMFMAFMGMDGMHMHLMKMKDMLMLIMMMMRMNMNGMOMACMPMNPMQMTQMRMRTMSMSRMTMLTMUMUSMVMDVMWMWIMXMEXMYMYSMZMOZNANAMNCNCLNENERNFNFKNGNGANINICNLNLDNONORNPNPLNRNRUNUNIUNZNZLOMOMNPAPANPEPERPFPYFPGPNGPHPHLPKPAKPLPOLPMSPMPNPCNPRPRIPSPSEPTPRTPWPLWPYPRYQAQATREREUROROURSSRBRURUSRWRWASASAUSBSLBSCSYCSDSDNSESWESGSGPSHSHNSISVNSJSJMSKSVKSLSLESMSMRSNSENSOSOMSRSURSSSSDSTSTPSVSLVSXSXMSYSYRSZSWZTCTCATDTCDTFATFTGTGOTHTHATJTJKTKTKLTLTLSTMTKMTNTUNTOTONTRTURTTTTOTVTUVTWTWNTZTZAUAUKRUGUGAUMUMIUSUSAUYURYUZUZBVAVATVCVCTVEVENVGVGBVIVIRVNVNMVUVUTWFWLFWSWSMYEYEMYTMYTZAZAFZMZMBZWZWE"
invokestatic java.util.Locale.getISO3Code:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnonnull 5
2: new java.util.MissingResourceException
dup
new java.lang.StringBuilder
dup
ldc "Couldn't find 3-letter country code for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getRegion:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
new java.lang.StringBuilder
dup
ldc "FormatData_"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.util.Locale.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
ldc "ShortCountry"
4: invokespecial java.util.MissingResourceException.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/Locale;
1 6 1 country3 Ljava/lang/String;
Exceptions:
throws java.util.MissingResourceException
private static java.lang.String getISO3Code(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 1: iload 2
ifne 3
2: ldc ""
areturn
3: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
istore 3
start local 3 4: iload 3
istore 4
start local 4 5: iload 2
iconst_2
if_icmpne 14
6: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 7: aload 0
iconst_1
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 8: iconst_0
istore 4
goto 13
9: StackMap locals: java.lang.String java.lang.String int int int int int
StackMap stack:
aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
iload 5
if_icmpne 12
10: aload 1
iload 4
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
iload 6
if_icmpne 12
11: goto 14
12: StackMap locals:
StackMap stack:
iinc 4 5
StackMap locals:
StackMap stack:
13: iload 4
iload 3
if_icmplt 9
end local 6 end local 5 14: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmpge 15
aload 1
iload 4
iconst_2
iadd
iload 4
iconst_5
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 16
StackMap locals:
StackMap stack:
15: aconst_null
StackMap locals:
StackMap stack: java.lang.String
16: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 iso2Code Ljava/lang/String;
0 17 1 table Ljava/lang/String;
1 17 2 codeLength I
4 17 3 tableLength I
5 17 4 index I
7 14 5 c1 C
8 14 6 c2 C
MethodParameters:
Name Flags
iso2Code
table
public final java.lang.String getDisplayLanguage();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.util.Locale$Category.DISPLAY:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
invokevirtual java.util.Locale.getDisplayLanguage:(Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Locale;
public java.lang.String getDisplayLanguage(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getLanguage:()Ljava/lang/String;
aconst_null
aload 1
iconst_0
invokevirtual java.util.Locale.getDisplayString:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Locale;I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Locale;
0 1 1 inLocale Ljava/util/Locale;
MethodParameters:
Name Flags
inLocale
public java.lang.String getDisplayScript();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.util.Locale$Category.DISPLAY:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
invokevirtual java.util.Locale.getDisplayScript:(Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Locale;
public java.lang.String getDisplayScript(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getScript:()Ljava/lang/String;
aconst_null
aload 1
iconst_3
invokevirtual java.util.Locale.getDisplayString:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Locale;I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Locale;
0 1 1 inLocale Ljava/util/Locale;
MethodParameters:
Name Flags
inLocale
public final java.lang.String getDisplayCountry();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.util.Locale$Category.DISPLAY:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
invokevirtual java.util.Locale.getDisplayCountry:(Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Locale;
public java.lang.String getDisplayCountry(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getRegion:()Ljava/lang/String;
aconst_null
aload 1
iconst_1
invokevirtual java.util.Locale.getDisplayString:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Locale;I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Locale;
0 1 1 inLocale Ljava/util/Locale;
MethodParameters:
Name Flags
inLocale
private java.lang.String getDisplayString(java.lang.String, java.lang.String, java.util.Locale, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/util/Locale;I)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 4
3: ldc ""
areturn
4: StackMap locals:
StackMap stack:
ldc Ljava/util/spi/LocaleNameProvider;
invokestatic sun.util.locale.provider.LocaleServiceProviderPool.getPool:(Ljava/lang/Class;)Lsun/util/locale/provider/LocaleServiceProviderPool;
5: astore 5
start local 5 6: iload 4
iconst_2
if_icmpne 7
new java.lang.StringBuilder
dup
ldc "%%"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 8
StackMap locals: sun.util.locale.provider.LocaleServiceProviderPool
StackMap stack:
7: aload 1
StackMap locals:
StackMap stack: java.lang.String
8: astore 6
start local 6 9: aload 5
10: getstatic java.util.Locale$LocaleNameGetter.INSTANCE:Ljava/util/Locale$LocaleNameGetter;
11: aload 3
aload 6
iconst_3
anewarray java.lang.Object
dup
iconst_0
iload 4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 2
aastore
12: invokevirtual sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObject:(Lsun/util/locale/provider/LocaleServiceProviderPool$LocalizedObjectGetter;Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 13: aload 7
ifnull 14
aload 7
goto 15
StackMap locals: java.lang.String java.lang.String
StackMap stack:
14: aload 1
StackMap locals:
StackMap stack: java.lang.String
15: 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 16 0 this Ljava/util/Locale;
0 16 1 code Ljava/lang/String;
0 16 2 cat Ljava/lang/String;
0 16 3 inLocale Ljava/util/Locale;
0 16 4 type I
6 16 5 pool Lsun/util/locale/provider/LocaleServiceProviderPool;
9 16 6 rbKey Ljava/lang/String;
13 16 7 result Ljava/lang/String;
MethodParameters:
Name Flags
code
cat
inLocale
type
public final java.lang.String getDisplayVariant();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.util.Locale$Category.DISPLAY:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
invokevirtual java.util.Locale.getDisplayVariant:(Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Locale;
public java.lang.String getDisplayVariant(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.getVariant:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
invokestatic sun.util.locale.provider.LocaleProviderAdapter.getResourceBundleBased:()Lsun/util/locale/provider/LocaleProviderAdapter;
3: aload 1
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.getLocaleResources:(Ljava/util/Locale;)Lsun/util/locale/provider/LocaleResources;
4: astore 2
start local 2 5: aload 0
aload 1
invokevirtual java.util.Locale.getDisplayVariantArray:(Ljava/util/Locale;)[Ljava/lang/String;
astore 3
start local 3 6: aload 3
7: aload 2
ldc "ListCompositionPattern"
invokevirtual sun.util.locale.provider.LocaleResources.getLocaleName:(Ljava/lang/String;)Ljava/lang/String;
8: invokestatic java.util.Locale.formatList:([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/util/Locale;
0 9 1 inLocale Ljava/util/Locale;
5 9 2 lr Lsun/util/locale/provider/LocaleResources;
6 9 3 names [Ljava/lang/String;
MethodParameters:
Name Flags
inLocale
public final java.lang.String getDisplayName();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.util.Locale$Category.DISPLAY:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
invokevirtual java.util.Locale.getDisplayName:(Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/Locale;
public java.lang.String getDisplayName(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=17, args_size=2
start local 0 start local 1 0: invokestatic sun.util.locale.provider.LocaleProviderAdapter.getResourceBundleBased:()Lsun/util/locale/provider/LocaleProviderAdapter;
1: aload 1
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.getLocaleResources:(Ljava/util/Locale;)Lsun/util/locale/provider/LocaleResources;
2: astore 2
start local 2 3: aload 0
aload 1
invokevirtual java.util.Locale.getDisplayLanguage:(Ljava/util/Locale;)Ljava/lang/String;
astore 3
start local 3 4: aload 0
aload 1
invokevirtual java.util.Locale.getDisplayScript:(Ljava/util/Locale;)Ljava/lang/String;
astore 4
start local 4 5: aload 0
aload 1
invokevirtual java.util.Locale.getDisplayCountry:(Ljava/util/Locale;)Ljava/lang/String;
astore 5
start local 5 6: aload 0
aload 1
invokevirtual java.util.Locale.getDisplayVariantArray:(Ljava/util/Locale;)[Ljava/lang/String;
astore 6
start local 6 7: aload 2
ldc "DisplayNamePattern"
invokevirtual sun.util.locale.provider.LocaleResources.getLocaleName:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 8: aload 2
ldc "ListCompositionPattern"
invokevirtual sun.util.locale.provider.LocaleResources.getLocaleName:(Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 9: aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifeq 13
aload 4
invokevirtual java.lang.String.isEmpty:()Z
ifeq 13
aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifeq 13
10: aload 6
arraylength
ifne 12
11: ldc ""
areturn
12: StackMap locals: java.util.Locale java.util.Locale sun.util.locale.provider.LocaleResources java.lang.String java.lang.String java.lang.String java.lang.String[] java.lang.String java.lang.String
StackMap stack:
aload 6
aload 8
invokestatic java.util.Locale.formatList:([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
13: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
iconst_4
invokespecial java.util.ArrayList.<init>:(I)V
astore 11
start local 11 14: aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 16
15: aload 11
aload 3
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
16: StackMap locals: java.util.Locale java.util.Locale sun.util.locale.provider.LocaleResources java.lang.String java.lang.String java.lang.String java.lang.String[] java.lang.String java.lang.String top top java.util.ArrayList
StackMap stack:
aload 4
invokevirtual java.lang.String.isEmpty:()Z
ifne 18
17: aload 11
aload 4
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
18: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifne 20
19: aload 11
aload 5
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
20: StackMap locals:
StackMap stack:
aload 6
arraylength
ifeq 22
21: aload 11
aload 6
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
22: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
ifnull 29
23: aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
invokevirtual sun.util.locale.LocaleExtensions.getUnicodeLocaleAttributes:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
24: aload 0
aload 1
invokedynamic apply(Ljava/util/Locale;Ljava/util/Locale;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/util/Locale.lambda$0(Ljava/util/Locale;Ljava/lang/String;)Ljava/lang/String; (7)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
25: aload 11
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/util/ArrayList;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
java/util/ArrayList.add(Ljava/lang/Object;)Z (5)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
26: aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
invokevirtual sun.util.locale.LocaleExtensions.getUnicodeLocaleKeys:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
27: aload 0
aload 2
aload 1
invokedynamic apply(Ljava/util/Locale;Lsun/util/locale/provider/LocaleResources;Ljava/util/Locale;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
java/util/Locale.lambda$2(Lsun/util/locale/provider/LocaleResources;Ljava/util/Locale;Ljava/lang/String;)Ljava/lang/String; (7)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
28: aload 11
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic accept(Ljava/util/ArrayList;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
java/util/ArrayList.add(Ljava/lang/Object;)Z (5)
(Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
29: StackMap locals:
StackMap stack:
aload 11
iconst_0
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 30: aload 11
invokevirtual java.util.ArrayList.size:()I
istore 14
start local 14 31: iload 14
iconst_1
if_icmple 33
32: aload 11
iconst_1
iload 14
invokevirtual java.util.ArrayList.subList:(II)Ljava/util/List;
iload 14
iconst_1
isub
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
goto 34
StackMap locals: java.util.Locale java.util.Locale sun.util.locale.provider.LocaleResources java.lang.String java.lang.String java.lang.String java.lang.String[] java.lang.String java.lang.String java.lang.String top java.util.ArrayList top top int
StackMap stack:
33: iconst_0
anewarray java.lang.String
34: StackMap locals:
StackMap stack: java.lang.String[]
astore 10
start local 10 35: iconst_3
anewarray java.lang.Object
dup
iconst_0
36: aload 10
arraylength
ifeq 37
iconst_2
goto 38
StackMap locals: java.util.Locale java.util.Locale sun.util.locale.provider.LocaleResources java.lang.String java.lang.String java.lang.String java.lang.String[] java.lang.String java.lang.String java.lang.String java.lang.String[] java.util.ArrayList top top int
StackMap stack: java.lang.Object[] java.lang.Object[] int
37: iconst_1
StackMap locals: java.util.Locale java.util.Locale sun.util.locale.provider.LocaleResources java.lang.String java.lang.String java.lang.String java.lang.String[] java.lang.String java.lang.String java.lang.String java.lang.String[] java.util.ArrayList top top int
StackMap stack: java.lang.Object[] java.lang.Object[] int int
38: invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
39: aload 9
aastore
dup
iconst_2
40: aload 10
arraylength
ifeq 41
aload 10
aload 8
invokestatic java.util.Locale.formatList:([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
goto 42
StackMap locals: java.util.Locale java.util.Locale sun.util.locale.provider.LocaleResources java.lang.String java.lang.String java.lang.String java.lang.String[] java.lang.String java.lang.String java.lang.String java.lang.String[] java.util.ArrayList top top int
StackMap stack: java.lang.Object[] java.lang.Object[] int
41: aconst_null
StackMap locals: java.util.Locale java.util.Locale sun.util.locale.provider.LocaleResources java.lang.String java.lang.String java.lang.String java.lang.String[] java.lang.String java.lang.String java.lang.String java.lang.String[] java.util.ArrayList top top int
StackMap stack: java.lang.Object[] java.lang.Object[] int java.lang.String
42: aastore
43: astore 15
start local 15 44: aload 7
ifnull 46
45: new java.text.MessageFormat
dup
aload 7
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
aload 15
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
46: StackMap locals: java.lang.Object[]
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 16
start local 16 47: aload 16
aload 15
iconst_1
aaload
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
48: aload 15
arraylength
iconst_2
if_icmple 52
49: aload 16
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
50: aload 16
aload 15
iconst_2
aaload
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
51: aload 16
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
52: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 16
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 16 end local 15 end local 14 end local 11 end local 10 end local 9 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 53 0 this Ljava/util/Locale;
0 53 1 inLocale Ljava/util/Locale;
3 53 2 lr Lsun/util/locale/provider/LocaleResources;
4 53 3 languageName Ljava/lang/String;
5 53 4 scriptName Ljava/lang/String;
6 53 5 countryName Ljava/lang/String;
7 53 6 variantNames [Ljava/lang/String;
8 53 7 displayNamePattern Ljava/lang/String;
9 53 8 listCompositionPattern Ljava/lang/String;
30 53 9 mainName Ljava/lang/String;
35 53 10 qualifierNames [Ljava/lang/String;
14 53 11 names Ljava/util/ArrayList<Ljava/lang/String;>;
31 53 14 numNames I
44 53 15 displayNames [Ljava/lang/Object;
47 53 16 result Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
inLocale
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
checkcast java.util.Locale
astore 1
start local 1 1: aload 1
2: areturn
end local 1 3: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
astore 1
start local 1 4: new java.lang.InternalError
dup
aload 1
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/Locale;
1 3 1 that Ljava/util/Locale;
4 5 1 e Ljava/lang/CloneNotSupportedException;
Exception table:
from to target type
0 2 3 Class java.lang.CloneNotSupportedException
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield java.util.Locale.hashCodeValue:I
istore 1
start local 1 1: iload 1
ifne 6
2: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
invokevirtual sun.util.locale.BaseLocale.hashCode:()I
istore 1
3: aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
ifnull 5
4: iload 1
aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
invokevirtual sun.util.locale.LocaleExtensions.hashCode:()I
ixor
istore 1
5: StackMap locals: int
StackMap stack:
aload 0
iload 1
putfield java.util.Locale.hashCodeValue:I
6: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/Locale;
1 7 1 hc I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.util.Locale
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.util.Locale
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
astore 2
start local 2 5: aload 0
getfield java.util.Locale.baseLocale:Lsun/util/locale/BaseLocale;
aload 2
invokevirtual sun.util.locale.BaseLocale.equals:(Ljava/lang/Object;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals: sun.util.locale.BaseLocale
StackMap stack:
aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
ifnonnull 10
8: aload 1
checkcast java.util.Locale
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
ifnonnull 9
iconst_1
ireturn
StackMap locals:
StackMap stack:
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
aload 0
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
aload 1
checkcast java.util.Locale
getfield java.util.Locale.localeExtensions:Lsun/util/locale/LocaleExtensions;
invokevirtual sun.util.locale.LocaleExtensions.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/util/Locale;
0 11 1 obj Ljava/lang/Object;
5 11 2 otherBase Lsun/util/locale/BaseLocale;