[JBoss JIRA] (ROASTER-104) array parsing is broken for the archaic form
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-104?page=com.atlassian.jira.plugi... ]
George Gastaldi commented on ROASTER-104:
-----------------------------------------
Currently you need to build locally, but I can release 2.19.0.Final if you want.
> 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)
8 years, 7 months
[JBoss JIRA] (ROASTER-104) array parsing is broken for the archaic form
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-104?page=com.atlassian.jira.plugi... ]
George Gastaldi reopened ROASTER-104:
-------------------------------------
> 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)
8 years, 7 months
[JBoss JIRA] (ROASTER-104) array parsing is broken for the archaic form
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-104?page=com.atlassian.jira.plugi... ]
George Gastaldi closed ROASTER-104.
-----------------------------------
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: 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)
8 years, 7 months
[JBoss JIRA] (ROASTER-104) array parsing is broken for the archaic form
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-104?page=com.atlassian.jira.plugi... ]
George Gastaldi updated ROASTER-104:
------------------------------------
Component/s: JDT
Tests
(was: API)
> 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)
8 years, 7 months
[JBoss JIRA] (ROASTER-104) array parsing is broken for the archaic form
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-104?page=com.atlassian.jira.plugi... ]
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)
8 years, 7 months
[JBoss JIRA] (ROASTER-104) array parsing is broken for the archaic form
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-104?page=com.atlassian.jira.plugi... ]
George Gastaldi commented on ROASTER-104:
-----------------------------------------
Fantastic, looks great. Thank you!
> 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
> 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)
8 years, 7 months
[JBoss JIRA] (ROASTER-104) array parsing is broken for the archaic form
by Justin Lee (JIRA)
[ https://issues.jboss.org/browse/ROASTER-104?page=com.atlassian.jira.plugi... ]
Justin Lee commented on ROASTER-104:
------------------------------------
And done. Was simpler than I thought it'd be. :)
> 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)
8 years, 7 months
[JBoss JIRA] (ROASTER-104) array parsing is broken for the archaic form
by Justin Lee (JIRA)
[ https://issues.jboss.org/browse/ROASTER-104?page=com.atlassian.jira.plugi... ]
Justin Lee commented on ROASTER-104:
------------------------------------
Why not? I'll give it shot.
> 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)
8 years, 7 months
[JBoss JIRA] (ROASTER-104) array parsing is broken for the archaic form
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-104?page=com.atlassian.jira.plugi... ]
George Gastaldi commented on ROASTER-104:
-----------------------------------------
Nice catch! Fancy providing a PR? Thanks!
> 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)
8 years, 7 months