You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Lucas Kanashiro (Jira)" <ji...@apache.org> on 2019/09/06 18:20:00 UTC

[jira] [Commented] (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=16924494#comment-16924494 ] 

Lucas Kanashiro commented on YETUS-557:
---------------------------------------

What is the current status of this task? I am trying to build Audience Annotations with Java 11 but as expected it fails due to the API change (com.sun.tools.doclets.standard.Standard is deprecated):


 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project audience-annotations: Compilation failure: Compilation failure: 
 [ERROR] /tmp/yetus/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/tools/IncludePublicAnnotationsStandardDoclet.java:[64,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] /tmp/yetus/audience-annotations-component/audience-annotations/src/main/java/org/apache/yetus/audience/tools/ExcludePrivateAnnotationsStandardDoclet.java:[59,20] cannot find symbol
 [ERROR] symbol: method validOptions(java.lang.String[][],com.sun.javadoc.DocErrorReporter)
 [ERROR] location: class com.sun.tools.doclets.standard.Standard



Is there any known workaround I can use to make it build with Java 11?

> 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
>            Priority: Major
>
> 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.3.2#803003)