diff test/runtime/7116786/Test7116786.java @ 18100:c77d5db18942 jdk8u25-b14

8046233: VerifyError on backward branch Summary: Remove check that causes the VerifyError Reviewed-by: dholmes, coleenp, acorn
author hseigel
date Fri, 22 Aug 2014 14:11:46 -0700
parents aa758f0c5b1c
children
line wrap: on
line diff
--- a/test/runtime/7116786/Test7116786.java	Tue Aug 12 20:29:25 2014 -0400
+++ b/test/runtime/7116786/Test7116786.java	Fri Aug 22 14:11:46 2014 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -147,7 +147,8 @@
                  "no stackmap frame at jump location or bad jump",
                  "Inconsistent stackmap frames at branch target "),
 
-        new Case("case15", "stackMapTable.cpp", true, "check_new_object",
+        /* Backward jump with uninit is allowed starting with JDK 8 */
+        new Case("case15", "stackMapTable.cpp", false, "check_new_object",
                  "backward jump with uninit",
                  "Uninitialized object exists on backward branch "),