]
Justin Lee commented on ROASTER-104:
------------------------------------
are the snapshot builds published anywhere?
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.