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] [Commented] (BCEL-329) MethodGen duplicates some attributes
Date Fri, 11 Oct 2019 17:23:00 GMT

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

Mark Roberts commented on BCEL-329:
-----------------------------------

I have a fix available and will submit a pull request.

> MethodGen duplicates some attributes
> ------------------------------------
>
>                 Key: BCEL-329
>                 URL: https://issues.apache.org/jira/browse/BCEL-329
>             Project: Commons BCEL
>          Issue Type: Bug
>            Reporter: Mark Roberts
>            Priority: Major
>
> If you use MethodGen to modify a class file that contains RuntimeAnnotations or RuntimeParameterAnnotations
then each call to getMethod will duplicate these annotations.  This will cause a JVM failure
at load time as only one annotation of each type is permitted.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message