JDK-6723762 : Fix shell command that gets java version (uses 2>1)
  • Type: Bug
  • Status: Closed
  • Resolution: Fixed
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Affected Version: 7
  • OS: generic
  • CPU: generic
  • Submit Date: 2008-07-08
  • Updated Date: 2012-10-08
  • Resolved Date: 2008-07-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u14Fixed 7Fixed
Description
Minor fix in make/linux/makefiles/buildtree.make
         echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>1 > /dev/null"; \
should be
         echo "if ! \$${JAVA_HOME}/bin/java $(JAVA_FLAG) -fullversion 2>&1 > /dev/null"; \
(s/2>1/2>&1/), so we send stderr to stdout instead of creating a file named "1".  Sorry for missing that last time.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot/hotspot/rev/17c572e2697c
2008-07-09

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-svc/hotspot/rev/17c572e2697c
2008-07-09

EVALUATION Add & character.
2008-07-08