[ 
https://issues.apache.org/jira/browse/MPLUGIN-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated MPLUGIN-443:
------------------------------------
    Description: 
For example the following link tag is not properly parsed:

{code}
{@link #member label with spaces}
{code}

and leads to the following exception
{code}
java.lang.IllegalArgumentException: Invalid format of javadoc reference: 
#member label with spaces
        at 
org.apache.maven.tools.plugin.javadoc.JavadocReference.parse(JavadocReference.java:74)
        ...
{code}

According to 
https://docs.oracle.com/en/java/javase/17/docs/specs/javadoc/doc-comment-spec.html#link
 this should be valid though as the link tag ends only with the '}'

  was:
For example the following link tag is not properly parsed:

{code}
{@link #member label with spaces}
{code}

and leads to the following exception
{code}
java.lang.IllegalArgumentException: Invalid format of javadoc reference: 
#member label with spaces
        at 
org.apache.maven.tools.plugin.javadoc.JavadocReference.parse(JavadocReference.java:74)
        ...
{code}


> Javadoc reference containing a link label with spaces are not detected
> ----------------------------------------------------------------------
>
>                 Key: MPLUGIN-443
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-443
>             Project: Maven Plugin Tools
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 3.7.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: next-release
>
>
> For example the following link tag is not properly parsed:
> {code}
> {@link #member label with spaces}
> {code}
> and leads to the following exception
> {code}
> java.lang.IllegalArgumentException: Invalid format of javadoc reference: 
> #member label with spaces
>       at 
> org.apache.maven.tools.plugin.javadoc.JavadocReference.parse(JavadocReference.java:74)
>       ...
> {code}
> According to 
> https://docs.oracle.com/en/java/javase/17/docs/specs/javadoc/doc-comment-spec.html#link
>  this should be valid though as the link tag ends only with the '}'



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to