[
https://issues.apache.org/jira/browse/BCEL-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary D. Gregory resolved BCEL-329.
----------------------------------
Fix Version/s: 6.5.1
Resolution: Fixed
Merged to git master.
> 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
> Fix For: 6.5.1
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)