RFR: JDK-8031709: Configure --with-jvm-variants=client, server, x produces default outputdir containing comma

Erik Joelsson erik.joelsson at oracle.com
Tue Jan 14 14:08:27 UTC 2014

Running configure with more than 2 jvm variants causes the default 
outputdir to contain a comma, which in turn breaks the build in corba. 
The fix is simple and posted inline:

diff -r d33e5e1a26e2 common/autoconf/jdk-options.m4
--- a/common/autoconf/jdk-options.m4
+++ b/common/autoconf/jdk-options.m4
@@ -105,7 +105,7 @@

    # Replace the commas with AND for use in the build directory name.
's/,$//' -e 's/,/AND/'`
's/,$//' -e 's/,/AND/g'`
    COUNT_VARIANTS=`$ECHO "$JVM_VARIANTS" | $SED -e 's/server,/1/' -e 
's/client,/1/' -e 's/minimal1,/1/' -e 's/kernel,/1/' -e 's/zero,/1/' -e 
    if test "x$COUNT_VARIANTS" != "x,1"; then


More information about the build-dev mailing list