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 "Takanobu Asanuma (JIRA)" <ji...@apache.org> on 2019/01/08 09:06:00 UTC

[jira] [Updated] (HADOOP-15941) [JDK 11] Compilation failure: package com.sun.jndi.ldap is not visible

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

Takanobu Asanuma updated HADOOP-15941:
--------------------------------------
    Attachment: HADOOP-15741.2.patch

> [JDK 11] Compilation failure: package com.sun.jndi.ldap is not visible
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-15941
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15941
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: common
>    Affects Versions: 3.3.0
>            Reporter: Uma Maheswara Rao G
>            Assignee: Takanobu Asanuma
>            Priority: Major
>         Attachments: HADOOP-15741.2.patch, HADOOP-15941.1.patch
>
>
> With JDK 11: Compilation failed because package com.sun.jndi.ldap is not visible.
>  
> {noformat}
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project hadoop-common: Compilation failure
> /C:/Users/umgangum/Work/hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/LdapGroupsMapping.java:[545,23] package com.sun.jndi.ldap is not visible
>  (package com.sun.jndi.ldap is declared in module java.naming, which does not export it){noformat}
>  
>  



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

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