RFR: 8221907: make reconfigure broken with "build/jmh/jars does not exist or is not a directory"

Jie Fu fujie at loongson.cn
Wed Apr 3 12:28:48 UTC 2019


Hi all,

JBS: https://bugs.openjdk.java.net/browse/JDK-8221907

For more info (e.g. the symptom & how to reproduce), please see the JBS.

It can be fixed by
-----------------------------------------
diff -r 3326be37cd9a make/autoconf/lib-tests.m4
--- a/make/autoconf/lib-tests.m4        Tue Apr 02 17:27:48 2019 -0700
+++ b/make/autoconf/lib-tests.m4        Wed Apr 03 19:56:24 2019 +0800
@@ -73,6 +73,10 @@
    else
      # Path specified
      JMH_HOME="$with_jmh"
+    if test "x${JMH_HOME:0:1}" != x/; then
+      JMH_HOME="$TOPDIR/$JMH_HOME"
+    fi
+
      if test ! -d [$JMH_HOME]; then
        AC_MSG_RESULT([no, error])
        AC_MSG_ERROR([$JMH_HOME does not exist or is not a directory])
-----------------------------------------

Could you please review it?
Thanks a lot.

Best regards,
Jie





More information about the build-dev mailing list