[
https://issues.apache.org/jira/browse/BCEL-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18036643#comment-18036643
]
QualiteSys QualiteSys commented on BCEL-123:
--------------------------------------------
I confirm the issue. The method arguments types are not evaluated completely in
case of generics.
Here is the execution output for the above example :
{code:java}
LocalVariableTable of original
------------------------------
this 0 Lcom/qualitesys/matrix/monjavaagent/VariableTableBug;
list 1 Ljava/util/List;
index 2 I
result 3 Ljava/lang/String;
LocalVariableTypeTable of original
----------------------------------
list 1 Ljava/util/List<Ljava/lang/String;>;
LocalVariableTable of MethodGen
-------------------------------
this 0 com.qualitesys.matrix.monjavaagent.VariableTableBug
list 1 java.util.List
index 2 int
result 3 java.lang.String
------------------------------------------------------------------------ {code}
I need to extract the real type of each argument of a method.
The Field class has the getGenericSignature() method, it works fine.
I need the same getGenericSignature() for the LocalVariableGen class.
Thanks for your help
> MethodGen: LocalVariableTableGen issues
> ---------------------------------------
>
> Key: BCEL-123
> URL: https://issues.apache.org/jira/browse/BCEL-123
> Project: Commons BCEL
> Issue Type: Bug
> Components: Main
> Environment: Operating System: Linux
> Platform: PC
> Reporter: Matthew Wilson
> Assignee: Apache Commons Developers
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)