提交 979a482a 编写于 作者: K kshefov

8130006: java/lang/invoke/MethodHandles/CatchExceptionTest Fails

Reviewed-by: psandoz
上级 38a228d1
......@@ -168,6 +168,11 @@ public class CatchExceptionTest {
try {
returned = target.invokeWithArguments(args);
} catch (Throwable ex) {
if (CodeCacheOverflowProcessor.isThrowableCausedByVME(ex)) {
// This error will be treated by CodeCacheOverflowProcessor
// to prevent the test from failing because of code cache overflow.
throw new Error(ex);
}
testCase.assertCatch(ex);
returned = ex;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册