Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-329

MethodGen duplicates some attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.6.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              markro Mark Roberts
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m