8130246: java/util/Currency/PropertiesTest.sh fails Exception java.lang.NullPointerException
authorrgoel
Thu, 03 Dec 2015 14:01:33 +0530
changeset 34431 0b471e6f3fce
parent 34430 8e29bd2b5e0e
child 34432 958d65712d3e
8130246: java/util/Currency/PropertiesTest.sh fails Exception java.lang.NullPointerException Summary: Updated PropertiesTest.sh to be sequential Reviewed-by: naoto
jdk/test/java/util/Currency/PropertiesTest.sh
--- a/jdk/test/java/util/Currency/PropertiesTest.sh	Thu Dec 03 15:36:20 2015 +0100
+++ b/jdk/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