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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • build
    • None

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment