changeset 13256:9f7e8e4f8cc9

8130246: java/util/Currency/PropertiesTest.sh fails Exception java.lang.NullPointerException Summary: Updated PropertiesTest.sh to be sequential Reviewed-by: naoto
author rgoel
date Thu, 03 Dec 2015 14:01:33 +0530
parents 4d010a9bd0d9
children 5543226e24d2
files test/java/util/Currency/PropertiesTest.sh
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/util/Currency/PropertiesTest.sh	Thu Dec 03 15:36:20 2015 +0100
+++ b/test/java/util/Currency/PropertiesTest.sh	Thu Dec 03 14:01:33 2015 +0530
@@ -23,7 +23,7 @@
 #
 
 # @test
-# @bug 6332666 6863624 7180362 8003846 8074350 8074351
+# @bug 6332666 6863624 7180362 8003846 8074350 8074351 8130246
 # @summary tests the capability of replacing the currency data with user
 #     specified currency properties file
 # @build PropertiesTest
@@ -75,7 +75,7 @@
 
 run() {
     echo ''
-    sh -xc "${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} -cp ${TESTCLASSES} $*" 2>&1
+    ${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} -cp ${TESTCLASSES} $* 2>&1
     if [ $? != 0 ]; then failures=`expr $failures + 1`; fi
 }
 
@@ -108,7 +108,7 @@
 
 # run
 echo ''
-sh -xc "${WRITABLEJDK}${FS}bin${FS}java ${TESTVMOPTS} -cp ${TESTCLASSES} PropertiesTest -d dump3"
+${WRITABLEJDK}${FS}bin${FS}java ${TESTVMOPTS} -cp ${TESTCLASSES} PropertiesTest -d dump3
 if [ $? != 0 ]; then failures=`expr $failures + 1`; fi
 
 # Cleanup