public final class sun.util.locale.InternalLocaleBuilder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.util.locale.InternalLocaleBuilder
super_class: java.lang.Object
{
private static final sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar PRIVATEUSE_KEY;
descriptor: Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveChar;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.String language;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String script;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String region;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String variant;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar, java.lang.String> extensions;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveChar;Ljava/lang/String;>;
private java.util.Set<sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString> uattributes;
descriptor: Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Set<Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveString;>;
private java.util.Map<sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString, java.lang.String> ukeywords;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveString;Ljava/lang/String;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Lsun/util/locale/InternalLocaleBuilder;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.util.locale.InternalLocaleBuilder.$assertionsDisabled:Z
3: new sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar
dup
ldc "x"
invokespecial sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar.<init>:(Ljava/lang/String;)V
4: putstatic sun.util.locale.InternalLocaleBuilder.PRIVATEUSE_KEY:Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveChar;
5: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc ""
putfield sun.util.locale.InternalLocaleBuilder.language:Ljava/lang/String;
2: aload 0
ldc ""
putfield sun.util.locale.InternalLocaleBuilder.script:Ljava/lang/String;
3: aload 0
ldc ""
putfield sun.util.locale.InternalLocaleBuilder.region:Ljava/lang/String;
4: aload 0
ldc ""
putfield sun.util.locale.InternalLocaleBuilder.variant:Ljava/lang/String;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/util/locale/InternalLocaleBuilder;
public sun.util.locale.InternalLocaleBuilder setLanguage(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.util.locale.LocaleUtils.isEmpty:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
ldc ""
putfield sun.util.locale.InternalLocaleBuilder.language:Ljava/lang/String;
2: goto 6
3: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.util.locale.LanguageTag.isLanguage:(Ljava/lang/String;)Z
ifne 5
4: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed language: "
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;
iconst_0
invokespecial sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;I)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.util.locale.InternalLocaleBuilder.language:Ljava/lang/String;
6: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/util/locale/InternalLocaleBuilder;
0 7 1 language Ljava/lang/String;
Exceptions:
throws sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
language
public sun.util.locale.InternalLocaleBuilder setScript(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.util.locale.LocaleUtils.isEmpty:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
ldc ""
putfield sun.util.locale.InternalLocaleBuilder.script:Ljava/lang/String;
2: goto 6
3: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.util.locale.LanguageTag.isScript:(Ljava/lang/String;)Z
ifne 5
4: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed script: "
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;
iconst_0
invokespecial sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;I)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.util.locale.InternalLocaleBuilder.script:Ljava/lang/String;
6: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/util/locale/InternalLocaleBuilder;
0 7 1 script Ljava/lang/String;
Exceptions:
throws sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
script
public sun.util.locale.InternalLocaleBuilder setRegion(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.util.locale.LocaleUtils.isEmpty:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
ldc ""
putfield sun.util.locale.InternalLocaleBuilder.region:Ljava/lang/String;
2: goto 6
3: StackMap locals:
StackMap stack:
aload 1
invokestatic sun.util.locale.LanguageTag.isRegion:(Ljava/lang/String;)Z
ifne 5
4: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed region: "
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;
iconst_0
invokespecial sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;I)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.util.locale.InternalLocaleBuilder.region:Ljava/lang/String;
6: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/util/locale/InternalLocaleBuilder;
0 7 1 region Ljava/lang/String;
Exceptions:
throws sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
region
public sun.util.locale.InternalLocaleBuilder setVariant(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.util.locale.LocaleUtils.isEmpty:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
ldc ""
putfield sun.util.locale.InternalLocaleBuilder.variant:Ljava/lang/String;
2: goto 8
3: StackMap locals:
StackMap stack:
aload 1
ldc "-"
ldc "_"
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 4: aload 0
aload 2
ldc "_"
invokevirtual sun.util.locale.InternalLocaleBuilder.checkVariants:(Ljava/lang/String;Ljava/lang/String;)I
istore 3
start local 3 5: iload 3
iconst_m1
if_icmpeq 7
6: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed variant: "
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;
iload 3
invokespecial sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;I)V
athrow
7: StackMap locals: java.lang.String int
StackMap stack:
aload 0
aload 2
putfield sun.util.locale.InternalLocaleBuilder.variant:Ljava/lang/String;
end local 3 end local 2 8: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/util/locale/InternalLocaleBuilder;
0 9 1 variant Ljava/lang/String;
4 8 2 var Ljava/lang/String;
5 8 3 errIdx I
Exceptions:
throws sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
variant
public sun.util.locale.InternalLocaleBuilder addUnicodeLocaleAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.util.locale.UnicodeLocaleExtension.isAttribute:(Ljava/lang/String;)Z
ifne 2
1: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed Unicode locale attribute: "
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 sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
ifnonnull 4
3: aload 0
new java.util.HashSet
dup
iconst_4
invokespecial java.util.HashSet.<init>:(I)V
putfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
new sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString
dup
aload 1
invokespecial sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString.<init>:(Ljava/lang/String;)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/util/locale/InternalLocaleBuilder;
0 6 1 attribute Ljava/lang/String;
Exceptions:
throws sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
attribute
public sun.util.locale.InternalLocaleBuilder removeUnicodeLocaleAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokestatic sun.util.locale.UnicodeLocaleExtension.isAttribute:(Ljava/lang/String;)Z
ifne 2
1: StackMap locals:
StackMap stack:
new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed Unicode locale attribute: "
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 sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
ifnull 4
3: aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
new sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString
dup
aload 1
invokespecial sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString.<init>:(Ljava/lang/String;)V
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/util/locale/InternalLocaleBuilder;
0 5 1 attribute Ljava/lang/String;
Exceptions:
throws sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
attribute
public sun.util.locale.InternalLocaleBuilder setUnicodeLocaleKeyword(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic sun.util.locale.UnicodeLocaleExtension.isKey:(Ljava/lang/String;)Z
ifne 2
1: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed Unicode locale keyword 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 sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString
dup
aload 1
invokespecial sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString.<init>:(Ljava/lang/String;)V
astore 3
start local 3 3: aload 2
ifnonnull 7
4: aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
ifnull 22
5: aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
6: goto 22
7: StackMap locals: sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
ifeq 19
8: aload 2
ldc "_"
ldc "-"
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 9: new sun.util.locale.StringTokenIterator
dup
aload 4
ldc "-"
invokespecial sun.util.locale.StringTokenIterator.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 5
start local 5 10: goto 18
11: StackMap locals: java.lang.String sun.util.locale.StringTokenIterator
StackMap stack:
aload 5
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
astore 6
start local 6 12: aload 6
invokestatic sun.util.locale.UnicodeLocaleExtension.isTypeSubtag:(Ljava/lang/String;)Z
ifne 17
13: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed Unicode locale keyword type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
14: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: aload 5
invokevirtual sun.util.locale.StringTokenIterator.currentStart:()I
16: invokespecial sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;I)V
athrow
17: StackMap locals: java.lang.String
StackMap stack:
aload 5
invokevirtual sun.util.locale.StringTokenIterator.next:()Ljava/lang/String;
pop
end local 6 18: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.util.locale.StringTokenIterator.isDone:()Z
ifeq 11
end local 5 end local 4 19: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
ifnonnull 21
20: aload 0
new java.util.HashMap
dup
iconst_4
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
21: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
aload 3
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
22: StackMap locals:
StackMap stack:
aload 0
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/util/locale/InternalLocaleBuilder;
0 23 1 key Ljava/lang/String;
0 23 2 type Ljava/lang/String;
3 23 3 cikey Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveString;
9 19 4 tp Ljava/lang/String;
10 19 5 itr Lsun/util/locale/StringTokenIterator;
12 18 6 s Ljava/lang/String;
Exceptions:
throws sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
key
type
public sun.util.locale.InternalLocaleBuilder setExtension(char, java.lang.String);
descriptor: (CLjava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: iload 1
invokestatic sun.util.locale.LanguageTag.isPrivateusePrefixChar:(C)Z
istore 3
start local 3 1: iload 3
ifne 3
iload 1
invokestatic sun.util.locale.LanguageTag.isExtensionSingletonChar:(C)Z
ifne 3
2: new sun.util.locale.LocaleSyntaxException
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 sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: int
StackMap stack:
aload 2
invokestatic sun.util.locale.LocaleUtils.isEmpty:(Ljava/lang/String;)Z
istore 4
start local 4 4: new sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar
dup
iload 1
invokespecial sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar.<init>:(C)V
astore 5
start local 5 5: iload 4
ifeq 15
6: aload 5
invokevirtual sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar.value:()C
invokestatic sun.util.locale.UnicodeLocaleExtension.isSingletonChar:(C)Z
ifeq 12
7: aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
ifnull 9
8: aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
9: StackMap locals: int sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
ifnull 35
10: aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
11: goto 35
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
ifnull 35
aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
aload 5
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 35
13: aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
aload 5
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
14: goto 35
15: StackMap locals:
StackMap stack:
aload 2
ldc "_"
ldc "-"
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 16: new sun.util.locale.StringTokenIterator
dup
aload 6
ldc "-"
invokespecial sun.util.locale.StringTokenIterator.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 7
start local 7 17: goto 28
18: StackMap locals: java.lang.String sun.util.locale.StringTokenIterator
StackMap stack:
aload 7
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
astore 8
start local 8 19: iload 3
ifeq 22
20: aload 8
invokestatic sun.util.locale.LanguageTag.isPrivateuseSubtag:(Ljava/lang/String;)Z
istore 9
start local 9 21: goto 23
end local 9 22: StackMap locals: java.lang.String
StackMap stack:
aload 8
invokestatic sun.util.locale.LanguageTag.isExtensionSubtag:(Ljava/lang/String;)Z
istore 9
start local 9 23: StackMap locals: int
StackMap stack:
iload 9
ifne 27
24: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed extension value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
25: aload 7
invokevirtual sun.util.locale.StringTokenIterator.currentStart:()I
26: invokespecial sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;I)V
athrow
27: StackMap locals:
StackMap stack:
aload 7
invokevirtual sun.util.locale.StringTokenIterator.next:()Ljava/lang/String;
pop
end local 9 end local 8 28: StackMap locals:
StackMap stack:
aload 7
invokevirtual sun.util.locale.StringTokenIterator.isDone:()Z
ifeq 18
29: aload 5
invokevirtual sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar.value:()C
invokestatic sun.util.locale.UnicodeLocaleExtension.isSingletonChar:(C)Z
ifeq 32
30: aload 0
aload 6
invokevirtual sun.util.locale.InternalLocaleBuilder.setUnicodeLocaleExtension:(Ljava/lang/String;)V
31: goto 35
32: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
ifnonnull 34
33: aload 0
new java.util.HashMap
dup
iconst_4
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
34: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
aload 5
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 end local 6 35: StackMap locals:
StackMap stack:
aload 0
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 36 0 this Lsun/util/locale/InternalLocaleBuilder;
0 36 1 singleton C
0 36 2 value Ljava/lang/String;
1 36 3 isBcpPrivateuse Z
4 36 4 remove Z
5 36 5 key Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveChar;
16 35 6 val Ljava/lang/String;
17 35 7 itr Lsun/util/locale/StringTokenIterator;
19 28 8 s Ljava/lang/String;
21 22 9 validSubtag Z
23 28 9 validSubtag Z
Exceptions:
throws sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
singleton
value
public sun.util.locale.InternalLocaleBuilder setExtensions(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.util.locale.LocaleUtils.isEmpty:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
invokevirtual sun.util.locale.InternalLocaleBuilder.clearExtensions:()Lsun/util/locale/InternalLocaleBuilder;
pop
2: aload 0
areturn
3: StackMap locals:
StackMap stack:
aload 1
ldc "_"
ldc "-"
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
4: new sun.util.locale.StringTokenIterator
dup
aload 1
ldc "-"
invokespecial sun.util.locale.StringTokenIterator.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
start local 2 5: aconst_null
astore 3
start local 3 6: aconst_null
astore 4
start local 4 7: iconst_0
istore 5
start local 5 8: goto 29
9: StackMap locals: sun.util.locale.InternalLocaleBuilder java.lang.String sun.util.locale.StringTokenIterator java.util.List java.lang.String int
StackMap stack:
aload 2
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
astore 7
start local 7 10: aload 7
invokestatic sun.util.locale.LanguageTag.isExtensionSingleton:(Ljava/lang/String;)Z
ifeq 30
11: aload 2
invokevirtual sun.util.locale.StringTokenIterator.currentStart:()I
istore 6
start local 6 12: aload 7
astore 8
start local 8 13: new java.lang.StringBuilder
dup
aload 8
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 9
start local 9 14: aload 2
invokevirtual sun.util.locale.StringTokenIterator.next:()Ljava/lang/String;
pop
15: goto 21
16: StackMap locals: sun.util.locale.InternalLocaleBuilder java.lang.String sun.util.locale.StringTokenIterator java.util.List java.lang.String int int java.lang.String java.lang.String java.lang.StringBuilder
StackMap stack:
aload 2
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
astore 7
17: aload 7
invokestatic sun.util.locale.LanguageTag.isExtensionSubtag:(Ljava/lang/String;)Z
ifeq 22
18: aload 9
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: aload 2
invokevirtual sun.util.locale.StringTokenIterator.currentEnd:()I
istore 5
20: aload 2
invokevirtual sun.util.locale.StringTokenIterator.next:()Ljava/lang/String;
pop
21: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.util.locale.StringTokenIterator.isDone:()Z
ifeq 16
22: StackMap locals:
StackMap stack:
iload 5
iload 6
if_icmpge 26
23: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Incomplete extension '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
24: iload 6
25: invokespecial sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;I)V
athrow
26: StackMap locals:
StackMap stack:
aload 3
ifnonnull 28
27: new java.util.ArrayList
dup
iconst_4
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
28: StackMap locals:
StackMap stack:
aload 3
aload 9
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 8 end local 7 end local 6 29: StackMap locals: sun.util.locale.InternalLocaleBuilder java.lang.String sun.util.locale.StringTokenIterator java.util.List java.lang.String int
StackMap stack:
aload 2
invokevirtual sun.util.locale.StringTokenIterator.isDone:()Z
ifeq 9
30: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.util.locale.StringTokenIterator.isDone:()Z
ifne 50
31: aload 2
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
astore 7
start local 7 32: aload 7
invokestatic sun.util.locale.LanguageTag.isPrivateusePrefix:(Ljava/lang/String;)Z
ifeq 50
33: aload 2
invokevirtual sun.util.locale.StringTokenIterator.currentStart:()I
istore 6
start local 6 34: new java.lang.StringBuilder
dup
aload 7
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 8
start local 8 35: aload 2
invokevirtual sun.util.locale.StringTokenIterator.next:()Ljava/lang/String;
pop
36: goto 43
37: StackMap locals: int java.lang.String java.lang.StringBuilder
StackMap stack:
aload 2
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
astore 7
38: aload 7
invokestatic sun.util.locale.LanguageTag.isPrivateuseSubtag:(Ljava/lang/String;)Z
ifne 40
39: goto 44
40: StackMap locals:
StackMap stack:
aload 8
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
41: aload 2
invokevirtual sun.util.locale.StringTokenIterator.currentEnd:()I
istore 5
42: aload 2
invokevirtual sun.util.locale.StringTokenIterator.next:()Ljava/lang/String;
pop
43: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.util.locale.StringTokenIterator.isDone:()Z
ifeq 37
44: StackMap locals:
StackMap stack:
iload 5
iload 6
if_icmpgt 49
45: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Incomplete privateuse:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
46: aload 1
iload 6
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;
47: iload 6
48: invokespecial sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;I)V
athrow
49: StackMap locals:
StackMap stack:
aload 8
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
end local 8 end local 7 end local 6 50: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.util.locale.StringTokenIterator.isDone:()Z
ifne 55
51: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed extension subtags:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
52: aload 1
aload 2
invokevirtual sun.util.locale.StringTokenIterator.currentStart:()I
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;
53: aload 2
invokevirtual sun.util.locale.StringTokenIterator.currentStart:()I
54: invokespecial sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;I)V
athrow
55: StackMap locals:
StackMap stack:
aload 0
aload 3
aload 4
invokevirtual sun.util.locale.InternalLocaleBuilder.setExtensions:(Ljava/util/List;Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
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 56 0 this Lsun/util/locale/InternalLocaleBuilder;
0 56 1 subtags Ljava/lang/String;
5 56 2 itr Lsun/util/locale/StringTokenIterator;
6 56 3 extensions Ljava/util/List<Ljava/lang/String;>;
7 56 4 privateuse Ljava/lang/String;
8 56 5 parsed I
12 29 6 start I
34 50 6 start I
10 29 7 s Ljava/lang/String;
13 29 8 singleton Ljava/lang/String;
14 29 9 sb Ljava/lang/StringBuilder;
32 50 7 s Ljava/lang/String;
35 50 8 sb Ljava/lang/StringBuilder;
Exceptions:
throws sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
subtags
private sun.util.locale.InternalLocaleBuilder setExtensions(java.util.List<java.lang.String>, java.lang.String);
descriptor: (Ljava/util/List;Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.util.locale.InternalLocaleBuilder.clearExtensions:()Lsun/util/locale/InternalLocaleBuilder;
pop
1: aload 1
invokestatic sun.util.locale.LocaleUtils.isEmpty:(Ljava/util/List;)Z
ifne 15
2: new java.util.HashSet
dup
aload 1
invokeinterface java.util.List.size:()I
invokespecial java.util.HashSet.<init>:(I)V
astore 3
start local 3 3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 14
StackMap locals: sun.util.locale.InternalLocaleBuilder java.util.List java.lang.String java.util.Set top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 5: new sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar
dup
aload 4
invokespecial sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar.<init>:(Ljava/lang/String;)V
astore 6
start local 6 6: aload 3
aload 6
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 13
7: aload 6
invokevirtual sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar.value:()C
invokestatic sun.util.locale.UnicodeLocaleExtension.isSingletonChar:(C)Z
ifeq 10
8: aload 0
aload 4
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual sun.util.locale.InternalLocaleBuilder.setUnicodeLocaleExtension:(Ljava/lang/String;)V
9: goto 13
10: StackMap locals: sun.util.locale.InternalLocaleBuilder java.util.List java.lang.String java.util.Set java.lang.String java.util.Iterator sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
ifnonnull 12
11: aload 0
new java.util.HashMap
dup
iconst_4
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
12: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
aload 6
aload 4
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: StackMap locals:
StackMap stack:
aload 3
aload 6
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 14: StackMap locals: sun.util.locale.InternalLocaleBuilder java.util.List java.lang.String java.util.Set top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 3 15: StackMap locals: sun.util.locale.InternalLocaleBuilder java.util.List java.lang.String
StackMap stack:
aload 2
ifnull 19
aload 2
invokevirtual java.lang.String.length:()I
ifle 19
16: aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
ifnonnull 18
17: aload 0
new java.util.HashMap
dup
iconst_1
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
18: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
new sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar
dup
aload 2
invokespecial sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar.<init>:(Ljava/lang/String;)V
aload 2
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/util/locale/InternalLocaleBuilder;
0 20 1 bcpExtensions Ljava/util/List<Ljava/lang/String;>;
0 20 2 privateuse Ljava/lang/String;
3 15 3 done Ljava/util/Set<Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveChar;>;
5 14 4 bcpExt Ljava/lang/String;
6 14 6 key Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveChar;
Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
MethodParameters:
Name Flags
bcpExtensions
privateuse
public sun.util.locale.InternalLocaleBuilder setLanguageTag(sun.util.locale.LanguageTag);
descriptor: (Lsun/util/locale/LanguageTag;)Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.util.locale.InternalLocaleBuilder.clear:()Lsun/util/locale/InternalLocaleBuilder;
pop
1: aload 1
invokevirtual sun.util.locale.LanguageTag.getExtlangs:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 4
2: aload 0
aload 1
invokevirtual sun.util.locale.LanguageTag.getExtlangs:()Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
putfield sun.util.locale.InternalLocaleBuilder.language:Ljava/lang/String;
3: goto 7
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.util.locale.LanguageTag.getLanguage:()Ljava/lang/String;
astore 2
start local 2 5: aload 2
ldc "und"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
6: aload 0
aload 2
putfield sun.util.locale.InternalLocaleBuilder.language:Ljava/lang/String;
end local 2 7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.util.locale.LanguageTag.getScript:()Ljava/lang/String;
putfield sun.util.locale.InternalLocaleBuilder.script:Ljava/lang/String;
8: aload 0
aload 1
invokevirtual sun.util.locale.LanguageTag.getRegion:()Ljava/lang/String;
putfield sun.util.locale.InternalLocaleBuilder.region:Ljava/lang/String;
9: aload 1
invokevirtual sun.util.locale.LanguageTag.getVariants:()Ljava/util/List;
astore 2
start local 2 10: aload 2
invokeinterface java.util.List.isEmpty:()Z
ifne 19
11: new java.lang.StringBuilder
dup
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 3
start local 3 12: aload 2
invokeinterface java.util.List.size:()I
istore 4
start local 4 13: iconst_1
istore 5
start local 5 14: goto 17
15: StackMap locals: sun.util.locale.InternalLocaleBuilder sun.util.locale.LanguageTag java.util.List java.lang.StringBuilder int int
StackMap stack:
aload 3
ldc "_"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
iload 5
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: iinc 5 1
StackMap locals:
StackMap stack:
17: iload 5
iload 4
if_icmplt 15
end local 5 18: aload 0
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield sun.util.locale.InternalLocaleBuilder.variant:Ljava/lang/String;
end local 4 end local 3 19: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.util.locale.LanguageTag.getExtensions:()Ljava/util/List;
aload 1
invokevirtual sun.util.locale.LanguageTag.getPrivateuse:()Ljava/lang/String;
invokevirtual sun.util.locale.InternalLocaleBuilder.setExtensions:(Ljava/util/List;Ljava/lang/String;)Lsun/util/locale/InternalLocaleBuilder;
pop
20: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/util/locale/InternalLocaleBuilder;
0 21 1 langtag Lsun/util/locale/LanguageTag;
5 7 2 lang Ljava/lang/String;
10 21 2 bcpVariants Ljava/util/List<Ljava/lang/String;>;
12 19 3 var Ljava/lang/StringBuilder;
13 19 4 size I
14 18 5 i I
MethodParameters:
Name Flags
langtag
public sun.util.locale.InternalLocaleBuilder setLocale(sun.util.locale.BaseLocale, sun.util.locale.LocaleExtensions);
descriptor: (Lsun/util/locale/BaseLocale;Lsun/util/locale/LocaleExtensions;)Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=14, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual sun.util.locale.BaseLocale.getLanguage:()Ljava/lang/String;
astore 3
start local 3 1: aload 1
invokevirtual sun.util.locale.BaseLocale.getScript:()Ljava/lang/String;
astore 4
start local 4 2: aload 1
invokevirtual sun.util.locale.BaseLocale.getRegion:()Ljava/lang/String;
astore 5
start local 5 3: aload 1
invokevirtual sun.util.locale.BaseLocale.getVariant:()Ljava/lang/String;
astore 6
start local 6 4: aload 3
ldc "ja"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
aload 5
ldc "JP"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
aload 6
ldc "JP"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
5: getstatic sun.util.locale.InternalLocaleBuilder.$assertionsDisabled:Z
ifne 6
ldc "japanese"
aload 2
ldc "ca"
invokevirtual sun.util.locale.LocaleExtensions.getUnicodeLocaleType:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: sun.util.locale.InternalLocaleBuilder sun.util.locale.BaseLocale sun.util.locale.LocaleExtensions java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
ldc ""
astore 6
7: goto 15
8: StackMap locals:
StackMap stack:
aload 3
ldc "th"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
aload 5
ldc "TH"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
aload 6
ldc "TH"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
9: getstatic sun.util.locale.InternalLocaleBuilder.$assertionsDisabled:Z
ifne 10
ldc "thai"
aload 2
ldc "nu"
invokevirtual sun.util.locale.LocaleExtensions.getUnicodeLocaleType:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
ldc ""
astore 6
11: goto 15
12: StackMap locals:
StackMap stack:
aload 3
ldc "no"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
aload 5
ldc "NO"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
aload 6
ldc "NY"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: ldc "nn"
astore 3
14: ldc ""
astore 6
15: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.String.length:()I
ifle 17
aload 3
invokestatic sun.util.locale.LanguageTag.isLanguage:(Ljava/lang/String;)Z
ifne 17
16: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed language: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.String.length:()I
ifle 19
aload 4
invokestatic sun.util.locale.LanguageTag.isScript:(Ljava/lang/String;)Z
ifne 19
18: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed script: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.String.length:()I
ifle 21
aload 5
invokestatic sun.util.locale.LanguageTag.isRegion:(Ljava/lang/String;)Z
ifne 21
20: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed region: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 6
invokevirtual java.lang.String.length:()I
ifle 25
22: aload 0
aload 6
ldc "_"
invokevirtual sun.util.locale.InternalLocaleBuilder.checkVariants:(Ljava/lang/String;Ljava/lang/String;)I
istore 7
start local 7 23: iload 7
iconst_m1
if_icmpeq 25
24: new sun.util.locale.LocaleSyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Ill-formed variant: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iload 7
invokespecial sun.util.locale.LocaleSyntaxException.<init>:(Ljava/lang/String;I)V
athrow
end local 7 25: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield sun.util.locale.InternalLocaleBuilder.language:Ljava/lang/String;
26: aload 0
aload 4
putfield sun.util.locale.InternalLocaleBuilder.script:Ljava/lang/String;
27: aload 0
aload 5
putfield sun.util.locale.InternalLocaleBuilder.region:Ljava/lang/String;
28: aload 0
aload 6
putfield sun.util.locale.InternalLocaleBuilder.variant:Ljava/lang/String;
29: aload 0
invokevirtual sun.util.locale.InternalLocaleBuilder.clearExtensions:()Lsun/util/locale/InternalLocaleBuilder;
pop
30: aload 2
ifnonnull 31
aconst_null
goto 32
StackMap locals:
StackMap stack:
31: aload 2
invokevirtual sun.util.locale.LocaleExtensions.getKeys:()Ljava/util/Set;
StackMap locals:
StackMap stack: java.util.Set
32: astore 7
start local 7 33: aload 7
ifnull 56
34: aload 7
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 55
StackMap locals: sun.util.locale.InternalLocaleBuilder sun.util.locale.BaseLocale sun.util.locale.LocaleExtensions java.lang.String java.lang.String java.lang.String java.lang.String java.util.Set top java.util.Iterator
StackMap stack:
35: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Character
astore 8
start local 8 36: aload 2
aload 8
invokevirtual sun.util.locale.LocaleExtensions.getExtension:(Ljava/lang/Character;)Lsun/util/locale/Extension;
astore 10
start local 10 37: aload 10
instanceof sun.util.locale.UnicodeLocaleExtension
ifeq 52
38: aload 10
checkcast sun.util.locale.UnicodeLocaleExtension
astore 11
start local 11 39: aload 11
invokevirtual sun.util.locale.UnicodeLocaleExtension.getUnicodeLocaleAttributes:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 13
goto 44
StackMap locals: sun.util.locale.InternalLocaleBuilder sun.util.locale.BaseLocale sun.util.locale.LocaleExtensions java.lang.String java.lang.String java.lang.String java.lang.String java.util.Set java.lang.Character java.util.Iterator sun.util.locale.Extension sun.util.locale.UnicodeLocaleExtension top java.util.Iterator
StackMap stack:
40: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 12
start local 12 41: aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
ifnonnull 43
42: aload 0
new java.util.HashSet
dup
iconst_4
invokespecial java.util.HashSet.<init>:(I)V
putfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
43: StackMap locals: sun.util.locale.InternalLocaleBuilder sun.util.locale.BaseLocale sun.util.locale.LocaleExtensions java.lang.String java.lang.String java.lang.String java.lang.String java.util.Set java.lang.Character java.util.Iterator sun.util.locale.Extension sun.util.locale.UnicodeLocaleExtension java.lang.String java.util.Iterator
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
new sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString
dup
aload 12
invokespecial sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString.<init>:(Ljava/lang/String;)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 12 44: StackMap locals: sun.util.locale.InternalLocaleBuilder sun.util.locale.BaseLocale sun.util.locale.LocaleExtensions java.lang.String java.lang.String java.lang.String java.lang.String java.util.Set java.lang.Character java.util.Iterator sun.util.locale.Extension sun.util.locale.UnicodeLocaleExtension top java.util.Iterator
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 40
45: aload 11
invokevirtual sun.util.locale.UnicodeLocaleExtension.getUnicodeLocaleKeys:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 13
goto 50
StackMap locals:
StackMap stack:
46: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 12
start local 12 47: aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
ifnonnull 49
48: aload 0
new java.util.HashMap
dup
iconst_4
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
49: StackMap locals: sun.util.locale.InternalLocaleBuilder sun.util.locale.BaseLocale sun.util.locale.LocaleExtensions java.lang.String java.lang.String java.lang.String java.lang.String java.util.Set java.lang.Character java.util.Iterator sun.util.locale.Extension sun.util.locale.UnicodeLocaleExtension java.lang.String java.util.Iterator
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
new sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString
dup
aload 12
invokespecial sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString.<init>:(Ljava/lang/String;)V
aload 11
aload 12
invokevirtual sun.util.locale.UnicodeLocaleExtension.getUnicodeLocaleType:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 12 50: StackMap locals: sun.util.locale.InternalLocaleBuilder sun.util.locale.BaseLocale sun.util.locale.LocaleExtensions java.lang.String java.lang.String java.lang.String java.lang.String java.util.Set java.lang.Character java.util.Iterator sun.util.locale.Extension sun.util.locale.UnicodeLocaleExtension top java.util.Iterator
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 46
end local 11 51: goto 55
52: StackMap locals: sun.util.locale.InternalLocaleBuilder sun.util.locale.BaseLocale sun.util.locale.LocaleExtensions java.lang.String java.lang.String java.lang.String java.lang.String java.util.Set java.lang.Character java.util.Iterator sun.util.locale.Extension
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
ifnonnull 54
53: aload 0
new java.util.HashMap
dup
iconst_4
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
54: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
new sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar
dup
aload 8
invokevirtual java.lang.Character.charValue:()C
invokespecial sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar.<init>:(C)V
aload 10
invokevirtual sun.util.locale.Extension.getValue:()Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 10 end local 8 55: StackMap locals: sun.util.locale.InternalLocaleBuilder sun.util.locale.BaseLocale sun.util.locale.LocaleExtensions java.lang.String java.lang.String java.lang.String java.lang.String java.util.Set top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 35
56: StackMap locals: sun.util.locale.InternalLocaleBuilder sun.util.locale.BaseLocale sun.util.locale.LocaleExtensions java.lang.String java.lang.String java.lang.String java.lang.String java.util.Set
StackMap stack:
aload 0
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 57 0 this Lsun/util/locale/InternalLocaleBuilder;
0 57 1 base Lsun/util/locale/BaseLocale;
0 57 2 localeExtensions Lsun/util/locale/LocaleExtensions;
1 57 3 language Ljava/lang/String;
2 57 4 script Ljava/lang/String;
3 57 5 region Ljava/lang/String;
4 57 6 variant Ljava/lang/String;
23 25 7 errIdx I
33 57 7 extKeys Ljava/util/Set<Ljava/lang/Character;>;
36 55 8 key Ljava/lang/Character;
37 55 10 e Lsun/util/locale/Extension;
39 51 11 ue Lsun/util/locale/UnicodeLocaleExtension;
41 44 12 uatr Ljava/lang/String;
47 50 12 ukey Ljava/lang/String;
Exceptions:
throws sun.util.locale.LocaleSyntaxException
MethodParameters:
Name Flags
base
localeExtensions
public sun.util.locale.InternalLocaleBuilder clear();
descriptor: ()Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc ""
putfield sun.util.locale.InternalLocaleBuilder.language:Ljava/lang/String;
1: aload 0
ldc ""
putfield sun.util.locale.InternalLocaleBuilder.script:Ljava/lang/String;
2: aload 0
ldc ""
putfield sun.util.locale.InternalLocaleBuilder.region:Ljava/lang/String;
3: aload 0
ldc ""
putfield sun.util.locale.InternalLocaleBuilder.variant:Ljava/lang/String;
4: aload 0
invokevirtual sun.util.locale.InternalLocaleBuilder.clearExtensions:()Lsun/util/locale/InternalLocaleBuilder;
pop
5: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/util/locale/InternalLocaleBuilder;
public sun.util.locale.InternalLocaleBuilder clearExtensions();
descriptor: ()Lsun/util/locale/InternalLocaleBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
ifnull 2
1: aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
ifnull 4
3: aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
ifnull 6
5: aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
6: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/util/locale/InternalLocaleBuilder;
public sun.util.locale.BaseLocale getBaseLocale();
descriptor: ()Lsun/util/locale/BaseLocale;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=10, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.InternalLocaleBuilder.language:Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield sun.util.locale.InternalLocaleBuilder.script:Ljava/lang/String;
astore 2
start local 2 2: aload 0
getfield sun.util.locale.InternalLocaleBuilder.region:Ljava/lang/String;
astore 3
start local 3 3: aload 0
getfield sun.util.locale.InternalLocaleBuilder.variant:Ljava/lang/String;
astore 4
start local 4 4: aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
ifnull 26
5: aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
getstatic sun.util.locale.InternalLocaleBuilder.PRIVATEUSE_KEY:Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveChar;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 6: aload 5
ifnull 26
7: new sun.util.locale.StringTokenIterator
dup
aload 5
ldc "-"
invokespecial sun.util.locale.StringTokenIterator.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 6
start local 6 8: iconst_0
istore 7
start local 7 9: iconst_m1
istore 8
start local 8 10: goto 17
11: StackMap locals: sun.util.locale.InternalLocaleBuilder java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String sun.util.locale.StringTokenIterator int int
StackMap stack:
iload 7
ifeq 14
12: aload 6
invokevirtual sun.util.locale.StringTokenIterator.currentStart:()I
istore 8
13: goto 18
14: StackMap locals:
StackMap stack:
aload 6
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
ldc "lvariant"
invokestatic sun.util.locale.LocaleUtils.caseIgnoreMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 16
15: iconst_1
istore 7
16: StackMap locals:
StackMap stack:
aload 6
invokevirtual sun.util.locale.StringTokenIterator.next:()Ljava/lang/String;
pop
17: StackMap locals:
StackMap stack:
aload 6
invokevirtual sun.util.locale.StringTokenIterator.isDone:()Z
ifeq 11
18: StackMap locals:
StackMap stack:
iload 8
iconst_m1
if_icmpeq 26
19: new java.lang.StringBuilder
dup
aload 4
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 9
start local 9 20: aload 9
invokevirtual java.lang.StringBuilder.length:()I
ifeq 22
21: aload 9
ldc "_"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
22: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 9
aload 5
iload 8
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
ldc "-"
23: ldc "_"
24: invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
25: aload 9
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 4
end local 9 end local 8 end local 7 end local 6 end local 5 26: StackMap locals: sun.util.locale.InternalLocaleBuilder java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 1
aload 2
aload 3
aload 4
invokestatic sun.util.locale.BaseLocale.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lsun/util/locale/BaseLocale;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/util/locale/InternalLocaleBuilder;
1 27 1 language Ljava/lang/String;
2 27 2 script Ljava/lang/String;
3 27 3 region Ljava/lang/String;
4 27 4 variant Ljava/lang/String;
6 26 5 privuse Ljava/lang/String;
8 26 6 itr Lsun/util/locale/StringTokenIterator;
9 26 7 sawPrefix Z
10 26 8 privVarStart I
20 26 9 sb Ljava/lang/StringBuilder;
public sun.util.locale.LocaleExtensions getLocaleExtensions();
descriptor: ()Lsun/util/locale/LocaleExtensions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
invokestatic sun.util.locale.LocaleUtils.isEmpty:(Ljava/util/Map;)Z
ifeq 3
aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
invokestatic sun.util.locale.LocaleUtils.isEmpty:(Ljava/util/Set;)Z
ifeq 3
1: aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
invokestatic sun.util.locale.LocaleUtils.isEmpty:(Ljava/util/Map;)Z
ifeq 3
2: aconst_null
areturn
3: StackMap locals:
StackMap stack:
new sun.util.locale.LocaleExtensions
dup
aload 0
getfield sun.util.locale.InternalLocaleBuilder.extensions:Ljava/util/Map;
aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
invokespecial sun.util.locale.LocaleExtensions.<init>:(Ljava/util/Map;Ljava/util/Set;Ljava/util/Map;)V
astore 1
start local 1 4: aload 1
invokevirtual sun.util.locale.LocaleExtensions.isEmpty:()Z
ifeq 5
aconst_null
goto 6
StackMap locals: sun.util.locale.LocaleExtensions
StackMap stack:
5: aload 1
StackMap locals:
StackMap stack: sun.util.locale.LocaleExtensions
6: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/util/locale/InternalLocaleBuilder;
4 7 1 lext Lsun/util/locale/LocaleExtensions;
static java.lang.String removePrivateuseVariant(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new sun.util.locale.StringTokenIterator
dup
aload 0
ldc "-"
invokespecial sun.util.locale.StringTokenIterator.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 1
start local 1 1: iconst_m1
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 10
4: StackMap locals: sun.util.locale.StringTokenIterator int int
StackMap stack:
iload 2
iconst_m1
if_icmpeq 7
5: iconst_1
istore 3
6: goto 11
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
ldc "lvariant"
invokestatic sun.util.locale.LocaleUtils.caseIgnoreMatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 9
8: aload 1
invokevirtual sun.util.locale.StringTokenIterator.currentStart:()I
istore 2
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.util.locale.StringTokenIterator.next:()Ljava/lang/String;
pop
10: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.util.locale.StringTokenIterator.isDone:()Z
ifeq 4
11: StackMap locals:
StackMap stack:
iload 3
ifne 13
12: aload 0
areturn
13: StackMap locals:
StackMap stack:
getstatic sun.util.locale.InternalLocaleBuilder.$assertionsDisabled:Z
ifne 14
iload 2
ifeq 14
iload 2
iconst_1
if_icmpgt 14
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
14: StackMap locals:
StackMap stack:
iload 2
ifne 15
aconst_null
goto 16
StackMap locals:
StackMap stack:
15: aload 0
iconst_0
iload 2
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
16: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 privuseVal Ljava/lang/String;
1 17 1 itr Lsun/util/locale/StringTokenIterator;
2 17 2 prefixStart I
3 17 3 sawPrivuseVar Z
MethodParameters:
Name Flags
privuseVal
private int checkVariants(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new sun.util.locale.StringTokenIterator
dup
aload 1
aload 2
invokespecial sun.util.locale.StringTokenIterator.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 1: goto 6
2: StackMap locals: sun.util.locale.StringTokenIterator
StackMap stack:
aload 3
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
astore 4
start local 4 3: aload 4
invokestatic sun.util.locale.LanguageTag.isVariant:(Ljava/lang/String;)Z
ifne 5
4: aload 3
invokevirtual sun.util.locale.StringTokenIterator.currentStart:()I
ireturn
5: StackMap locals: java.lang.String
StackMap stack:
aload 3
invokevirtual sun.util.locale.StringTokenIterator.next:()Ljava/lang/String;
pop
end local 4 6: StackMap locals:
StackMap stack:
aload 3
invokevirtual sun.util.locale.StringTokenIterator.isDone:()Z
ifeq 2
7: iconst_m1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/util/locale/InternalLocaleBuilder;
0 8 1 variants Ljava/lang/String;
0 8 2 sep Ljava/lang/String;
1 8 3 itr Lsun/util/locale/StringTokenIterator;
3 6 4 s Ljava/lang/String;
MethodParameters:
Name Flags
variants
sep
private void setUnicodeLocaleExtension(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
ifnull 2
1: aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
ifnull 4
3: aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
4: StackMap locals:
StackMap stack:
new sun.util.locale.StringTokenIterator
dup
aload 1
ldc "-"
invokespecial sun.util.locale.StringTokenIterator.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
start local 2 5: goto 12
6: StackMap locals: sun.util.locale.StringTokenIterator
StackMap stack:
aload 2
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
invokestatic sun.util.locale.UnicodeLocaleExtension.isAttribute:(Ljava/lang/String;)Z
ifne 8
7: goto 13
8: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
ifnonnull 10
9: aload 0
new java.util.HashSet
dup
iconst_4
invokespecial java.util.HashSet.<init>:(I)V
putfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.uattributes:Ljava/util/Set;
new sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString
dup
aload 2
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
invokespecial sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString.<init>:(Ljava/lang/String;)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: aload 2
invokevirtual sun.util.locale.StringTokenIterator.next:()Ljava/lang/String;
pop
12: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.util.locale.StringTokenIterator.isDone:()Z
ifeq 6
13: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 14: iconst_m1
istore 5
start local 5 15: iconst_m1
istore 6
start local 6 16: goto 51
17: StackMap locals: sun.util.locale.InternalLocaleBuilder java.lang.String sun.util.locale.StringTokenIterator sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString top int int
StackMap stack:
aload 3
ifnull 36
18: aload 2
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
invokestatic sun.util.locale.UnicodeLocaleExtension.isKey:(Ljava/lang/String;)Z
ifeq 32
19: getstatic sun.util.locale.InternalLocaleBuilder.$assertionsDisabled:Z
ifne 20
iload 5
iconst_m1
if_icmpeq 20
iload 6
iconst_m1
if_icmpne 20
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
20: StackMap locals:
StackMap stack:
iload 5
iconst_m1
if_icmpne 21
ldc ""
goto 22
StackMap locals:
StackMap stack:
21: aload 1
iload 5
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
22: astore 4
start local 4 23: aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
ifnonnull 25
24: aload 0
new java.util.HashMap
dup
iconst_4
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
25: StackMap locals: sun.util.locale.InternalLocaleBuilder java.lang.String sun.util.locale.StringTokenIterator sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString java.lang.String int int
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
aload 3
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
26: new sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString
dup
aload 2
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
invokespecial sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString.<init>:(Ljava/lang/String;)V
astore 7
start local 7 27: aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
aload 7
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 28
aconst_null
goto 29
StackMap locals: sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString
StackMap stack:
28: aload 7
StackMap locals:
StackMap stack: sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString
29: astore 3
30: iconst_m1
dup
istore 6
istore 5
end local 7 31: goto 40
end local 4 32: StackMap locals: sun.util.locale.InternalLocaleBuilder java.lang.String sun.util.locale.StringTokenIterator sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString top int int
StackMap stack:
iload 5
iconst_m1
if_icmpne 34
33: aload 2
invokevirtual sun.util.locale.StringTokenIterator.currentStart:()I
istore 5
34: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.util.locale.StringTokenIterator.currentEnd:()I
istore 6
35: goto 40
StackMap locals:
StackMap stack:
36: aload 2
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
invokestatic sun.util.locale.UnicodeLocaleExtension.isKey:(Ljava/lang/String;)Z
ifeq 40
37: new sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString
dup
aload 2
invokevirtual sun.util.locale.StringTokenIterator.current:()Ljava/lang/String;
invokespecial sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString.<init>:(Ljava/lang/String;)V
astore 3
38: aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
ifnull 40
aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 40
39: aconst_null
astore 3
40: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.util.locale.StringTokenIterator.hasNext:()Z
ifne 50
41: aload 3
ifnull 52
42: getstatic sun.util.locale.InternalLocaleBuilder.$assertionsDisabled:Z
ifne 43
iload 5
iconst_m1
if_icmpeq 43
iload 6
iconst_m1
if_icmpne 43
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
43: StackMap locals:
StackMap stack:
iload 5
iconst_m1
if_icmpne 44
ldc ""
goto 45
StackMap locals:
StackMap stack:
44: aload 1
iload 5
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
45: astore 4
start local 4 46: aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
ifnonnull 48
47: aload 0
new java.util.HashMap
dup
iconst_4
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
48: StackMap locals: sun.util.locale.InternalLocaleBuilder java.lang.String sun.util.locale.StringTokenIterator sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString java.lang.String int int
StackMap stack:
aload 0
getfield sun.util.locale.InternalLocaleBuilder.ukeywords:Ljava/util/Map;
aload 3
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 49: goto 52
50: StackMap locals: sun.util.locale.InternalLocaleBuilder java.lang.String sun.util.locale.StringTokenIterator sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString top int int
StackMap stack:
aload 2
invokevirtual sun.util.locale.StringTokenIterator.next:()Ljava/lang/String;
pop
51: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.util.locale.StringTokenIterator.isDone:()Z
ifeq 17
52: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Lsun/util/locale/InternalLocaleBuilder;
0 53 1 subtags Ljava/lang/String;
5 53 2 itr Lsun/util/locale/StringTokenIterator;
14 53 3 key Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveString;
23 32 4 type Ljava/lang/String;
46 49 4 type Ljava/lang/String;
15 53 5 typeStart I
16 53 6 typeEnd I
27 31 7 tmpKey Lsun/util/locale/InternalLocaleBuilder$CaseInsensitiveString;
MethodParameters:
Name Flags
subtags
}
SourceFile: "InternalLocaleBuilder.java"
NestMembers:
sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString
InnerClasses:
final CaseInsensitiveChar = sun.util.locale.InternalLocaleBuilder$CaseInsensitiveChar of sun.util.locale.InternalLocaleBuilder
final CaseInsensitiveString = sun.util.locale.InternalLocaleBuilder$CaseInsensitiveString of sun.util.locale.InternalLocaleBuilder