Skip to content

Using this doclet under Java 17 results in an abstract method error #4

@dakusui

Description

@dakusui

Using this doclet under Java 17 results in an abstract method error.
For Java 11 it works fine.
Please let me know any other information necessary for fixing this.

[ERROR] Standard Doclet version 17.0.4+11-LTS-179
[ERROR] Building tree for all the packages and classes...
[ERROR] error: An internal exception has occurred. 
[ERROR]         (java.lang.AbstractMethodError: Receiver class org.asciidoctor.asciidoclet.AsciiDocTrees does not define or inherit an implementation of the resolved method 'abstract java.lang.String getCharacters(com.sun.source.doctree.EntityTree)' of abstract class com.sun.source.util.DocTrees.)
[ERROR] Please file a bug against the javadoc tool via the Java bug reporting page
[ERROR] (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com)
[ERROR] for duplicates. Include error messages and the following diagnostic in your report. Thank you.
[ERROR] java.lang.AbstractMethodError: Receiver class org.asciidoctor.asciidoclet.AsciiDocTrees does not define or inherit an implementation of the resolved method 'abstract java.lang.String getCharacters(com.sun.source.doctree.EntityTree)' of abstract class com.sun.source.util.DocTrees.
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclint.Checker.visitEntity(Checker.java:313)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclint.Checker.visitEntity(Checker.java:106)
[ERROR]         at jdk.compiler/com.sun.tools.javac.tree.DCTree$DCEntity.accept(DCTree.java:366)
[ERROR]         at jdk.compiler/com.sun.source.util.DocTreePathScanner.scan(DocTreePathScanner.java:76)
[ERROR]         at jdk.compiler/com.sun.source.util.DocTreeScanner.scanAndReduce(DocTreeScanner.java:88)
[ERROR]         at jdk.compiler/com.sun.source.util.DocTreeScanner.scan(DocTreeScanner.java:103)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclint.Checker.visitDocComment(Checker.java:273)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclint.Checker.visitDocComment(Checker.java:106)
[ERROR]         at jdk.compiler/com.sun.tools.javac.tree.DCTree$DCDocComment.accept(DCTree.java:138)
[ERROR]         at jdk.compiler/com.sun.source.util.DocTreePathScanner.scan(DocTreePathScanner.java:55)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclint.Checker.scan(Checker.java:234)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclint.DocLint.scan(DocLint.java:348)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.BaseConfiguration.runDocLint(BaseConfiguration.java:713)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.Utils.getDocCommentTree0(Utils.java:2679)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.Utils.getDocCommentTree(Utils.java:2749)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.Utils$CommentHelperCache.computeIfAbsent(Utils.java:2892)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.Utils.getCommentHelper(Utils.java:2524)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.Utils.hasBlockTag(Utils.java:2584)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.Utils.hasBlockTag(Utils.java:2579)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.Utils.hasHiddenTag(Utils.java:1499)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.ClassTree.buildTree(ClassTree.java:175)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.ClassTree.<init>(ClassTree.java:119)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:210)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.AbstractDoclet.run(AbstractDoclet.java:115)
[ERROR]         at jdk.javadoc/jdk.javadoc.doclet.StandardDoclet.run(StandardDoclet.java:103)
[ERROR]         at org.asciidoctor.asciidoclet.Asciidoclet.run(Asciidoclet.java:226)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.tool.Start.parseAndExecute(Start.java:556)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.tool.Start.begin(Start.java:393)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.tool.Start.begin(Start.java:342)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.tool.Main.execute(Main.java:63)
[ERROR]         at jdk.javadoc/jdk.javadoc.internal.tool.Main.main(Main.java:52)

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions