--- a/hotspot/make/linux/makefiles/buildtree.make Wed Jul 02 15:38:47 2008 -0400
+++ b/hotspot/make/linux/makefiles/buildtree.make Tue Jul 08 15:23:04 2008 -0700
@@ -335,7 +335,7 @@
$(BUILDTREE_COMMENT); \
echo '. ./env.sh'; \
echo "if [ -z \$$JAVA_HOME ]; then { $(NO_JAVA_HOME_MSG); exit 0; }; fi"; \
- echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>1 > /dev/null"; \
+ echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>&1 > /dev/null"; \
echo "then"; \
echo " $(WRONG_DATA_MODE_MSG); exit 0;"; \
echo "fi"; \