[forge-issues] [JBoss JIRA] (ROASTER-104) array parsing is broken for the archaic form
George Gastaldi (JIRA)
issues at jboss.org
Mon Jun 6 22:38:00 EDT 2016
[ https://issues.jboss.org/browse/ROASTER-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Gastaldi closed ROASTER-104.
-----------------------------------
Fix Version/s: 2.19.0.Final
Assignee: Justin Lee
Resolution: Done
> 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: API
> 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