commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Roberts (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (BCEL-286) signatureToString fails if multiple type arguments
Date Fri, 24 Feb 2017 22:39:44 GMT

    [ 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)

Mime
View raw message