You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mark Roberts (JIRA)" <ji...@apache.org> on 2017/02/24 22:39:44 UTC

[jira] [Comment Edited] (BCEL-286) signatureToString fails if multiple type arguments

    [ https://issues.apache.org/jira/browse/BCEL-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15883650#comment-15883650 ] 

Mark Roberts edited comment on BCEL-286 at 2/24/17 10:39 PM:
-------------------------------------------------------------

I found more problems and have expanded the fix and the test case.  The revised changes are in signature2.diff.

The signature processing in BCEL has only a little support for generic types. I have been trying to add some more support but the code really needs a complete rewrite. It should probably be modified to use sun.reflect.generics.parser.


was (Author: markro):
I found more problems and have expanded the fix and the test case.  The revised changes are in signature2.diff.

> signatureToString fails if multiple type arguments
> --------------------------------------------------
>
>                 Key: BCEL-286
>                 URL: https://issues.apache.org/jira/browse/BCEL-286
>             Project: Commons BCEL
>          Issue Type: Bug
>            Reporter: Mark Roberts
>         Attachments: signature2.diff
>
>
> signatureToString (in classfile/Utility.java) gets confused if a method has multiple type arguments.
> I have included a patch for fix and update to test-case that demonstrates the problem.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)