public class org.graalvm.component.installer.TestBase implements org.graalvm.component.installer.Feedback
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.component.installer.TestBase
super_class: java.lang.Object
{
private static final java.util.ResourceBundle NO_BUNDLE;
descriptor: Ljava/util/ResourceBundle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected java.util.ResourceBundle defaultBundle;
descriptor: Ljava/util/ResourceBundle;
flags: (0x0004) ACC_PROTECTED
private org.graalvm.component.installer.Feedback feedbackDelegate;
descriptor: Lorg/graalvm/component/installer/Feedback;
flags: (0x0002) ACC_PRIVATE
protected boolean verbose;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
public static org.junit.rules.TemporaryFolder expandedFolder;
descriptor: Lorg/junit/rules/TemporaryFolder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
RuntimeVisibleAnnotations:
org.junit.ClassRule()
public org.junit.rules.TemporaryFolder testFolder;
descriptor: Lorg/junit/rules/TemporaryFolder;
flags: (0x0001) ACC_PUBLIC
RuntimeVisibleAnnotations:
org.junit.Rule()
public org.junit.rules.TestName testName;
descriptor: Lorg/junit/rules/TestName;
flags: (0x0001) ACC_PUBLIC
RuntimeVisibleAnnotations:
org.junit.Rule()
protected static java.nio.file.Path expandedJarPath;
descriptor: Ljava/nio/file/Path;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
protected java.lang.StringBuilder userInput;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String password;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected boolean autoYesEnabled;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.graalvm.component.installer.TestBase$1
dup
invokespecial org.graalvm.component.installer.TestBase$1.<init>:()V
putstatic org.graalvm.component.installer.TestBase.NO_BUNDLE:Ljava/util/ResourceBundle;
1: new org.graalvm.component.installer.TestBase$ClassTempFolder
dup
invokespecial org.graalvm.component.installer.TestBase$ClassTempFolder.<init>:()V
putstatic org.graalvm.component.installer.TestBase.expandedFolder:Lorg/junit/rules/TemporaryFolder;
2: aconst_null
putstatic org.graalvm.component.installer.TestBase.expandedJarPath:Ljava/nio/file/Path;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "org.graalvm.component.installer.Bundle"
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;)Ljava/util/ResourceBundle;
putfield org.graalvm.component.installer.TestBase.defaultBundle:Ljava/util/ResourceBundle;
2: aload 0
new org.junit.rules.TemporaryFolder
dup
invokespecial org.junit.rules.TemporaryFolder.<init>:()V
putfield org.graalvm.component.installer.TestBase.testFolder:Lorg/junit/rules/TemporaryFolder;
3: aload 0
new org.junit.rules.TestName
dup
invokespecial org.junit.rules.TestName.<init>:()V
putfield org.graalvm.component.installer.TestBase.testName:Lorg/junit/rules/TestName;
4: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield org.graalvm.component.installer.TestBase.userInput:Ljava/lang/StringBuilder;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/component/installer/TestBase;
protected void delegateFeedback(org.graalvm.component.installer.Feedback);
descriptor: (Lorg/graalvm/component/installer/Feedback;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/TestBase;
0 2 1 delegate Lorg/graalvm/component/installer/Feedback;
MethodParameters:
Name Flags
delegate
public static void cleanupExpandedPath();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic org.graalvm.component.installer.TestBase.expandedJarPath:Ljava/nio/file/Path;
1: return
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
org.junit.AfterClass()
public void expandJar();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=1
start local 0 0: getstatic org.graalvm.component.installer.TestBase.expandedJarPath:Ljava/nio/file/Path;
ifnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getProtectionDomain:()Ljava/security/ProtectionDomain;
invokevirtual java.security.ProtectionDomain.getCodeSource:()Ljava/security/CodeSource;
invokevirtual java.security.CodeSource.getLocation:()Ljava/net/URL;
astore 1
start local 1 3: new java.io.File
dup
aload 1
invokevirtual java.net.URL.toURI:()Ljava/net/URI;
invokespecial java.io.File.<init>:(Ljava/net/URI;)V
astore 2
start local 2 4: goto 8
end local 2 StackMap locals: org.graalvm.component.installer.TestBase java.net.URL
StackMap stack: java.net.URISyntaxException
5: astore 3
start local 3 6: aload 3
invokevirtual java.net.URISyntaxException.getMessage:()Ljava/lang/String;
invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
7: return
end local 3 start local 2 8: StackMap locals: java.io.File
StackMap stack:
aload 2
invokevirtual java.io.File.isDirectory:()Z
ifeq 10
9: return
10: StackMap locals:
StackMap stack:
getstatic org.graalvm.component.installer.TestBase.expandedFolder:Lorg/junit/rules/TemporaryFolder;
ldc "expanded-data"
invokevirtual org.junit.rules.TemporaryFolder.newFolder:(Ljava/lang/String;)Ljava/io/File;
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
putstatic org.graalvm.component.installer.TestBase.expandedJarPath:Ljava/nio/file/Path;
11: new java.util.jar.JarFile
dup
aload 2
invokespecial java.util.jar.JarFile.<init>:(Ljava/io/File;)V
astore 3
start local 3 12: aload 3
invokevirtual java.util.jar.JarFile.entries:()Ljava/util/Enumeration;
invokestatic java.util.Collections.list:(Ljava/util/Enumeration;)Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 5
goto 28
StackMap locals: org.graalvm.component.installer.TestBase java.net.URL java.io.File java.util.jar.JarFile top java.util.Iterator
StackMap stack:
13: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.jar.JarEntry
astore 4
start local 4 14: getstatic org.graalvm.component.installer.TestBase.expandedJarPath:Ljava/nio/file/Path;
aload 4
invokevirtual java.util.jar.JarEntry.getName:()Ljava/lang/String;
invokestatic org.graalvm.component.installer.SystemUtils.fromCommonString:(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 6
start local 6 15: aload 4
invokevirtual java.util.jar.JarEntry.isDirectory:()Z
ifeq 18
16: aload 6
iconst_0
anewarray java.nio.file.attribute.FileAttribute
invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
pop
17: goto 28
18: StackMap locals: org.graalvm.component.installer.TestBase java.net.URL java.io.File java.util.jar.JarFile java.util.jar.JarEntry java.util.Iterator java.nio.file.Path
StackMap stack:
aload 6
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.attribute.FileAttribute
invokestatic java.nio.file.Files.createDirectories:(Ljava/nio/file/Path;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path;
pop
19: aconst_null
astore 7
aconst_null
astore 8
20: aload 3
aload 4
invokevirtual java.util.jar.JarFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
astore 9
start local 9 21: aload 9
aload 6
iconst_1
anewarray java.nio.file.CopyOption
dup
iconst_0
getstatic java.nio.file.StandardCopyOption.REPLACE_EXISTING:Ljava/nio/file/StandardCopyOption;
aastore
invokestatic java.nio.file.Files.copy:(Ljava/io/InputStream;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)J
pop2
22: aload 9
ifnull 28
aload 9
invokevirtual java.io.InputStream.close:()V
goto 28
StackMap locals: org.graalvm.component.installer.TestBase java.net.URL java.io.File java.util.jar.JarFile java.util.jar.JarEntry java.util.Iterator java.nio.file.Path java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
23: astore 7
aload 9
ifnull 24
aload 9
invokevirtual java.io.InputStream.close:()V
end local 9 StackMap locals:
StackMap stack:
24: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
25: astore 8
aload 7
ifnonnull 26
aload 8
astore 7
goto 27
StackMap locals:
StackMap stack:
26: aload 7
aload 8
if_acmpeq 27
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
27: aload 7
athrow
end local 6 end local 4 28: StackMap locals: org.graalvm.component.installer.TestBase java.net.URL java.io.File java.util.jar.JarFile top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
29: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/graalvm/component/installer/TestBase;
3 30 1 location Ljava/net/URL;
4 5 2 f Ljava/io/File;
8 30 2 f Ljava/io/File;
6 8 3 ex Ljava/net/URISyntaxException;
12 30 3 jf Ljava/util/jar/JarFile;
14 28 4 en Ljava/util/jar/JarEntry;
15 28 6 target Ljava/nio/file/Path;
21 24 9 is Ljava/io/InputStream;
Exception table:
from to target type
3 4 5 Class java.net.URISyntaxException
21 22 23 any
20 25 25 any
Exceptions:
throws java.io.IOException
protected java.nio.file.Path dataFile(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/nio/file/Path;
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.component.installer.TestBase.expandJar:()V
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 2
start local 2 2: getstatic org.graalvm.component.installer.TestBase.expandedJarPath:Ljava/nio/file/Path;
ifnull 7
3: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 4
start local 4 4: aload 4
iconst_0
aload 4
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 4
5: getstatic org.graalvm.component.installer.TestBase.expandedJarPath:Ljava/nio/file/Path;
aload 4
invokestatic org.graalvm.component.installer.SystemUtils.fromCommonString:(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 3
end local 4 start local 3 6: goto 12
end local 3 7: StackMap locals: java.net.URL
StackMap stack:
aload 2
invokevirtual java.net.URL.toURI:()Ljava/net/URI;
invokestatic java.nio.file.Paths.get:(Ljava/net/URI;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.getParent:()Ljava/nio/file/Path;
astore 3
start local 3 8: goto 12
end local 3 StackMap locals:
StackMap stack: java.net.URISyntaxException
9: pop
10: ldc "URI error"
invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
11: aconst_null
areturn
start local 3 12: StackMap locals: java.nio.file.Path
StackMap stack:
aload 3
aload 1
invokestatic org.graalvm.component.installer.SystemUtils.fromCommonString:(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.resolve:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/component/installer/TestBase;
0 13 1 relative Ljava/lang/String;
2 13 2 u Ljava/net/URL;
6 7 3 basePath Ljava/nio/file/Path;
8 9 3 basePath Ljava/nio/file/Path;
12 13 3 basePath Ljava/nio/file/Path;
4 6 4 n Ljava/lang/String;
Exception table:
from to target type
7 8 9 Class java.net.URISyntaxException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
relative
protected java.io.InputStream dataStream(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
iconst_0
aload 2
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 2
2: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
new java.lang.StringBuilder
dup
aload 2
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 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/component/installer/TestBase;
0 3 1 relative Ljava/lang/String;
1 3 2 n Ljava/lang/String;
MethodParameters:
Name Flags
relative
protected void copyDir(java.lang.String, java.nio.file.Path);
descriptor: (Ljava/lang/String;Ljava/nio/file/Path;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.graalvm.component.installer.TestBase.dataFile:(Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 1: aload 3
new org.graalvm.component.installer.TestBase$CopyDir
dup
aload 0
aload 3
aload 2
invokespecial org.graalvm.component.installer.TestBase$CopyDir.<init>:(Lorg/graalvm/component/installer/TestBase;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
invokestatic java.nio.file.Files.walkFileTree:(Ljava/nio/file/Path;Ljava/nio/file/FileVisitor;)Ljava/nio/file/Path;
pop
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/component/installer/TestBase;
0 3 1 subdir Ljava/lang/String;
0 3 2 to Ljava/nio/file/Path;
1 3 3 subdirPath Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
subdir
to
public void message(java.util.ResourceBundle, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 2
1: aload 1
aload 2
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
instanceof org.graalvm.component.installer.TestBase$FeedbackAdapter
ifeq 6
3: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
checkcast org.graalvm.component.installer.TestBase$FeedbackAdapter
aload 1
ifnonnull 4
getstatic org.graalvm.component.installer.TestBase.NO_BUNDLE:Ljava/util/ResourceBundle;
goto 5
StackMap locals:
StackMap stack: org.graalvm.component.installer.TestBase$FeedbackAdapter
4: aload 1
StackMap locals: org.graalvm.component.installer.TestBase java.util.ResourceBundle java.lang.String java.lang.Object[]
StackMap stack: org.graalvm.component.installer.TestBase$FeedbackAdapter java.util.ResourceBundle
5: invokevirtual org.graalvm.component.installer.TestBase$FeedbackAdapter.setBundle:(Ljava/util/ResourceBundle;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
ifnull 8
7: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
aload 2
aload 3
invokeinterface org.graalvm.component.installer.Feedback.message:(Ljava/lang/String;[Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/component/installer/TestBase;
0 9 1 bundle Ljava/util/ResourceBundle;
0 9 2 bundleKey Ljava/lang/String;
0 9 3 params [Ljava/lang/Object;
MethodParameters:
Name Flags
bundle
bundleKey
params
public void output(java.util.ResourceBundle, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 2
1: aload 1
aload 2
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
instanceof org.graalvm.component.installer.TestBase$FeedbackAdapter
ifeq 6
3: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
checkcast org.graalvm.component.installer.TestBase$FeedbackAdapter
aload 1
ifnonnull 4
getstatic org.graalvm.component.installer.TestBase.NO_BUNDLE:Ljava/util/ResourceBundle;
goto 5
StackMap locals:
StackMap stack: org.graalvm.component.installer.TestBase$FeedbackAdapter
4: aload 1
StackMap locals: org.graalvm.component.installer.TestBase java.util.ResourceBundle java.lang.String java.lang.Object[]
StackMap stack: org.graalvm.component.installer.TestBase$FeedbackAdapter java.util.ResourceBundle
5: invokevirtual org.graalvm.component.installer.TestBase$FeedbackAdapter.setBundle:(Ljava/util/ResourceBundle;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
ifnull 8
7: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
aload 2
aload 3
invokeinterface org.graalvm.component.installer.Feedback.output:(Ljava/lang/String;[Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/component/installer/TestBase;
0 9 1 bundle Ljava/util/ResourceBundle;
0 9 2 bundleKey Ljava/lang/String;
0 9 3 params [Ljava/lang/Object;
MethodParameters:
Name Flags
bundle
bundleKey
params
public void outputPart(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield org.graalvm.component.installer.TestBase.defaultBundle:Ljava/util/ResourceBundle;
aload 1
aload 2
invokevirtual org.graalvm.component.installer.TestBase.output:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/TestBase;
0 2 1 bundleKey Ljava/lang/String;
0 2 2 params [Ljava/lang/Object;
MethodParameters:
Name Flags
bundleKey
params
public boolean verbatimPart(java.lang.String, boolean, boolean);
descriptor: (Ljava/lang/String;ZZ)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 3
invokevirtual org.graalvm.component.installer.TestBase.verbatimPart:(Ljava/lang/String;Z)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/TestBase;
0 1 1 msg Ljava/lang/String;
0 1 2 error Z
0 1 3 beVerbose Z
MethodParameters:
Name Flags
msg
error
beVerbose
public boolean verbatimPart(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
instanceof org.graalvm.component.installer.TestBase$FeedbackAdapter
ifeq 2
1: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
checkcast org.graalvm.component.installer.TestBase$FeedbackAdapter
getstatic org.graalvm.component.installer.TestBase.NO_BUNDLE:Ljava/util/ResourceBundle;
invokevirtual org.graalvm.component.installer.TestBase$FeedbackAdapter.setBundle:(Ljava/util/ResourceBundle;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
ifnull 11
3: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
aload 1
iload 2
invokeinterface org.graalvm.component.installer.Feedback.verbatimPart:(Ljava/lang/String;Z)Z
istore 4
4: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
instanceof org.graalvm.component.installer.TestBase$FeedbackAdapter
ifeq 6
5: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
checkcast org.graalvm.component.installer.TestBase$FeedbackAdapter
aconst_null
invokevirtual org.graalvm.component.installer.TestBase$FeedbackAdapter.setBundle:(Ljava/util/ResourceBundle;)V
6: StackMap locals: org.graalvm.component.installer.TestBase java.lang.String int top int
StackMap stack:
iload 4
ireturn
7: StackMap locals: org.graalvm.component.installer.TestBase java.lang.String int
StackMap stack: java.lang.Throwable
astore 3
8: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
instanceof org.graalvm.component.installer.TestBase$FeedbackAdapter
ifeq 10
9: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
checkcast org.graalvm.component.installer.TestBase$FeedbackAdapter
aconst_null
invokevirtual org.graalvm.component.installer.TestBase$FeedbackAdapter.setBundle:(Ljava/util/ResourceBundle;)V
10: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
athrow
11: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
instanceof org.graalvm.component.installer.TestBase$FeedbackAdapter
ifeq 13
12: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
checkcast org.graalvm.component.installer.TestBase$FeedbackAdapter
aconst_null
invokevirtual org.graalvm.component.installer.TestBase$FeedbackAdapter.setBundle:(Ljava/util/ResourceBundle;)V
13: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.verbose:Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/graalvm/component/installer/TestBase;
0 14 1 msg Ljava/lang/String;
0 14 2 beVerbose Z
Exception table:
from to target type
2 4 7 any
MethodParameters:
Name Flags
msg
beVerbose
public void verbosePart(java.util.ResourceBundle, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 2
aload 2
ifnull 2
1: aload 1
aload 2
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
instanceof org.graalvm.component.installer.TestBase$FeedbackAdapter
ifeq 6
3: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
checkcast org.graalvm.component.installer.TestBase$FeedbackAdapter
aload 1
ifnonnull 4
getstatic org.graalvm.component.installer.TestBase.NO_BUNDLE:Ljava/util/ResourceBundle;
goto 5
StackMap locals:
StackMap stack: org.graalvm.component.installer.TestBase$FeedbackAdapter
4: aload 1
StackMap locals: org.graalvm.component.installer.TestBase java.util.ResourceBundle java.lang.String java.lang.Object[]
StackMap stack: org.graalvm.component.installer.TestBase$FeedbackAdapter java.util.ResourceBundle
5: invokevirtual org.graalvm.component.installer.TestBase$FeedbackAdapter.setBundle:(Ljava/util/ResourceBundle;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
ifnull 8
7: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
aload 2
aload 3
invokeinterface org.graalvm.component.installer.Feedback.verbosePart:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/component/installer/TestBase;
0 9 1 bundle Ljava/util/ResourceBundle;
0 9 2 bundleKey Ljava/lang/String;
0 9 3 params [Ljava/lang/Object;
MethodParameters:
Name Flags
bundle
bundleKey
params
public void verboseOutput(java.util.ResourceBundle, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 2
aload 2
ifnull 2
1: aload 1
aload 2
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
instanceof org.graalvm.component.installer.TestBase$FeedbackAdapter
ifeq 6
3: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
checkcast org.graalvm.component.installer.TestBase$FeedbackAdapter
aload 1
ifnonnull 4
getstatic org.graalvm.component.installer.TestBase.NO_BUNDLE:Ljava/util/ResourceBundle;
goto 5
StackMap locals:
StackMap stack: org.graalvm.component.installer.TestBase$FeedbackAdapter
4: aload 1
StackMap locals: org.graalvm.component.installer.TestBase java.util.ResourceBundle java.lang.String java.lang.Object[]
StackMap stack: org.graalvm.component.installer.TestBase$FeedbackAdapter java.util.ResourceBundle
5: invokevirtual org.graalvm.component.installer.TestBase$FeedbackAdapter.setBundle:(Ljava/util/ResourceBundle;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
ifnull 8
7: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
aload 2
aload 3
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/component/installer/TestBase;
0 9 1 bundle Ljava/util/ResourceBundle;
0 9 2 bundleKey Ljava/lang/String;
0 9 3 params [Ljava/lang/Object;
MethodParameters:
Name Flags
bundle
bundleKey
params
public void error(java.util.ResourceBundle, java.lang.String, java.lang.Throwable, java.lang.Object[]);
descriptor: (Ljava/util/ResourceBundle;Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
ifnull 2
1: aload 1
aload 2
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 4
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
instanceof org.graalvm.component.installer.TestBase$FeedbackAdapter
ifeq 6
3: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
checkcast org.graalvm.component.installer.TestBase$FeedbackAdapter
aload 1
ifnonnull 4
getstatic org.graalvm.component.installer.TestBase.NO_BUNDLE:Ljava/util/ResourceBundle;
goto 5
StackMap locals:
StackMap stack: org.graalvm.component.installer.TestBase$FeedbackAdapter
4: aload 1
StackMap locals: org.graalvm.component.installer.TestBase java.util.ResourceBundle java.lang.String java.lang.Throwable java.lang.Object[]
StackMap stack: org.graalvm.component.installer.TestBase$FeedbackAdapter java.util.ResourceBundle
5: invokevirtual org.graalvm.component.installer.TestBase$FeedbackAdapter.setBundle:(Ljava/util/ResourceBundle;)V
6: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
ifnull 8
7: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
aload 2
aload 3
aload 4
invokeinterface org.graalvm.component.installer.Feedback.error:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
8: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/component/installer/TestBase;
0 9 1 bundle Ljava/util/ResourceBundle;
0 9 2 key Ljava/lang/String;
0 9 3 t Ljava/lang/Throwable;
0 9 4 params [Ljava/lang/Object;
MethodParameters:
Name Flags
bundle
key
t
params
public java.lang.String l10n(java.util.ResourceBundle, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 2
1: aload 1
aload 2
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
ifnull 8
3: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
instanceof org.graalvm.component.installer.TestBase$FeedbackAdapter
ifeq 5
4: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
checkcast org.graalvm.component.installer.TestBase$FeedbackAdapter
aload 1
invokevirtual org.graalvm.component.installer.TestBase$FeedbackAdapter.setBundle:(Ljava/util/ResourceBundle;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
aload 2
aload 3
invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 4
start local 4 6: aload 4
ifnull 8
7: aload 4
areturn
end local 4 8: StackMap locals:
StackMap stack:
aload 2
ldc "@"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 10
aload 1
ifnull 10
9: aload 1
aload 2
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
10: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/component/installer/TestBase;
0 11 1 bundle Ljava/util/ResourceBundle;
0 11 2 key Ljava/lang/String;
0 11 3 params [Ljava/lang/Object;
6 8 4 s Ljava/lang/String;
MethodParameters:
Name Flags
bundle
key
params
public java.lang.String reallyl10n(java.util.ResourceBundle, java.lang.String, java.lang.Object[]);
descriptor: (Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.graalvm.component.installer.TestBase.defaultBundle:Ljava/util/ResourceBundle;
StackMap locals:
StackMap stack: java.util.ResourceBundle
2: astore 4
start local 4 3: aload 4
aload 2
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 3
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)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 4 0 this Lorg/graalvm/component/installer/TestBase;
0 4 1 bundle Ljava/util/ResourceBundle;
0 4 2 key Ljava/lang/String;
0 4 3 params [Ljava/lang/Object;
3 4 4 b Ljava/util/ResourceBundle;
MethodParameters:
Name Flags
bundle
key
params
public boolean verbatimOut(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
instanceof org.graalvm.component.installer.TestBase$FeedbackAdapter
ifeq 2
1: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
checkcast org.graalvm.component.installer.TestBase$FeedbackAdapter
getstatic org.graalvm.component.installer.TestBase.NO_BUNDLE:Ljava/util/ResourceBundle;
invokevirtual org.graalvm.component.installer.TestBase$FeedbackAdapter.setBundle:(Ljava/util/ResourceBundle;)V
2: StackMap locals:
StackMap stack:
iload 2
ifeq 5
3: aload 0
aconst_null
aload 1
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.component.installer.TestBase.verboseOutput:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
4: goto 13
5: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
ifnull 7
6: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
aload 1
iload 2
invokeinterface org.graalvm.component.installer.Feedback.verbatimOut:(Ljava/lang/String;Z)Z
pop
7: StackMap locals:
StackMap stack:
aload 0
aconst_null
aload 1
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.component.installer.TestBase.output:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
8: goto 13
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 3
10: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
instanceof org.graalvm.component.installer.TestBase$FeedbackAdapter
ifeq 12
11: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
checkcast org.graalvm.component.installer.TestBase$FeedbackAdapter
aconst_null
invokevirtual org.graalvm.component.installer.TestBase$FeedbackAdapter.setBundle:(Ljava/util/ResourceBundle;)V
12: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
athrow
13: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
instanceof org.graalvm.component.installer.TestBase$FeedbackAdapter
ifeq 15
14: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
checkcast org.graalvm.component.installer.TestBase$FeedbackAdapter
aconst_null
invokevirtual org.graalvm.component.installer.TestBase$FeedbackAdapter.setBundle:(Ljava/util/ResourceBundle;)V
15: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/component/installer/TestBase;
0 16 1 msg Ljava/lang/String;
0 16 2 verboseOutput Z
Exception table:
from to target type
2 9 9 any
MethodParameters:
Name Flags
msg
verboseOutput
public java.lang.RuntimeException failure(java.util.ResourceBundle, java.lang.String, java.lang.Throwable, java.lang.Object[]);
descriptor: (Ljava/util/ResourceBundle;Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
aload 2
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
aload 4
invokestatic java.text.MessageFormat.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
pop
1: new org.graalvm.component.installer.FailedOperationException
dup
aload 2
aload 3
invokespecial org.graalvm.component.installer.FailedOperationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/TestBase;
0 2 1 bundle Ljava/util/ResourceBundle;
0 2 2 key Ljava/lang/String;
0 2 3 t Ljava/lang/Throwable;
0 2 4 params [Ljava/lang/Object;
MethodParameters:
Name Flags
bundle
key
t
params
public void message(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield org.graalvm.component.installer.TestBase.defaultBundle:Ljava/util/ResourceBundle;
aload 1
aload 2
invokevirtual org.graalvm.component.installer.TestBase.message:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/TestBase;
0 2 1 bundleKey Ljava/lang/String;
0 2 2 params [Ljava/lang/Object;
MethodParameters:
Name Flags
bundleKey
params
public void output(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield org.graalvm.component.installer.TestBase.defaultBundle:Ljava/util/ResourceBundle;
aload 1
aload 2
invokevirtual org.graalvm.component.installer.TestBase.output:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/TestBase;
0 2 1 bundleKey Ljava/lang/String;
0 2 2 params [Ljava/lang/Object;
MethodParameters:
Name Flags
bundleKey
params
public boolean backspace(int, boolean);
descriptor: (IZ)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 2
aload 0
getfield org.graalvm.component.installer.TestBase.verbose:Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 7
5: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 3
bipush 8
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 1
if_icmplt 5
end local 4 8: iload 2
ifeq 11
9: aload 0
aconst_null
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.component.installer.TestBase.verbosePart:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
aconst_null
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.component.installer.TestBase.output:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
12: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.verbose:Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/graalvm/component/installer/TestBase;
0 13 1 chars I
0 13 2 beVerbose Z
3 13 3 sb Ljava/lang/StringBuilder;
4 8 4 i I
MethodParameters:
Name Flags
chars
beVerbose
public boolean verbosePart(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Z
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield org.graalvm.component.installer.TestBase.defaultBundle:Ljava/util/ResourceBundle;
aload 1
aload 2
invokevirtual org.graalvm.component.installer.TestBase.verbosePart:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
getfield org.graalvm.component.installer.TestBase.verbose:Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/TestBase;
0 2 1 bundleKey Ljava/lang/String;
0 2 2 params [Ljava/lang/Object;
MethodParameters:
Name Flags
bundleKey
params
public boolean verboseOutput(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Z
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield org.graalvm.component.installer.TestBase.defaultBundle:Ljava/util/ResourceBundle;
aload 1
aload 2
invokevirtual org.graalvm.component.installer.TestBase.verboseOutput:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
getfield org.graalvm.component.installer.TestBase.verbose:Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/TestBase;
0 2 1 bundleKey Ljava/lang/String;
0 2 2 params [Ljava/lang/Object;
MethodParameters:
Name Flags
bundleKey
params
public void error(java.lang.String, java.lang.Throwable, java.lang.Object[]);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
getfield org.graalvm.component.installer.TestBase.defaultBundle:Ljava/util/ResourceBundle;
aload 1
aload 2
aload 3
invokevirtual org.graalvm.component.installer.TestBase.error:(Ljava/util/ResourceBundle;Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/TestBase;
0 2 1 key Ljava/lang/String;
0 2 2 t Ljava/lang/Throwable;
0 2 3 params [Ljava/lang/Object;
MethodParameters:
Name Flags
key
t
params
public java.lang.String l10n(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
getfield org.graalvm.component.installer.TestBase.defaultBundle:Ljava/util/ResourceBundle;
aload 1
aload 2
invokevirtual org.graalvm.component.installer.TestBase.l10n:(Ljava/util/ResourceBundle;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/TestBase;
0 1 1 key Ljava/lang/String;
0 1 2 params [Ljava/lang/Object;
MethodParameters:
Name Flags
key
params
public java.lang.RuntimeException failure(java.lang.String, java.lang.Throwable, java.lang.Object[]);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
getfield org.graalvm.component.installer.TestBase.defaultBundle:Ljava/util/ResourceBundle;
aload 1
aload 2
aload 3
invokevirtual org.graalvm.component.installer.TestBase.failure:(Ljava/util/ResourceBundle;Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/TestBase;
0 1 1 key Ljava/lang/String;
0 1 2 t Ljava/lang/Throwable;
0 1 3 params [Ljava/lang/Object;
MethodParameters:
Name Flags
key
t
params
public <T> org.graalvm.component.installer.Feedback withBundle(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Lorg/graalvm/component/installer/Feedback;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.graalvm.component.installer.TestBase$WB
dup
aload 0
aload 1
invokespecial org.graalvm.component.installer.TestBase$WB.<init>:(Lorg/graalvm/component/installer/TestBase;Ljava/lang/Class;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/TestBase;
0 1 1 clazz Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Lorg/graalvm/component/installer/Feedback;
MethodParameters:
Name Flags
clazz
public boolean isNonInteractive();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/TestBase;
public static boolean isWindows();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.graalvm.component.installer.SystemUtils.isWindows:()Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String acceptLine(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
ifnull 2
1: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
iload 1
invokeinterface org.graalvm.component.installer.Feedback.acceptLine:(Z)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
iload 1
invokevirtual org.graalvm.component.installer.TestBase.doAcceptLine:(Z)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/component/installer/TestBase;
0 3 1 autoYes Z
MethodParameters:
Name Flags
autoYes
java.lang.String doAcceptLine(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
aload 0
getfield org.graalvm.component.installer.TestBase.autoYesEnabled:Z
ifeq 2
1: ldc "<automatic-yes>"
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.userInput:Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.indexOf:(Ljava/lang/String;)I
istore 2
start local 2 3: iload 2
ifge 5
4: aload 0
getfield org.graalvm.component.installer.TestBase.userInput:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.length:()I
istore 2
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.component.installer.TestBase.userInput:Ljava/lang/StringBuilder;
iconst_0
iload 2
invokevirtual java.lang.StringBuilder.substring:(II)Ljava/lang/String;
astore 3
start local 3 6: aload 0
getfield org.graalvm.component.installer.TestBase.userInput:Ljava/lang/StringBuilder;
iconst_0
iload 2
iconst_1
iadd
invokevirtual java.lang.StringBuilder.delete:(II)Ljava/lang/StringBuilder;
pop
7: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/component/installer/TestBase;
0 8 1 autoYes Z
3 8 2 nl I
6 8 3 r Ljava/lang/String;
MethodParameters:
Name Flags
autoYes
public char[] acceptPassword();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
ifnull 2
1: aload 0
getfield org.graalvm.component.installer.TestBase.feedbackDelegate:Lorg/graalvm/component/installer/Feedback;
invokeinterface org.graalvm.component.installer.Feedback.acceptPassword:()[C
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.graalvm.component.installer.TestBase.doAcceptPassword:()[C
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/component/installer/TestBase;
public char[] doAcceptPassword();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.TestBase.password:Ljava/lang/String;
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.graalvm.component.installer.TestBase.password:Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
StackMap locals:
StackMap stack: char[]
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/component/installer/TestBase;
public void addLocalFileCache(java.net.URL, java.nio.file.Path);
descriptor: (Ljava/net/URL;Ljava/nio/file/Path;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/TestBase;
0 1 1 location Ljava/net/URL;
0 1 2 local Ljava/nio/file/Path;
MethodParameters:
Name Flags
location
local
public java.nio.file.Path getLocalCache(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/nio/file/Path;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/TestBase;
0 1 1 location Ljava/net/URL;
MethodParameters:
Name Flags
location
public void disableLicenseAfterTest();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
putstatic org.graalvm.component.installer.SystemUtils.licenseTracking:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/TestBase;
RuntimeVisibleAnnotations:
org.junit.After()
public static void enableLicensesForTesting();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
putstatic org.graalvm.component.installer.SystemUtils.licenseTracking:Z
1: return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "TestBase.java"
NestMembers:
org.graalvm.component.installer.TestBase$1 org.graalvm.component.installer.TestBase$ClassTempFolder org.graalvm.component.installer.TestBase$CopyDir org.graalvm.component.installer.TestBase$FeedbackAdapter org.graalvm.component.installer.TestBase$WB
InnerClasses:
org.graalvm.component.installer.TestBase$1
ClassTempFolder = org.graalvm.component.installer.TestBase$ClassTempFolder of org.graalvm.component.installer.TestBase
public CopyDir = org.graalvm.component.installer.TestBase$CopyDir of org.graalvm.component.installer.TestBase
public FeedbackAdapter = org.graalvm.component.installer.TestBase$FeedbackAdapter of org.graalvm.component.installer.TestBase
WB = org.graalvm.component.installer.TestBase$WB of org.graalvm.component.installer.TestBase