jdk/test/Makefile
changeset 36741 aaf41d8104ce
parent 36511 9d0388c6b336
child 37356 6e2cd4a6bc18
--- a/jdk/test/Makefile	Wed Mar 30 12:47:54 2016 -0400
+++ b/jdk/test/Makefile	Wed Mar 30 19:56:34 2016 +0100
@@ -302,6 +302,8 @@
 # Set the max memory for jtreg control vm
 JTREG_MEMORY_OPTION = -J-Xmx512m
 JTREG_BASIC_OPTIONS += $(JTREG_MEMORY_OPTION)
+# Give tests access to JT_JAVA, see JDK-8141609
+JTREG_BASIC_OPTIONS += -e:JDK8_HOME=${JT_JAVA}
 # Add any extra options
 JTREG_BASIC_OPTIONS += $(EXTRA_JTREG_OPTIONS)
 # Set other vm and test options