Bug#1052567: velocity-tools: FTBFS with OpenJDK 21 due to javadoc errors
Emmanuel Bourg
ebourg at apache.org
Sun Sep 24 21:49:21 BST 2023
Source: velocity-tools
Version: 2.0-8
Severity: important
Tags: ftbfs sid trixie
User: debian-java at lists.debian.org
Usertags: default-java21
velocity-tools fails to build with OpenJDK 21 due to javadoc errors:
[javadoc] Building index for all the packages and classes...
[javadoc] Standard Doclet version 21+35-Debian-1
[javadoc] Building tree for all the packages and classes...
[javadoc] error: An internal exception has occurred.
[javadoc] (java.lang.ClassCastException: class com.sun.tools.javac.code.Symtab$6 cannot be cast to class com.sun.tools.javac.code.Symbol$ClassSymbol (com.sun.tools.javac.code.Symtab$6 and com.sun.tools
.javac.code.Symbol$ClassSymbol are in module jdk.compiler of loader 'app'))
[javadoc] Please file a bug against the javadoc tool via the Java bug reporting page
[javadoc] (https://bugreport.java.com) after checking the Bug Database (https://bugs.java.com)
[javadoc] for duplicates. Include error messages and the following diagnostic in your report. Thank you.
[javadoc] java.lang.ClassCastException: class com.sun.tools.javac.code.Symtab$6 cannot be cast to class com.sun.tools.javac.code.Symbol$ClassSymbol (com.sun.tools.javac.code.Symtab$6 and com.sun.tools.java
c.code.Symbol$ClassSymbol are in module jdk.compiler of loader 'app')
[javadoc] at jdk.compiler/com.sun.tools.javac.code.Symbol.outermostClass(Symbol.java:530)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.tool.ToolEnvironment.getFileKind(ToolEnvironment.java:188)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.tool.ElementsTable.isTypeElementSelected(ElementsTable.java:975)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.tool.ElementsTable$IncludedVisitor.visitType(ElementsTable.java:1052)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.tool.ElementsTable$IncludedVisitor.visitType(ElementsTable.java:1028)
[javadoc] at jdk.compiler/com.sun.tools.javac.code.Symbol$ClassSymbol.accept(Symbol.java:1581)
[javadoc] at java.compiler at 21/javax.lang.model.util.AbstractElementVisitor6.visit(AbstractElementVisitor6.java:106)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.tool.ElementsTable.isIncluded(ElementsTable.java:330)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.tool.DocEnvImpl.isIncluded(DocEnvImpl.java:76)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.Utils.isIncluded(Utils.java:2015)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.Utils.hasHiddenTag(Utils.java:1272)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.Utils.getFirstVisibleSuperClass(Utils.java:1041)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.Utils.getFirstVisibleSuperClass(Utils.java:1055)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.Utils.getFirstVisibleSuperClassAsTypeElement(Utils.java:1017)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.ClassTree.processType(ClassTree.java:264)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.ClassTree.buildTree(ClassTree.java:245)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.util.ClassTree.<init>(ClassTree.java:196)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.AbstractDoclet.startGeneration(AbstractDoclet.java:205)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.doclets.toolkit.AbstractDoclet.run(AbstractDoclet.java:110)
[javadoc] at jdk.javadoc/jdk.javadoc.doclet.StandardDoclet.run(StandardDoclet.java:104)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.tool.Start.parseAndExecute(Start.java:575)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.tool.Start.begin(Start.java:398)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.tool.Start.begin(Start.java:347)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.tool.Main.execute(Main.java:57)
[javadoc] at jdk.javadoc/jdk.javadoc.internal.tool.Main.main(Main.java:46)
[javadoc] 1 error
[javadoc] 100 warnings
More information about the pkg-java-maintainers
mailing list