[Commented] (MJAVADOC-496) javadoc:fix creates invalid @param tags for "this"

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[Commented] (MJAVADOC-496) javadoc:fix creates invalid @param tags for "this"

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/MJAVADOC-496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16163535#comment-16163535 ]

Robert Scholte commented on MJAVADOC-496:

Can you create a mini Maven project to reproduce this issue?

> javadoc:fix creates invalid @param tags for "this"
> --------------------------------------------------
>                 Key: MJAVADOC-496
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-496
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.9.1
>         Environment: Ubuntu 14.04.3 LTS
>            Reporter: Chris Hennick
> I'm using the Checker Framework on Java 8, so I sometimes need to write method declarations in a form like
> {code:java}
>   protected void initTransientFields(
>       @UnknownInitialization AesCounterRandom this) {/*...*/}
> {code}
> When I run mvn javadoc:fix on a code base where I'm doing that, the javadocs of such methods gain tags beginning with {code:java}@param this{code}, which raise an error when mvn javadoc:javadoc tries to process them.

This message was sent by Atlassian JIRA