hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tiago Stürmer Daitx (JIRA) <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11608) hadoop-annotations build fails on JDK9 (lacking tools.jar)
Date Wed, 18 Feb 2015 00:01:11 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tiago Stürmer Daitx updated HADOOP-11608:
-----------------------------------------
    Attachment: hadoop-annotations-jdk9.patch

Only works on Maven 3.2.2+ due to [MNG-4565|http://jira.codehaus.org/browse/MNG-4565]

> hadoop-annotations build fails on JDK9 (lacking tools.jar)
> ----------------------------------------------------------
>
>                 Key: HADOOP-11608
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11608
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.6.0
>         Environment: Any environment running JDK9
>            Reporter: Tiago Stürmer Daitx
>            Priority: Minor
>              Labels: build-failure, jdk9, openjdk, pom.xml
>         Attachments: hadoop-annotations-jdk9.patch
>
>
> 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|http://mreinhold.org/blog/jigsaw-modular-images]
(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|http://jira.codehaus.org/browse/MNG-4565],
previous versions deals with multiple condition as an OR rule.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message