public class sun.security.util.LocalizedMessage
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.util.LocalizedMessage
super_class: java.lang.Object
{
private static final sun.security.util.Resources resources;
descriptor: Lsun/security/util/Resources;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.String key;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.security.util.Resources
dup
invokespecial sun.security.util.Resources.<init>:()V
putstatic sun.security.util.LocalizedMessage.resources:Lsun/security/util/Resources;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.security.util.LocalizedMessage.key:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/util/LocalizedMessage;
0 3 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public java.lang.String format(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.util.LocalizedMessage.key:Ljava/lang/String;
aload 1
invokestatic sun.security.util.LocalizedMessage.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/util/LocalizedMessage;
0 1 1 arguments [Ljava/lang/Object;
MethodParameters:
Name Flags
arguments
public static java.lang.String getMessageUnbooted(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: getstatic sun.security.util.LocalizedMessage.resources:Lsun/security/util/Resources;
aload 0
invokevirtual sun.security.util.Resources.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 1
ifnull 2
aload 1
arraylength
ifne 3
2: StackMap locals: java.lang.String
StackMap stack:
aload 2
areturn
3: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 4: goto 18
start local 4 5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 2
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
start local 5 6: aload 3
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 2
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
8: aload 2
bipush 125
invokevirtual java.lang.String.indexOf:(I)I
istore 4
9: iload 4
ifge 11
10: new java.lang.RuntimeException
dup
ldc "Unmatched braces"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: java.lang.String
StackMap stack:
aload 2
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
start local 6 12: aload 6
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 7
start local 7 13: aload 3
aload 1
iload 7
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
end local 7 14: goto 17
15: StackMap locals: java.lang.String java.lang.Object[] java.lang.String java.lang.StringBuilder int java.lang.String java.lang.String
StackMap stack: java.lang.NumberFormatException
pop
16: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "not an integer: "
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;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 2
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
end local 6 end local 5 end local 4 18: StackMap locals:
StackMap stack:
aload 2
bipush 123
invokevirtual java.lang.String.indexOf:(I)I
dup
istore 4
start local 4 19: ifge 5
20: aload 3
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 key Ljava/lang/String;
0 22 1 arguments [Ljava/lang/Object;
1 22 2 value Ljava/lang/String;
4 22 3 sb Ljava/lang/StringBuilder;
5 18 4 nextBraceIndex I
19 22 4 nextBraceIndex I
6 18 5 firstPart Ljava/lang/String;
12 18 6 indexStr Ljava/lang/String;
13 14 7 index I
Exception table:
from to target type
12 14 15 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
key
arguments
public static java.lang.String getMessage(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic jdk.internal.misc.VM.isBooted:()Z
ifeq 6
1: aload 0
invokestatic sun.security.util.ResourcesMgr.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: aload 1
ifnonnull 4
3: aload 2
areturn
4: StackMap locals: java.lang.String
StackMap stack:
new java.text.MessageFormat
dup
aload 2
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
astore 3
start local 3 5: aload 3
aload 1
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 3 end local 2 6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic sun.security.util.LocalizedMessage.getMessageUnbooted:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 key Ljava/lang/String;
0 7 1 arguments [Ljava/lang/Object;
2 6 2 value Ljava/lang/String;
5 6 3 form Ljava/text/MessageFormat;
MethodParameters:
Name Flags
key
arguments
}
SourceFile: "LocalizedMessage.java"