Request for review 7053586 in hs23 - Testcase modification

Abhijit Saha Abhi.Saha at Oracle.COM
Fri Sep 23 15:05:15 PDT 2011


7053586: TEST: runtime/7020373/Test7020373.sh fails on 64-bit platforms

Linux and Win 64bit platform shows some different output and the test 
pass/fail check need to be updated based on that. 32 bit is working okay.

Changes :

$ hg diff ./test/runtime/7020373/Test7020373.sh
diff --git a/test/runtime/7020373/Test7020373.sh 
b/test/runtime/7020373/Test7020373.sh
--- a/test/runtime/7020373/Test7020373.sh
+++ b/test/runtime/7020373/Test7020373.sh
@@ -2,10 +2,9 @@

  ##
  ## @test
-## @bug 7020373 7055247
+## @bug 7020373 7055247 7053586
  ## @key cte_test
  ## @summary JSR rewriting can overflow memory address size variables
-## @ignore Ignore it until 7053586 fixed
  ## @run shell Test7020373.sh
  ##

@@ -74,7 +73,7 @@ then
      echo "Test Failed"
      exit 1
  else
-    grep "java.lang.LinkageError" test.out
+    egrep "java.lang.LinkageError|java.lang.NoSuchMethodError|Main 
method not found in class OOMCrashClass4000_1|insufficient memory" test.out
      if [ $? = 0 ]
      then
          echo "Test Passed"


Thanks
Abhijit

-- 
Release Lead, Java SE Updates
Java Development Group
Oracle Corporation.
(408)276-7564



More information about the hotspot-runtime-dev mailing list