public class org.graalvm.compiler.hotspot.test.HsErrLogTest extends org.graalvm.compiler.core.test.GraalCompilerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.test.HsErrLogTest
super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
private static final boolean VERBOSE;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.StringBuilder
dup
ldc Lorg/graalvm/compiler/hotspot/test/HsErrLogTest;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".verbose"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
putstatic org.graalvm.compiler.hotspot.test.HsErrLogTest.VERBOSE:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/HsErrLogTest;
public void test1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/test/HsErrLogTest;
Exceptions:
throws java.io.IOException, java.lang.InterruptedException
RuntimeInvisibleAnnotations:
Test()
private static void testHelper(java.util.List<java.lang.String>, java.lang.String[]);
descriptor: (Ljava/util/List;[Ljava/lang/String;)V
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tAssert cannot be resolved\n\tAssert cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException, java.lang.InterruptedException
Signature: (Ljava/util/List<Ljava/lang/String;>;[Ljava/lang/String;)V
MethodParameters:
Name Flags
extraVmArgs
mainClassAndArgs
private static void checkHsErr(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new java.io.BufferedReader
dup
new java.io.FileReader
dup
aload 0
invokespecial java.io.FileReader.<init>:(Ljava/io/File;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 3
start local 3 2: aload 3
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 4
start local 4 3: new java.lang.StringBuilder
dup
ldc Lorg/graalvm/compiler/hotspot/test/Crasher;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".tryCrash(JI)I"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 5: goto 13
6: StackMap locals: java.io.File java.lang.Throwable java.lang.Throwable java.io.BufferedReader java.lang.String java.lang.String java.util.List
StackMap stack:
aload 4
aload 5
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 11
7: getstatic org.graalvm.compiler.hotspot.test.HsErrLogTest.VERBOSE:Z
ifne 9
8: aload 0
invokevirtual java.io.File.delete:()Z
pop
9: StackMap locals:
StackMap stack:
aload 3
ifnull 10
aload 3
invokevirtual java.io.BufferedReader.close:()V
10: StackMap locals:
StackMap stack:
return
11: StackMap locals:
StackMap stack:
aload 6
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: aload 3
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 4
13: StackMap locals:
StackMap stack:
aload 4
ifnonnull 6
14: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Could not find line containing \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" in "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
15: ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
aload 6
invokestatic java.lang.String.join:(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 6 end local 5 end local 4 StackMap locals: java.io.File java.lang.Throwable java.lang.Throwable java.io.BufferedReader
StackMap stack: java.lang.Throwable
17: astore 1
18: aload 3
ifnull 19
aload 3
invokevirtual java.io.BufferedReader.close:()V
end local 3 StackMap locals:
StackMap stack:
19: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
20: astore 2
aload 1
ifnonnull 21
aload 2
astore 1
goto 22
StackMap locals:
StackMap stack:
21: aload 1
aload 2
if_acmpeq 22
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
22: aload 1
athrow
StackMap locals: java.io.File
StackMap stack: java.io.IOException
23: astore 1
start local 1 24: new java.lang.AssertionError
dup
aload 1
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 hsErrPath Ljava/io/File;
2 19 3 br Ljava/io/BufferedReader;
3 17 4 line Ljava/lang/String;
4 17 5 sig Ljava/lang/String;
5 17 6 lines Ljava/util/List<Ljava/lang/String;>;
24 25 1 e Ljava/io/IOException;
Exception table:
from to target type
2 9 17 any
11 17 17 any
1 10 20 any
11 20 20 any
0 10 23 Class java.io.IOException
11 23 23 Class java.io.IOException
MethodParameters:
Name Flags
hsErrPath
}
SourceFile: "HsErrLogTest.java"