[
https://issues.apache.org/jira/browse/HADOOP-11993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971340#comment-14971340
]
Tsuyoshi Ozawa commented on HADOOP-11993:
-----------------------------------------
As far as I know, following libraries should be upgraded to support JDK8:
* Google Guice -> 4.0
* asm -> 5.0.4 (5.0.0 is first version to support JDK8, and 5.0.1 includes bug
fixes about JDK7: Incorrect StackMapFrame calculations for large > 32k methods
in Java 7.)
* Jersey -> 1.19 or jumping to more recent version (e.g. 2.22.1)
I also confirmed that these libraries are targeting JDK 1.6, so they are binary
compatible with JDK 7.
> maven enforcer plugin to ban java 8 incompatible dependencies
> -------------------------------------------------------------
>
> Key: HADOOP-11993
> URL: https://issues.apache.org/jira/browse/HADOOP-11993
> Project: Hadoop Common
> Issue Type: Sub-task
> Affects Versions: 2.7.0
> Reporter: Steve Loughran
> Priority: Minor
>
> It's possible to use maven-enforcer to ban dependencies; this can be used to
> reject those known to be incompatible with Java 8
> [example|https://gist.github.com/HiJon89/65e34552c18e5ac9fd31]
> If we set maven enforcer to do this checking, it can ensure that the 2.7+
> codebase isn't pulling in any incompatible binaries.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)