diff --git a/test/java/util/Calendar/GenericTimeZoneNamesTest.sh b/test/java/util/Calendar/GenericTimeZoneNamesTest.sh index a5491891bbb2dd6ff5903a79617da3e76c57bc06..ab3f4981c91b37c06156b74938cd5cf790f40012 100644 --- a/test/java/util/Calendar/GenericTimeZoneNamesTest.sh +++ b/test/java/util/Calendar/GenericTimeZoneNamesTest.sh @@ -35,12 +35,12 @@ echo "Locale providers: default" # TODO: The purpose of ja-JP is to make sure the fallback for generic # names works. Remove ja-JP when adding generic names to localized # resources. -if ! ${TESTJAVA}/bin/java -esa -cp "${TESTCLASSES}" GenericTimeZoneNamesTest en-US ja-JP; then +if ! ${TESTJAVA}/bin/java -esa ${TESTVMOPTS} -cp "${TESTCLASSES}" GenericTimeZoneNamesTest en-US ja-JP; then STATUS=1 fi echo "Locale providers: CLDR" -if ! ${TESTJAVA}/bin/java -esa -cp "${TESTCLASSES}" -Djava.locale.providers=CLDR GenericTimeZoneNamesTest en-US; then +if ! ${TESTJAVA}/bin/java -esa ${TESTVMOPTS} -cp "${TESTCLASSES}" -Djava.locale.providers=CLDR GenericTimeZoneNamesTest en-US; then STATUS=1 fi exit ${STATUS} diff --git a/test/java/util/Calendar/NarrowNamesTest.sh b/test/java/util/Calendar/NarrowNamesTest.sh index 742e35ac29172555424f6fa45278d73637f4557e..15d1d70097a9c0ecda40f8586288131717055bb7 100644 --- a/test/java/util/Calendar/NarrowNamesTest.sh +++ b/test/java/util/Calendar/NarrowNamesTest.sh @@ -34,7 +34,7 @@ STATUS=0 for P in "JRE,SPI" "CLDR" do echo "Locale providers: $P" - if ! ${TESTJAVA}/bin/java -esa -cp "${TESTCLASSES}" -Djava.locale.providers="${P}" NarrowNamesTest; then + if ! ${TESTJAVA}/bin/java -esa ${TESTVMOPTS} -cp "${TESTCLASSES}" -Djava.locale.providers="${P}" NarrowNamesTest; then STATUS=1 fi done