You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Dhiraj Bokde (JIRA)" <ji...@apache.org> on 2015/06/25 05:49:12 UTC

[jira] [Resolved] (CAMEL-8900) Javadoc parser in API Component Framework misses first method with void return type in JDK7

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

Dhiraj Bokde resolved CAMEL-8900.
---------------------------------
    Resolution: Fixed

Fix merged into master, camel-2.15.x and camel-2.14.x branches. 

> Javadoc parser in API Component Framework misses first method with void return type in JDK7
> -------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-8900
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8900
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.14.3, 2.15.2
>            Reporter: Dhiraj Bokde
>            Assignee: Dhiraj Bokde
>             Fix For: 2.15.3, 2.14.4
>
>
> When using JDK 7 to generate Javadoc, the Javadoc parser based on javax.swing.text.html.parser.Parser fails to extract the first method if it has a void return type. For some reason the combination of the Javadoc generated by JDK7 and its Parser class gets the elements in the wrong order, causing the parser to go into the wrong state missing the first method. The next method element puts the parser back in the right state. 
> The fix is to not let the parser come out of the METHOD_SUMMARY if it has not seen any methods at that point. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)