Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11423 [Umbrella] Fix Java 10 incompatibilities in Hadoop
  3. HADOOP-15304

[JDK10] Migrate from com.sun.tools.doclets to the replacement

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: build
    • Labels:
      None
    • Target Version/s:

      Description

      com.sun.tools.doclets.* packages were removed in Java 10. https://bugs.openjdk.java.net/browse/JDK-8177511

      This causes hadoop-annotations module to fail.

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hadoop-annotations: Compilation failure: Compilation failure:
      [ERROR] /Users/ajisaka/git/hadoop/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/tools/IncludePublicAnnotationsStandardDoclet.java:[61,20] cannot find symbol
      [ERROR] symbol:   method validOptions(java.lang.String[][],com.sun.javadoc.DocErrorReporter)
      [ERROR] location: class com.sun.tools.doclets.standard.Standard
      [ERROR] /Users/ajisaka/git/hadoop/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/tools/ExcludePrivateAnnotationsStandardDoclet.java:[56,20] cannot find symbol
      [ERROR] symbol:   method validOptions(java.lang.String[][],com.sun.javadoc.DocErrorReporter)
      [ERROR] location: class com.sun.tools.doclets.standard.Standard
      

        Attachments

        1. HADOOP-15304.03.patch
          3 kB
          Akira Ajisaka
        2. HADOOP-15304.02.patch
          2 kB
          Akira Ajisaka
        3. HADOOP-15304.01.patch
          0.8 kB
          Akira Ajisaka

          Issue Links

            Activity

              People

              • Assignee:
                aajisaka Akira Ajisaka
                Reporter:
                aajisaka Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: