[
https://issues.apache.org/jira/browse/MJAVADOC-662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jin Xu updated MJAVADOC-662:
----------------------------
Summary: The fix operation wrongly generate illegal javadoc for static
final fields. (was: find a bug when generating static fields' javadoc.)
> The fix operation wrongly generate illegal javadoc for static final fields.
> ---------------------------------------------------------------------------
>
> Key: MJAVADOC-662
> URL: https://issues.apache.org/jira/browse/MJAVADOC-662
> Project: Maven Javadoc Plugin
> Issue Type: Bug
> Components: fix
> Reporter: Jin Xu
> Priority: Major
>
> {code:java}
> protected static final int MultiTime = 1 << 4;
> {code}
> will become
> {code:java}
> /** Constant <code>MultiTime=1 << 4</code> */
> protected static final int MultiTime = 1 << 4;
> {code}
> after calling fix operation.
> And notice that the << in the doc is NOT allowed by html, thus will fail the
> javadoc jar generation.
> should use << instead.
> The expected correct result should be:
> {code:java}
> /** Constant <code>MultiTime=1 << 4</code> */
> protected static final int MultiTime = 1 << 4;
> {code}
> I think I can fix it, but I'm too tired today, tomorrow I will see if I can
> get some time for the fix.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)