Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8151191

javac error when running javadoc on some inner classes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b114
    • Verification:
      Verified

      Description

      To reproduce this, you need to apply the patch for JDK-8150130 to a recent jdk9-dev and then use that JDK to build the JavaFX docs as described in JDK-8150130.

      We get the following exception:

      javadoc: error - jdk.javadoc.internal.doclets.toolkit.util.DocletAbortException: jdk.javadoc.internal.doclets.toolkit.util.DocletAbortException: jdk.javadoc.internal.doclets.toolkit.util.DocletAbortException: com.sun.tools.javac.code.ClassFinder$BadClassFile: bad class file: /localhome/kcr/javafx/9-kcr/jfx/rt/modules/web/build/classes/main/javafx/scene/web/HTMLEditorSkin$2.class
        bad enclosing method attribute for class javafx.scene.web.HTMLEditorSkin$2
        Please remove or make sure it appears in the correct subdirectory of the classpath.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vromero Vicente Arturo Romero Zaldivar
              Reporter:
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: