6695777: Queens.class should be built from source, not put in source repo
authorohair
Thu, 03 Jul 2008 10:46:50 -0700
changeset 778 574c011e95e3
parent 777 c63133add9db
child 780 cbe15531645c
6695777: Queens.class should be built from source, not put in source repo Reviewed-by: kvn
hotspot/make/linux/Queens.class
hotspot/make/linux/makefiles/buildtree.make
hotspot/make/solaris/Queens.class
hotspot/make/solaris/makefiles/buildtree.make
Binary file hotspot/make/linux/Queens.class has changed
--- a/hotspot/make/linux/makefiles/buildtree.make	Wed Jul 02 15:38:47 2008 -0400
+++ b/hotspot/make/linux/makefiles/buildtree.make	Thu Jul 03 10:46:50 2008 -0700
@@ -328,7 +328,7 @@
 WRONG_DATA_MODE_MSG = \
 	echo "JAVA_HOME must point to $(DATA_MODE)bit JDK."
 
-test_gamma:  $(BUILDTREE_MAKE)
+test_gamma:  $(BUILDTREE_MAKE) $(GAMMADIR)/make/test/Queens.java
 	@echo Creating $@ ...
 	$(QUIETLY) ( \
 	echo '#!/bin/sh'; \
@@ -339,7 +339,8 @@
 	echo "then"; \
 	echo "  $(WRONG_DATA_MODE_MSG); exit 0;"; \
 	echo "fi"; \
-	echo 'CLASSPATH="$(GAMMADIR)/make/$(OS_FAMILY):$$CLASSPATH"'; \
+	echo "rm -f Queens.class"; \
+	echo "\$${JAVA_HOME}/bin/javac -d . $(GAMMADIR)/make/test/Queens.java"; \
 	echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \
 	echo './$${gamma:-gamma} $(TESTFLAGS) Queens < /dev/null'; \
 	) > $@
Binary file hotspot/make/solaris/Queens.class has changed
--- a/hotspot/make/solaris/makefiles/buildtree.make	Wed Jul 02 15:38:47 2008 -0400
+++ b/hotspot/make/solaris/makefiles/buildtree.make	Thu Jul 03 10:46:50 2008 -0700
@@ -340,7 +340,7 @@
 WRONG_DATA_MODE_MSG = \
 	echo "JAVA_HOME must point to $(DATA_MODE)bit JDK."
 
-test_gamma:  $(BUILDTREE_MAKE)
+test_gamma:  $(BUILDTREE_MAKE) $(GAMMADIR)/make/test/Queens.java
 	@echo Creating $@ ...
 	$(QUIETLY) ( \
 	echo '#!/bin/ksh'; \
@@ -351,7 +351,8 @@
 	echo "then"; \
 	echo "  $(WRONG_DATA_MODE_MSG); exit 0;"; \
 	echo "fi"; \
-	echo 'CLASSPATH="$(GAMMADIR)/make/$(OS_FAMILY):$$CLASSPATH"'; \
+	echo "rm -f Queens.class"; \
+	echo "\$${JAVA_HOME}/bin/javac -d . $(GAMMADIR)/make/test/Queens.java"; \
 	echo '[ -f gamma_g ] && { gamma=gamma_g; }'; \
 	echo './$${gamma:-gamma} $(TESTFLAGS) Queens < /dev/null'; \
 	) > $@