public class sun.nio.cs.AbstractCharsetProvider extends java.nio.charset.spi.CharsetProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.nio.cs.AbstractCharsetProvider
super_class: java.nio.charset.spi.CharsetProvider
{
private java.util.Map classMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
private java.util.Map aliasMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
private java.util.Map aliasNameMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
private java.util.Map cache;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
private java.lang.String packagePrefix;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
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=1, locals=0, args_size=0
0: ldc Lsun/nio/cs/AbstractCharsetProvider;
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.nio.cs.AbstractCharsetProvider.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.nio.charset.spi.CharsetProvider.<init>:()V
1: aload 0
2: new java.util.TreeMap
dup
getstatic sun.misc.ASCIICaseInsensitiveComparator.CASE_INSENSITIVE_ORDER:Ljava/util/Comparator;
invokespecial java.util.TreeMap.<init>:(Ljava/util/Comparator;)V
putfield sun.nio.cs.AbstractCharsetProvider.classMap:Ljava/util/Map;
3: aload 0
4: new java.util.TreeMap
dup
getstatic sun.misc.ASCIICaseInsensitiveComparator.CASE_INSENSITIVE_ORDER:Ljava/util/Comparator;
invokespecial java.util.TreeMap.<init>:(Ljava/util/Comparator;)V
putfield sun.nio.cs.AbstractCharsetProvider.aliasMap:Ljava/util/Map;
5: aload 0
6: new java.util.TreeMap
dup
getstatic sun.misc.ASCIICaseInsensitiveComparator.CASE_INSENSITIVE_ORDER:Ljava/util/Comparator;
invokespecial java.util.TreeMap.<init>:(Ljava/util/Comparator;)V
putfield sun.nio.cs.AbstractCharsetProvider.aliasNameMap:Ljava/util/Map;
7: aload 0
8: new java.util.TreeMap
dup
getstatic sun.misc.ASCIICaseInsensitiveComparator.CASE_INSENSITIVE_ORDER:Ljava/util/Comparator;
invokespecial java.util.TreeMap.<init>:(Ljava/util/Comparator;)V
putfield sun.nio.cs.AbstractCharsetProvider.cache:Ljava/util/Map;
9: aload 0
ldc "sun.nio.cs"
putfield sun.nio.cs.AbstractCharsetProvider.packagePrefix:Ljava/lang/String;
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/nio/cs/AbstractCharsetProvider;
protected void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.nio.charset.spi.CharsetProvider.<init>:()V
1: aload 0
2: new java.util.TreeMap
dup
getstatic sun.misc.ASCIICaseInsensitiveComparator.CASE_INSENSITIVE_ORDER:Ljava/util/Comparator;
invokespecial java.util.TreeMap.<init>:(Ljava/util/Comparator;)V
putfield sun.nio.cs.AbstractCharsetProvider.classMap:Ljava/util/Map;
3: aload 0
4: new java.util.TreeMap
dup
getstatic sun.misc.ASCIICaseInsensitiveComparator.CASE_INSENSITIVE_ORDER:Ljava/util/Comparator;
invokespecial java.util.TreeMap.<init>:(Ljava/util/Comparator;)V
putfield sun.nio.cs.AbstractCharsetProvider.aliasMap:Ljava/util/Map;
5: aload 0
6: new java.util.TreeMap
dup
getstatic sun.misc.ASCIICaseInsensitiveComparator.CASE_INSENSITIVE_ORDER:Ljava/util/Comparator;
invokespecial java.util.TreeMap.<init>:(Ljava/util/Comparator;)V
putfield sun.nio.cs.AbstractCharsetProvider.aliasNameMap:Ljava/util/Map;
7: aload 0
8: new java.util.TreeMap
dup
getstatic sun.misc.ASCIICaseInsensitiveComparator.CASE_INSENSITIVE_ORDER:Ljava/util/Comparator;
invokespecial java.util.TreeMap.<init>:(Ljava/util/Comparator;)V
putfield sun.nio.cs.AbstractCharsetProvider.cache:Ljava/util/Map;
9: aload 0
aload 1
putfield sun.nio.cs.AbstractCharsetProvider.packagePrefix:Ljava/lang/String;
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/nio/cs/AbstractCharsetProvider;
0 11 1 pkgPrefixName Ljava/lang/String;
MethodParameters:
Name Flags
pkgPrefixName
private static void put(java.util.Map, java.lang.String, java.lang.Object);
descriptor: (Ljava/util/Map;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 2
1: aload 0
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 m Ljava/util/Map;
0 3 1 name Ljava/lang/String;
0 3 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
m
name
value
private static void remove(java.util.Map, java.lang.String);
descriptor: (Ljava/util/Map;Ljava/lang/String;)V
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
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: getstatic sun.nio.cs.AbstractCharsetProvider.$assertionsDisabled:Z
ifne 2
aload 2
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: java.lang.Object
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 m Ljava/util/Map;
0 3 1 name Ljava/lang/String;
1 3 2 x Ljava/lang/Object;
MethodParameters:
Name Flags
m
name
protected void charset(java.lang.String, java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
dup
astore 4
monitorenter
1: aload 0
getfield sun.nio.cs.AbstractCharsetProvider.classMap:Ljava/util/Map;
aload 1
aload 2
invokestatic sun.nio.cs.AbstractCharsetProvider.put:(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Object;)V
2: iconst_0
istore 5
start local 5 3: goto 6
4: StackMap locals: sun.nio.cs.AbstractCharsetProvider int
StackMap stack:
aload 0
getfield sun.nio.cs.AbstractCharsetProvider.aliasMap:Ljava/util/Map;
aload 3
iload 5
aaload
aload 1
invokestatic sun.nio.cs.AbstractCharsetProvider.put:(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Object;)V
5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
aload 3
arraylength
if_icmplt 4
end local 5 7: aload 0
getfield sun.nio.cs.AbstractCharsetProvider.aliasNameMap:Ljava/util/Map;
aload 1
aload 3
invokestatic sun.nio.cs.AbstractCharsetProvider.put:(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Object;)V
8: aload 0
getfield sun.nio.cs.AbstractCharsetProvider.cache:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
9: aload 4
monitorexit
10: goto 13
StackMap locals: sun.nio.cs.AbstractCharsetProvider java.lang.String java.lang.String java.lang.String[] sun.nio.cs.AbstractCharsetProvider
StackMap stack: java.lang.Throwable
11: aload 4
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/nio/cs/AbstractCharsetProvider;
0 14 1 name Ljava/lang/String;
0 14 2 className Ljava/lang/String;
0 14 3 aliases [Ljava/lang/String;
3 7 5 i I
Exception table:
from to target type
1 10 11 any
11 12 11 any
MethodParameters:
Name Flags
name
className
aliases
protected void deleteCharset(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
astore 3
monitorenter
1: aload 0
getfield sun.nio.cs.AbstractCharsetProvider.classMap:Ljava/util/Map;
aload 1
invokestatic sun.nio.cs.AbstractCharsetProvider.remove:(Ljava/util/Map;Ljava/lang/String;)V
2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: sun.nio.cs.AbstractCharsetProvider int
StackMap stack:
aload 0
getfield sun.nio.cs.AbstractCharsetProvider.aliasMap:Ljava/util/Map;
aload 2
iload 4
aaload
invokestatic sun.nio.cs.AbstractCharsetProvider.remove:(Ljava/util/Map;Ljava/lang/String;)V
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
aload 2
arraylength
if_icmplt 4
end local 4 7: aload 0
getfield sun.nio.cs.AbstractCharsetProvider.aliasNameMap:Ljava/util/Map;
aload 1
invokestatic sun.nio.cs.AbstractCharsetProvider.remove:(Ljava/util/Map;Ljava/lang/String;)V
8: aload 0
getfield sun.nio.cs.AbstractCharsetProvider.cache:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
9: aload 3
monitorexit
10: goto 13
StackMap locals: sun.nio.cs.AbstractCharsetProvider java.lang.String java.lang.String[] sun.nio.cs.AbstractCharsetProvider
StackMap stack: java.lang.Throwable
11: aload 3
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/nio/cs/AbstractCharsetProvider;
0 14 1 name Ljava/lang/String;
0 14 2 aliases [Ljava/lang/String;
3 7 4 i I
Exception table:
from to target type
1 10 11 any
11 12 11 any
MethodParameters:
Name Flags
name
aliases
protected void init();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/cs/AbstractCharsetProvider;
private java.lang.String canonicalize(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.cs.AbstractCharsetProvider.aliasMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
goto 3
StackMap locals: java.lang.String
StackMap stack:
2: aload 1
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/nio/cs/AbstractCharsetProvider;
0 4 1 charsetName Ljava/lang/String;
1 4 2 acn Ljava/lang/String;
MethodParameters:
Name Flags
charsetName
private java.nio.charset.Charset lookup(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/charset/Charset;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.nio.cs.AbstractCharsetProvider.cache:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ref.SoftReference
astore 2
start local 2 1: aload 2
ifnull 5
2: aload 2
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast java.nio.charset.Charset
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 3
areturn
end local 3 5: StackMap locals: java.lang.ref.SoftReference
StackMap stack:
aload 0
getfield sun.nio.cs.AbstractCharsetProvider.classMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 6: aload 3
ifnonnull 8
7: aconst_null
areturn
8: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
getfield sun.nio.cs.AbstractCharsetProvider.packagePrefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: iconst_1
10: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
11: invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 4
start local 4 12: aload 4
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast java.nio.charset.Charset
astore 5
start local 5 13: aload 0
getfield sun.nio.cs.AbstractCharsetProvider.cache:Ljava/util/Map;
aload 1
new java.lang.ref.SoftReference
dup
aload 5
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 5
15: areturn
end local 5 end local 4 16: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
pop
17: aconst_null
areturn
18: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
pop
19: aconst_null
areturn
20: StackMap locals:
StackMap stack: java.lang.InstantiationException
pop
21: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/nio/cs/AbstractCharsetProvider;
0 22 1 csn Ljava/lang/String;
1 22 2 sr Ljava/lang/ref/SoftReference;
3 5 3 cs Ljava/nio/charset/Charset;
6 22 3 cln Ljava/lang/String;
12 16 4 c Ljava/lang/Class;
13 16 5 cs Ljava/nio/charset/Charset;
Exception table:
from to target type
8 15 16 Class java.lang.ClassNotFoundException
8 15 18 Class java.lang.IllegalAccessException
8 15 20 Class java.lang.InstantiationException
MethodParameters:
Name Flags
csn
public final java.nio.charset.Charset charsetForName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/charset/Charset;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
invokevirtual sun.nio.cs.AbstractCharsetProvider.init:()V
2: aload 0
aload 0
aload 1
invokevirtual sun.nio.cs.AbstractCharsetProvider.canonicalize:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual sun.nio.cs.AbstractCharsetProvider.lookup:(Ljava/lang/String;)Ljava/nio/charset/Charset;
aload 2
monitorexit
3: areturn
4: StackMap locals: sun.nio.cs.AbstractCharsetProvider java.lang.String sun.nio.cs.AbstractCharsetProvider
StackMap stack: java.lang.Throwable
aload 2
monitorexit
5: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/cs/AbstractCharsetProvider;
0 6 1 charsetName Ljava/lang/String;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
charsetName
public final java.util.Iterator<java.nio.charset.Charset> charsets();
descriptor: ()Ljava/util/Iterator;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
dup
astore 2
monitorenter
1: aload 0
invokevirtual sun.nio.cs.AbstractCharsetProvider.init:()V
2: new java.util.ArrayList
dup
aload 0
getfield sun.nio.cs.AbstractCharsetProvider.classMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 3: aload 2
monitorexit
4: goto 7
end local 1 StackMap locals: sun.nio.cs.AbstractCharsetProvider top sun.nio.cs.AbstractCharsetProvider
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
start local 1 7: StackMap locals: sun.nio.cs.AbstractCharsetProvider java.util.ArrayList
StackMap stack:
new sun.nio.cs.AbstractCharsetProvider$1
dup
aload 0
aload 1
invokespecial sun.nio.cs.AbstractCharsetProvider$1.<init>:(Lsun/nio/cs/AbstractCharsetProvider;Ljava/util/ArrayList;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/nio/cs/AbstractCharsetProvider;
3 5 1 ks Ljava/util/ArrayList;
7 8 1 ks Ljava/util/ArrayList;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Signature: ()Ljava/util/Iterator<Ljava/nio/charset/Charset;>;
public final java.lang.String[] aliases(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
invokevirtual sun.nio.cs.AbstractCharsetProvider.init:()V
2: aload 0
getfield sun.nio.cs.AbstractCharsetProvider.aliasNameMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String[]
aload 2
monitorexit
3: areturn
4: StackMap locals: sun.nio.cs.AbstractCharsetProvider java.lang.String sun.nio.cs.AbstractCharsetProvider
StackMap stack: java.lang.Throwable
aload 2
monitorexit
5: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/nio/cs/AbstractCharsetProvider;
0 6 1 charsetName Ljava/lang/String;
Exception table:
from to target type
1 3 4 any
4 5 4 any
MethodParameters:
Name Flags
charsetName
}
SourceFile: "AbstractCharsetProvider.java"
NestMembers:
sun.nio.cs.AbstractCharsetProvider$1
InnerClasses:
sun.nio.cs.AbstractCharsetProvider$1