You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (Jira)" <ji...@apache.org> on 2021/12/09 00:54:00 UTC
[jira] [Comment Edited] (YETUS-557) Investigate switching to jdk.javadoc.doclet
[ https://issues.apache.org/jira/browse/YETUS-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17456068#comment-17456068 ]
Allen Wittenauer edited comment on YETUS-557 at 12/9/21, 12:53 AM:
-------------------------------------------------------------------
When I try to build this under OpenJDK11 or OpenJDK17, I get the following error:
{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project audience-annotations: Compilation failure
[ERROR] /home/aw/yetus/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/tools/ExcludePrivateAnnotationsStandardDoclet.java:[45,32] getSupportedOptions() in org.apache.yetus.audience.tools.ExcludePrivateAnnotationsStandardDoclet cannot override getSupportedOptions() in jdk.javadoc.doclet.StandardDoclet
[ERROR] return type java.util.Set<? extends jdk.javadoc.doclet.Doclet.Option> is not compatible with java.util.Set<jdk.javadoc.doclet.Doclet.Option>
{code}
was (Author: aw):
When I try to build this under JDK11 or JDK17, I get the following error:
{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project audience-annotations: Compilation failure
[ERROR] /home/aw/yetus/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/tools/ExcludePrivateAnnotationsStandardDoclet.java:[45,32] getSupportedOptions() in org.apache.yetus.audience.tools.ExcludePrivateAnnotationsStandardDoclet cannot override getSupportedOptions() in jdk.javadoc.doclet.StandardDoclet
[ERROR] return type java.util.Set<? extends jdk.javadoc.doclet.Doclet.Option> is not compatible with java.util.Set<jdk.javadoc.doclet.Doclet.Option>
{code}
> Investigate switching to jdk.javadoc.doclet
> -------------------------------------------
>
> Key: YETUS-557
> URL: https://issues.apache.org/jira/browse/YETUS-557
> Project: Yetus
> Issue Type: Task
> Components: Audience Annotations
> Affects Versions: 0.6.0
> Reporter: Allen Wittenauer
> Assignee: Mike Drob
> Priority: Major
> Attachments: YETUS-557.00.patch
>
>
> It looks like there is a newer API available for building Javadoc doclets. This might help remove our dependency on tools.jar.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)