Skip to content

Commit d3afc85

Browse files
committed
8381662: New test compiler/exceptions/TestDebugDuringExceptionCatching.java failing with C1-only
Reviewed-by: kvn, mhaessig
1 parent 67a7124 commit d3afc85

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

test/hotspot/jtreg/compiler/exceptions/TestDebugDuringExceptionCatching.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
*/
2323
package compiler.exceptions;
2424

25+
import compiler.lib.ir_framework.CompLevel;
2526
import compiler.lib.ir_framework.Run;
2627
import compiler.lib.ir_framework.Test;
2728
import compiler.lib.ir_framework.TestFramework;
@@ -38,7 +39,7 @@
3839
/**
3940
* @test
4041
* @bug 8350208
41-
* @summary Safepoints added during the processing of exception handlers should never reexecute
42+
* @summary Safepoints added during the processing of exception handlers need correct stack state
4243
* @library /test/lib /test/jdk/java/lang/invoke/common /
4344
* @build test.java.lang.invoke.lib.InstructionHelper
4445
*
@@ -110,7 +111,7 @@ public static class V {
110111
});
111112
}
112113

113-
@Test
114+
@Test(compLevel = CompLevel.C2) // see JDK-8381786
114115
private static int testBackwardHandler(V v) throws Throwable {
115116
return (int) SNIPPET_HANDLE.invokeExact(v);
116117
}

0 commit comments

Comments
 (0)