Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11608

hadoop-annotations build fails on JDK9 (lacking tools.jar)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.6.0
    • None
    • build
    • Any environment running JDK9

    Description

      The os.linux profile on hadoop-common-project/hadoop-annotations is activate even when running JDK9 but due to project Jigsaw the file tools.jar has been removed (excerpt below):

      "The internal files rt.jar, tools.jar, and dt.jar have been removed. The content of these files is now stored in a more efficient format in implementation-private files in the lib directory. Class and resource files previously in tools.jar and dt.jar are now always visible via the bootstrap or application class loaders in a JDK image."

      Unfortunately only Maven 3.2.2+ can properly support multiple AND activation conditions, previous versions deals with multiple condition as an OR rule.

      Attachments

        1. hadoop-annotations-jdk9.patch
          0.3 kB
          Tiago Stürmer Daitx

        Issue Links

          Activity

            People

              boky01 Andras Bokor
              tdaitx Tiago Stürmer Daitx
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: