Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8240947

Change conflicting JVM features from warning to error

XMLWordPrintable

    • b15

      If configure is given a conflicting configure line, e.g. --disable-jvm-feature-serialgc --with-jvm-features=serialgc , it will print a warning and let the disable override the enable.

      This turned out to be not enough to catch incorrect configurations. Instead, configure should consider this an error, and ask the user to make up their mind.

      Note that this only can happen if you mix the old-style --with-jvm-features=[-]* with the new-style --enable/disable-jvm-feature-*. Autoconf will let later --enable/disable flags override previous enable/disable, and likewise with --with flags.

            ihse Magnus Ihse Bursie
            ihse Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: