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

This commit is contained in:
Takanobu Asanuma 2019-01-09 13:55:25 +09:00
parent 4ab5260b7e
commit 709ddb10e5
3 changed files with 6 additions and 4 deletions

View File

@ -66,7 +66,7 @@ public void init(Class<?> protocol) {
/** /**
* Add an RPC processing time sample * Add an RPC processing time sample
* @param name of the RPC call * @param metName of the RPC call
* @param processingTime the processing time * @param processingTime the processing time
*/ */
//@Override // some instrumentation interface //@Override // some instrumentation interface

View File

@ -293,7 +293,7 @@ public SummaryStatistics getCurrentStats(String recorderName, int idx) {
* suppressed in the provided log action. If no statements were suppressed, * suppressed in the provided log action. If no statements were suppressed,
* this returns an empty string. The message has the format (without quotes): * this returns an empty string. The message has the format (without quotes):
* *
* <p/>' (suppressed logging <i>{suppression_count}</i> times)' * <p>' (suppressed logging <i>{suppression_count}</i> times)'</p>
* *
* @param action The log action to produce a message about. * @param action The log action to produce a message about.
* @return A message about suppression within this action. * @return A message about suppression within this action.

View File

@ -2014,8 +2014,7 @@
</dependencyManagement> </dependencyManagement>
</profile> </profile>
<profile> <profile>
<!-- TODO: remove this profile to generate html5 docs when we stop supporting JDK8 --> <id>jdk11</id>
<id>javadoc-html-version</id>
<activation> <activation>
<jdk>[11,)</jdk> <jdk>[11,)</jdk>
</activation> </activation>
@ -2026,7 +2025,10 @@
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<configuration> <configuration>
<additionalOptions> <additionalOptions>
<!-- TODO: remove -html4 option to generate html5 docs when we stop supporting JDK8 -->
<additionalOption>-html4</additionalOption> <additionalOption>-html4</additionalOption>
<additionalOption>--add-exports</additionalOption>
<additionalOption>java.naming/com.sun.jndi.ldap=ALL-UNNAMED</additionalOption>
</additionalOptions> </additionalOptions>
</configuration> </configuration>
</plugin> </plugin>