You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Andras Bokor (JIRA)" <ji...@apache.org> on 2017/06/29 11:39:00 UTC

[jira] [Resolved] (HADOOP-11608) hadoop-annotations build fails on JDK9 (lacking tools.jar)

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

Andras Bokor resolved HADOOP-11608.
-----------------------------------
    Resolution: Duplicate

> 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
>            Assignee: Andras Bokor
>            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.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org