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 2019/10/11 17:23:00 UTC
[jira] [Created] (BCEL-329) MethodGen duplicates some attributes
Mark Roberts created BCEL-329:
---------------------------------
Summary: 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
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)