Summary: | ArrayIndexOutOfBoundsException in MethodInfoWithParameterAnnotations.getParameterAnnotations when generating method info for an inner class constructor with annotated parameter | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Slava Kabanovich <scabanovich> | ||||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | P3 | CC: | alkazako, jarthana, Olivier_Thomann, pinnamur | ||||||||
Version: | 3.7 | ||||||||||
Target Milestone: | 3.7 M7 | ||||||||||
Hardware: | PC | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
Slava Kabanovich
2011-04-13 15:47:34 EDT
Created attachment 193190 [details]
ArrayIndexOutOfBoundsException
Created attachment 193211 [details]
Proposed fix + regression test
This patch is not good as it uses the Signature class inside compiler code. Will try to find another way to get the parameter count. Created attachment 193263 [details]
Proposed fix + regression test
I moved the signature scanning code in the Util class of the compiler. I left one method inside the model Util class as it is used inside the jdt.debug code.
Released for 3.7M7. Verified for 3.7M7 using build I20110421-1800 *** Bug 343947 has been marked as a duplicate of this bug. *** |