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

Reconfigure check should include make/conf/version-numbers.conf

XMLWordPrintable

    • b02

        When we bump the major JDK version, incremental builds break with errors like:

        java.lang.UnsupportedClassVersionError: java/lang/invoke/LambdaForm$DMH has been compiled by a more recent version of the Java Runtime (class file version 66.0), this version of the Java Runtime only recognizes class file versions up to 65.0

        This is rectified by rerunning configure. Init.gmk has a check to protect the user against such errors, but it currently only checks for changes in make/autoconf/*. We should add the relevant files in make/conf/*.conf to this list of dependencies. I believe the relevant files are version-numbers.conf and branding.conf based on which files are referenced from any .m4 files.

              erikj Erik Joelsson
              erikj Erik Joelsson
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: