[
https://issues.apache.org/jira/browse/GROOVY-7840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15994512#comment-15994512
]
Paul King commented on GROOVY-7840:
-----------------------------------
Jochen, just to clarify. For this method:
{code}
def bar(List<String> someList, Date someDate) { ... }
{code}
We might expect the following output:
{noformat}
java.lang.Object bar(List, Date) // getTypeDescriptor
bar:List <String>,Date, // current output of
GeneralUtils.makeDescriptorWithoutReturnType
bar:List,Date, // desired output
{noformat}
Note: exact output varies depending on which phase of compilation you are at
when displaying above, e.g. whether you get fully qualified names or not.
> Verifier#makeDescriptorWithoutReturnType uses ClassNode#toString with generics
> ------------------------------------------------------------------------------
>
> Key: GROOVY-7840
> URL: https://issues.apache.org/jira/browse/GROOVY-7840
> Project: Groovy
> Issue Type: Bug
> Reporter: Jochen Theodorou
> Labels: easyfix
>
> As noted in GROOVY-7826, commit
> [74089c1|https://github.com/apache/groovy/commit/74089c1156d6c296d64e68e766575e86c4119c67]
> contains the addition of Verifier#makeDescriptorWithoutReturnType. The
> method is based on ClassNode#toString, which will include redirects and their
> generics information. This should not be the case
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)