DO NOT REPLY [Bug 47072] New: Class files containing "ParameterAnnotations" are dumped incorrectly

[email protected] Wed, 22 Apr 2009 01:51:40 -0700 (PDT)
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]/bugzilla/>
https://issues.apache.org/bugzilla/show_bug.cgi?id=47072

           Summary: Class files containing "ParameterAnnotations" are
                    dumped incorrectly
           Product: BCEL
           Version: 5.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=23526)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23526)
proposed patch to fix this issue

A JavaClass containing methods with annotated parameters is dumped incorrectly.
The content of such annotation attributes is not dumped,
   ParameterAnnotationEntry.dump(DataOutputStream dos)
   ParameterAnnotations.dump(DataOutputStream dos)
were not implemented.

I propose the implementation in the attached diff. It works for my examples.


Regards,
   Mattias

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.