-
Bug
-
Resolution: Fixed
-
P4
-
10
-
None
-
b25
-
generic
-
generic
When configuring with --with-jtreg=<path>, the provided path doesn't appear to be expanded. Thus, my use of --with-jtreg=~/devtools/jtreg fails and reports "~/devtools/jtreg" doesn't exist. This worked until fairly recently; I think JDK-8180281 may be the culprit.
This patch solves this problem. I don't understand this code well enough to be certain this is the right fix though.
diff -r cd0e3375fb5d common/autoconf/toolchain.m4
--- a/common/autoconf/toolchain.m4 Tue May 23 22:23:36 2017 -0400
+++ b/common/autoconf/toolchain.m4 Tue May 23 22:33:31 2017 -0400
@@ -934,6 +934,7 @@
AC_MSG_RESULT([no, disabled])
elif test "x$with_jtreg" != xyes && test "x$with_jtreg" != x; then
# An explicit path is specified, use it.
+ BASIC_FIXUP_PATH([with_jtreg])
JT_HOME="$with_jtreg"
if test ! -d "$JT_HOME"; then
AC_MSG_ERROR([jtreg home directory from --with-jtreg=$with_jtreg does not exist])
This patch solves this problem. I don't understand this code well enough to be certain this is the right fix though.
diff -r cd0e3375fb5d common/autoconf/toolchain.m4
--- a/common/autoconf/toolchain.m4 Tue May 23 22:23:36 2017 -0400
+++ b/common/autoconf/toolchain.m4 Tue May 23 22:33:31 2017 -0400
@@ -934,6 +934,7 @@
AC_MSG_RESULT([no, disabled])
elif test "x$with_jtreg" != xyes && test "x$with_jtreg" != x; then
# An explicit path is specified, use it.
+ BASIC_FIXUP_PATH([with_jtreg])
JT_HOME="$with_jtreg"
if test ! -d "$JT_HOME"; then
AC_MSG_ERROR([jtreg home directory from --with-jtreg=$with_jtreg does not exist])
- relates to
-
JDK-8180281 --with-jtreg is broken for many use cases
-
- Resolved
-