[ 
https://issues.apache.org/jira/browse/HADOOP-16299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16836108#comment-16836108
 ] 

Hudson commented on HADOOP-16299:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #16528 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/16528/])
HADOOP-16299. [JDK 11] Build fails without specifying -Djavac.version=11 
(tasanuma: rev f257497b0f964c171961be4ad527983f24f9be31)
* (edit) hadoop-project/pom.xml
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/LdapGroupsMapping.java
* (edit) 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestLdapGroupsMappingBase.java


> [JDK 11] Build fails without specifying -Djavac.version=11
> ----------------------------------------------------------
>
>                 Key: HADOOP-16299
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16299
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>            Priority: Major
>             Fix For: 3.3.0
>
>         Attachments: HADOOP-16299.001.patch, HADOOP-16299.002.patch
>
>
> {{mvn install -DskipTests}} fails on Java 11 without specifying 
> {{-Djavac.version=11}}.
> {noformat}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) 
> on project hadoop-annotations: Fatal error compiling: error: option 
> --add-exports not allowed with target 1.8 -> [Help 1]
> {noformat}
> HADOOP-15941 added {{--add-exports}} option when the java version is 11 but 
> the option is not allowed when the javac target version is 1.8.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to