--- old/test/com/sun/management/HotSpotDiagnosticMXBean/DumpHeap.sh 2014-01-26 11:36:35.448797924 +0800 +++ new/test/com/sun/management/HotSpotDiagnosticMXBean/DumpHeap.sh 2014-01-26 11:36:35.304797926 +0800 @@ -46,7 +46,7 @@ # we use the pid of this shell process to name the heap dump output file. DUMPFILE="java_pid$$.hprof" -${TESTJAVA}/bin/java ${TESTVMOPTS} -classpath $TESTCLASSES \ +${TESTJAVA}/bin/java ${TESTVMOPTS} ${TESTJAVAOPTS} -classpath $TESTCLASSES \ DumpHeap ${DUMPFILE} || exit 2 # check that heap dump is parsable