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

--with-build-jdk and --with-boot-jdk not working with JDK 10

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 10
    • 10
    • infrastructure
    • None
    • b25

    Description

      configure for jdk10 is giving me the following error:

      configure: Found potential Build JDK using configure arguments
      configure: Potential Build JDK found at /local/ws/jdk10/hs6/build/linux-x64/images/jdk is incorrect JDK version (java version "10-internal"); ignoring
      configure: (Your Build JDK must be version 9)

      Note I was able to configure and build linux-x64 (without using --with-build-jdk), but for linux-x64-debug I'm adding the following:

        --with-build-jdk=`pwd`/build/linux-x64/images/jdk

      Seems the following code should be updated to 10:

              [FOUND_CORRECT_VERSION=`echo $BUILD_JDK_VERSION | $EGREP '\"9([\.+-].*)?\"'`]
              if test "x$FOUND_CORRECT_VERSION" = x; then
                AC_MSG_NOTICE([Potential Build JDK found at $BUILD_JDK is incorrect JDK version ($BUILD_JDK_VERSION); ignoring])
                AC_MSG_NOTICE([(Your Build JDK must be version 9)])
                BUILD_JDK_FOUND=no
              else

      Attachments

        Issue Links

          Activity

            People

              ihse Magnus Ihse Bursie
              cjplummer Chris Plummer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: