--- a/jdk/make/common/shared/Sanity.gmk Wed Sep 10 09:48:41 2008 -0700
+++ b/jdk/make/common/shared/Sanity.gmk Wed Sep 10 10:16:54 2008 -0700
@@ -107,11 +107,7 @@
BOOT_VER :=$(call GetVersion,"$(_BOOT_VER)")
REQUIRED_ANT_VER := 1.6.3
-ifeq ($(ANT_HOME),)
- _ANT_VER:=$(shell JAVACMD="$(BOOTDIR)/bin/java" $(ANT) -version 2>&1 )
-else
- _ANT_VER:=$(shell JAVACMD="$(BOOTDIR)/bin/java" ANT_HOME="$(ANT_HOME)" $(ANT) -version 2>&1 )
-endif
+_ANT_VER:=$(shell $(ANT) -version 2>&1 )
ANT_VER:=$(call GetVersion,"$(_ANT_VER)")
ifdef ALT_BINDIR