public class org.apache.catalina.util.CharsetMapper
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.catalina.util.CharsetMapper
  super_class: java.lang.Object
{
  public static final java.lang.String DEFAULT_RESOURCE;
    descriptor: Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: "/org/apache/catalina/util/CharsetMapperDefault.properties"

  private java.util.Properties map;
    descriptor: Ljava/util/Properties;
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.catalina.util.CharsetMapper this
         0: .line 60
            aload 0 /* this */
            ldc "/org/apache/catalina/util/CharsetMapperDefault.properties"
            invokespecial org.apache.catalina.util.CharsetMapper.<init>:(Ljava/lang/String;)V
         1: .line 61
            return
        end local 0 // org.apache.catalina.util.CharsetMapper this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/catalina/util/CharsetMapper;

  public void <init>(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // org.apache.catalina.util.CharsetMapper this
        start local 1 // java.lang.String name
         0: .line 72
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 93
            aload 0 /* this */
            new java.util.Properties
            dup
            invokespecial java.util.Properties.<init>:()V
            putfield org.apache.catalina.util.CharsetMapper.map:Ljava/util/Properties;
         2: .line 73
            invokestatic org.apache.tomcat.util.compat.JreCompat.isGraalAvailable:()Z
            ifeq 5
         3: .line 74
            aload 0 /* this */
            getfield org.apache.catalina.util.CharsetMapper.map:Ljava/util/Properties;
            ldc "en"
            ldc "ISO-8859-1"
            invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         4: .line 75
            goto 17
         5: .line 76
      StackMap locals: org.apache.catalina.util.CharsetMapper java.lang.String
      StackMap stack:
            aconst_null
            astore 2
            aconst_null
            astore 3
         6: aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            aload 1 /* name */
            invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
            astore 4 /* stream */
        start local 4 // java.io.InputStream stream
         7: .line 77
            aload 0 /* this */
            getfield org.apache.catalina.util.CharsetMapper.map:Ljava/util/Properties;
            aload 4 /* stream */
            invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
         8: .line 78
            aload 4 /* stream */
            ifnull 17
            aload 4 /* stream */
            invokevirtual java.io.InputStream.close:()V
            goto 17
      StackMap locals: org.apache.catalina.util.CharsetMapper java.lang.String java.lang.Throwable java.lang.Throwable java.io.InputStream
      StackMap stack: java.lang.Throwable
         9: astore 2
            aload 4 /* stream */
            ifnull 10
            aload 4 /* stream */
            invokevirtual java.io.InputStream.close:()V
        end local 4 // java.io.InputStream stream
      StackMap locals:
      StackMap stack:
        10: aload 2
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
        11: astore 3
            aload 2
            ifnonnull 12
            aload 3
            astore 2
            goto 13
      StackMap locals:
      StackMap stack:
        12: aload 2
            aload 3
            if_acmpeq 13
            aload 2
            aload 3
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        13: aload 2
            athrow
      StackMap locals: org.apache.catalina.util.CharsetMapper java.lang.String
      StackMap stack: java.lang.Throwable
        14: astore 2 /* t */
        start local 2 // java.lang.Throwable t
        15: .line 79
            aload 2 /* t */
            invokestatic org.apache.tomcat.util.ExceptionUtils.handleThrowable:(Ljava/lang/Throwable;)V
        16: .line 80
            new java.lang.IllegalArgumentException
            dup
            aload 2 /* t */
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.lang.Throwable t
        17: .line 83
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.String name
        end local 0 // org.apache.catalina.util.CharsetMapper this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   18     0    this  Lorg/apache/catalina/util/CharsetMapper;
            0   18     1    name  Ljava/lang/String;
            7   10     4  stream  Ljava/io/InputStream;
           15   17     2       t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           7     8       9  any
           6    11      11  any
           5    14      14  Class java.lang.Throwable
    MethodParameters:
      Name  Flags
      name  

  public java.lang.String getCharset(java.util.Locale);
    descriptor: (Ljava/util/Locale;)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.apache.catalina.util.CharsetMapper this
        start local 1 // java.util.Locale locale
         0: .line 110
            aload 0 /* this */
            getfield org.apache.catalina.util.CharsetMapper.map:Ljava/util/Properties;
            aload 1 /* locale */
            invokevirtual java.util.Locale.toString:()Ljava/lang/String;
            invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 2 /* charset */
        start local 2 // java.lang.String charset
         1: .line 111
            aload 2 /* charset */
            ifnonnull 7
         2: .line 112
            aload 0 /* this */
            getfield org.apache.catalina.util.CharsetMapper.map:Ljava/util/Properties;
            new java.lang.StringBuilder
            dup
            aload 1 /* locale */
            invokevirtual java.util.Locale.getLanguage:()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;
         3: .line 113
            aload 1 /* locale */
            invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         4: .line 112
            invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 2 /* charset */
         5: .line 114
            aload 2 /* charset */
            ifnonnull 7
         6: .line 115
            aload 0 /* this */
            getfield org.apache.catalina.util.CharsetMapper.map:Ljava/util/Properties;
            aload 1 /* locale */
            invokevirtual java.util.Locale.getLanguage:()Ljava/lang/String;
            invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            astore 2 /* charset */
         7: .line 118
      StackMap locals: java.lang.String
      StackMap stack:
            aload 2 /* charset */
            areturn
        end local 2 // java.lang.String charset
        end local 1 // java.util.Locale locale
        end local 0 // org.apache.catalina.util.CharsetMapper this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    8     0     this  Lorg/apache/catalina/util/CharsetMapper;
            0    8     1   locale  Ljava/util/Locale;
            1    8     2  charset  Ljava/lang/String;
    MethodParameters:
        Name  Flags
      locale  

  public void addCharsetMappingFromDeploymentDescriptor(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.apache.catalina.util.CharsetMapper this
        start local 1 // java.lang.String locale
        start local 2 // java.lang.String charset
         0: .line 132
            aload 0 /* this */
            getfield org.apache.catalina.util.CharsetMapper.map:Ljava/util/Properties;
            aload 1 /* locale */
            aload 2 /* charset */
            invokevirtual java.util.Properties.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 133
            return
        end local 2 // java.lang.String charset
        end local 1 // java.lang.String locale
        end local 0 // org.apache.catalina.util.CharsetMapper this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lorg/apache/catalina/util/CharsetMapper;
            0    2     1   locale  Ljava/lang/String;
            0    2     2  charset  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      locale   
      charset  
}
SourceFile: "CharsetMapper.java"