final class jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper
super_class: java.lang.Object
{
private final java.util.ResourceBundle bundle;
descriptor: Ljava/util/ResourceBundle;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.ResourceBundle pluginBundle;
descriptor: Ljava/util/ResourceBundle;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 // jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper this
start local 1 // java.lang.String path
0: .line 481
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 482
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
astore 2 /* locale */
start local 2 // java.util.Locale locale
2: .line 484
aload 0 /* this */
aload 1 /* path */
aload 2 /* locale */
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
putfield jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper.bundle:Ljava/util/ResourceBundle;
3: .line 485
aload 0 /* this */
ldc "jdk.tools.jlink.resources.plugins"
aload 2 /* locale */
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
putfield jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper.pluginBundle:Ljava/util/ResourceBundle;
4: .line 486
goto 7
StackMap locals: jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper java.lang.String java.util.Locale
StackMap stack: java.util.MissingResourceException
5: pop
6: .line 487
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Cannot find jlink resource bundle for locale "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2 /* locale */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
7: .line 489
StackMap locals:
StackMap stack:
return
end local 2 // java.util.Locale locale
end local 1 // java.lang.String path
end local 0 // jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/tools/jlink/internal/TaskHelper$ResourceBundleHelper;
0 8 1 path Ljava/lang/String;
2 8 2 locale Ljava/util/Locale;
Exception table:
from to target type
2 4 5 Class java.util.MissingResourceException
MethodParameters:
Name Flags
path
java.lang.String getMessage(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0080) ACC_VARARGS
Code:
stack=2, locals=4, args_size=3
start local 0 // jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper this
start local 1 // java.lang.String key
start local 2 // java.lang.Object[] args
0: .line 494
aload 0 /* this */
getfield jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper.bundle:Ljava/util/ResourceBundle;
aload 1 /* key */
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 3 /* val */
start local 3 // java.lang.String val
1: .line 495
goto 4
end local 3 // java.lang.String val
StackMap locals:
StackMap stack: java.util.MissingResourceException
2: pop
3: .line 497
aload 0 /* this */
getfield jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper.pluginBundle:Ljava/util/ResourceBundle;
aload 1 /* key */
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
astore 3 /* val */
start local 3 // java.lang.String val
4: .line 499
StackMap locals: java.lang.String
StackMap stack:
aload 3 /* val */
aload 2 /* args */
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 3 // java.lang.String val
end local 2 // java.lang.Object[] args
end local 1 // java.lang.String key
end local 0 // jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jlink/internal/TaskHelper$ResourceBundleHelper;
0 5 1 key Ljava/lang/String;
0 5 2 args [Ljava/lang/Object;
1 2 3 val Ljava/lang/String;
4 5 3 val Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.util.MissingResourceException
MethodParameters:
Name Flags
key
args
}
SourceFile: "TaskHelper.java"
NestHost: jdk.tools.jlink.internal.TaskHelper
InnerClasses:
private final ResourceBundleHelper = jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper of jdk.tools.jlink.internal.TaskHelper