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 2015/09/04 23:22:45 UTC
[jira] [Commented] (BCEL-243) Type.getType() needs to understand
TypeVariableSignature(s)
[ https://issues.apache.org/jira/browse/BCEL-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14731447#comment-14731447 ]
Mark Roberts commented on BCEL-243:
-----------------------------------
I have attached a test snippet that demonstrates the problem.
In general, BCEL has not been updated to fully support generics. There is a basic flaw throughout the code base that assumes a Java 'descriptor' and a Java 'signature' are the same thing. Kinda sorta true before generics, but definitely wrong now. In the process of working on this example I found two more places that are incorrect, no doubt there are many more. [for the record: the constructor for generic.ObjectType and classfile.Signature.translate()]
I'm not proposing we fix this larger problem for 6.0, but it should be noted as a significant work item for the future.
> Type.getType() needs to understand TypeVariableSignature(s)
> -----------------------------------------------------------
>
> Key: BCEL-243
> URL: https://issues.apache.org/jira/browse/BCEL-243
> Project: Commons BCEL
> Issue Type: Bug
> Reporter: Mark Roberts
> Attachments: b243test.txt, type.diff
>
>
> Correct Type.getType() to use the updated Type support added as part of BCEL-197.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)