RFR: JDK-8240866 Typo in JDK-8240820 messes up configure --help

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Wed Mar 11 09:54:39 UTC 2020


I unfortunately forget a comma in two places in JDK-8240820, which makes 
the help output incorrect.

Bug: https://bugs.openjdk.java.net/browse/JDK-8240866
Patch inline:
diff --git a/make/autoconf/flags-cflags.m4 b/make/autoconf/flags-cflags.m4
--- a/make/autoconf/flags-cflags.m4
+++ b/make/autoconf/flags-cflags.m4
@@ -141,7 +141,7 @@

    UTIL_ARG_ENABLE(NAME: warnings-as-errors, DEFAULT: 
$WARNINGS_AS_ERRORS_DEFAULT,
        RESULT: WARNINGS_AS_ERRORS,
-      DEFAULT_DESC: [auto]
+      DEFAULT_DESC: [auto],
        DESC: [consider native warnings to be an error])
    AC_SUBST(WARNINGS_AS_ERRORS)

diff --git a/make/autoconf/hotspot.m4 b/make/autoconf/hotspot.m4
--- a/make/autoconf/hotspot.m4
+++ b/make/autoconf/hotspot.m4
@@ -140,7 +140,7 @@

    UTIL_ARG_ENABLE(NAME: hotspot-gtest, DEFAULT: auto,
        RESULT: BUILD_GTEST, AVAILABLE: $GTEST_AVAILABLE,
-      DEFAULT_DESC: [enabled if possible to build]
+      DEFAULT_DESC: [enabled if possible to build],
        DESC: [enable building of the Hotspot unit tests])
    AC_SUBST(BUILD_GTEST)
  ])

/Magnus



More information about the build-dev mailing list