[forge-issues] [JBoss JIRA] (ROASTER-104) array parsing is broken for the archaic form
Justin Lee (JIRA)
issues at jboss.org
Mon Jun 6 20:33:00 EDT 2016
Justin Lee created ROASTER-104:
----------------------------------
Summary: 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
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