[forge-issues] [JBoss JIRA] (ROASTER-104) array parsing is broken for the archaic form

George Gastaldi (JIRA) issues at jboss.org
Mon Jun 6 23:05:00 EDT 2016


    [ https://issues.jboss.org/browse/ROASTER-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13248661#comment-13248661 ] 

George Gastaldi commented on ROASTER-104:
-----------------------------------------

Ok, let me know if you find another issues. 2.19.0.Final should be feature complete by now and ready to release any time.

> array parsing is broken for the archaic form
> --------------------------------------------
>
>                 Key: ROASTER-104
>                 URL: https://issues.jboss.org/browse/ROASTER-104
>             Project: Roaster
>          Issue Type: Bug
>          Components: JDT, Tests
>    Affects Versions: 2.18.7.Final
>            Reporter: Justin Lee
>            Assignee: Justin Lee
>             Fix For: 2.19.0.Final
>
>
> When a method has a definition like so:
> {code:java}
>     public String(char value[]) {
>         this.value = Arrays.copyOf(value, value.length);
>     }
> {code}
> The argument on the Method comes back with the type as 'char' with no indication that it's an array.  A declaration like below properly flags the Parameter as an array.
> {code:java}
>      public abstract float[] toRGB(float[] colorvalue);
> {code}
> I discovered this bug parsing String.java from the JDK, fwiw.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the forge-issues mailing list