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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: build
    • Environment:

      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: