diff test/compiler/6700047/Test6700047.java @ 401:ee8f06bfb27c

6743188: incomplete fix for 6700047 C2 failed in idom_no_update Reviewed-by: rasbold, kvn
author never
date Fri, 03 Oct 2008 13:58:20 -0700
parents 020a0b730379
children c18cbe5936b8
line wrap: on
line diff
--- a/test/compiler/6700047/Test6700047.java	Thu Oct 02 08:37:44 2008 -0700
+++ b/test/compiler/6700047/Test6700047.java	Fri Oct 03 13:58:20 2008 -0700
@@ -29,6 +29,8 @@
  */
 
 public class Test6700047 {
+    static byte[] dummy = new byte[256];
+
     public static void main(String[] args) {
         for (int i = 0; i < 100000; i++) {
             intToLeftPaddedAsciiBytes();
@@ -53,6 +55,7 @@
         if (offset > 0) {
             for(int j = 0; j < offset; j++) {
                 result++;
+                dummy[i] = 0;
             }
         }
         return result;