8168369: fix for langtools intermittent failures needs to check PRODUCT_HOME
authortbell
Tue, 25 Oct 2016 08:39:12 -0700
changeset 41853 1b8722f62d87
parent 41852 448273b190ad
child 41854 12089a7805af
8168369: fix for langtools intermittent failures needs to check PRODUCT_HOME Reviewed-by: erikj
langtools/test/Makefile
--- a/langtools/test/Makefile	Mon Oct 24 19:59:35 2016 -0700
+++ b/langtools/test/Makefile	Tue Oct 25 08:39:12 2016 -0700
@@ -253,7 +253,7 @@
 
 # Is the test JVM 32-bit?
 DATA_MODEL := \
-	$(shell $(JT_JAVA)/bin/java -XshowSettings:properties -version 2>&1 | \
+	$(shell $(TESTJAVA)/bin/java -XshowSettings:properties -version 2>&1 | \
 		grep 'sun\.arch\.data\.model' | \
 		awk '{print $$3}')
 ifeq ($(DATA_MODEL), 32)