[
https://issues.apache.org/jira/browse/HADOOP-15941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16723713#comment-16723713
]
Takanobu Asanuma commented on HADOOP-15941:
-------------------------------------------
I've seen the following javadoc error since HADOOP-15950. I confirmed that the
patch fixes it.
{noformat}
[ERROR]
/hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/LdapGroupsMapping.java:47:
error: package com.sun.jndi.ldap is not visible
[ERROR] import com.sun.jndi.ldap.LdapCtxFactory;
[ERROR] ^
[ERROR] (package com.sun.jndi.ldap is declared in module java.naming, which
does not export it)
[ERROR]
[ERROR] Command line was: /usr/java/jdk-11/bin/javadoc -J-Xmx768m @options
@packages
{noformat}
Hi [~umamaheswararao], does the 1st patch fix your problem? I also want to konw
your environment.
> [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-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: [email protected]
For additional commands, e-mail: [email protected]