Skip to content

Commit e3791ec

Browse files
committed
8287491: compiler/jvmci/errors/TestInvalidDebugInfo.java fails new assert: assert((uint)t < T_CONFLICT + 1) failed: invalid type #
Reviewed-by: kvn, dnsimon
1 parent f8eb7a8 commit e3791ec

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

test/hotspot/jtreg/ProblemList.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
compiler/ciReplay/TestSAServer.java 8029528 generic-all
4747
compiler/compilercontrol/jcmd/ClearDirectivesFileStackTest.java 8225370 generic-all
4848
compiler/jvmci/compilerToVM/GetFlagValueTest.java 8204459 generic-all
49-
compiler/jvmci/errors/TestInvalidDebugInfo.java 8287491 generic-all
5049
compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/NativeCallTest.java 8262901 macosx-aarch64
5150
compiler/tiered/LevelTransitionTest.java 8067651 generic-all
5251

test/hotspot/jtreg/compiler/jvmci/errors/TestInvalidDebugInfo.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -153,20 +153,20 @@ public void testUnexpectedIllegalValue() {
153153
@Test(expected = JVMCIError.class)
154154
public void testUnexpectedTypeInCPURegister() {
155155
Register reg = getRegister(arch.getPlatformKind(JavaKind.Int), 0);
156-
test(new JavaValue[]{reg.asValue()}, new JavaKind[]{JavaKind.Illegal}, 1, 0, 0);
156+
test(new JavaValue[]{reg.asValue()}, new JavaKind[]{JavaKind.Void}, 1, 0, 0);
157157
}
158158

159159
@Test(expected = JVMCIError.class)
160160
public void testUnexpectedTypeInFloatRegister() {
161161
Register reg = getRegister(arch.getPlatformKind(JavaKind.Float), 0);
162-
test(new JavaValue[]{reg.asValue()}, new JavaKind[]{JavaKind.Illegal}, 1, 0, 0);
162+
test(new JavaValue[]{reg.asValue()}, new JavaKind[]{JavaKind.Void}, 1, 0, 0);
163163
}
164164

165165
@Test(expected = JVMCIError.class)
166166
public void testUnexpectedTypeOnStack() {
167167
ValueKind<?> kind = new TestValueKind(codeCache.getTarget().arch, JavaKind.Int);
168168
StackSlot value = StackSlot.get(kind, 8, false);
169-
test(new JavaValue[]{value}, new JavaKind[]{JavaKind.Illegal}, 1, 0, 0);
169+
test(new JavaValue[]{value}, new JavaKind[]{JavaKind.Void}, 1, 0, 0);
170170
}
171171

172172
@Test(expected = JVMCIError.class)

0 commit comments

Comments
 (0)