Summary: | code assist: parameter names not harvested from debug info in class files | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Adam Kiezun <akiezun> | ||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | bmiller, dummy_email, frederic_fusier, philippe_mulet | ||||||
Version: | 3.1 | ||||||||
Target Milestone: | 3.3 M6 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Adam Kiezun
2005-07-01 09:10:27 EDT
Do you have a source attachment to this jar? No source attachment should be needed here for the names of parameters. They are contained in the debug info. I see them when I open the classfile editor. For reference, the sources are available here: http://sourceforge.net/project/showfiles.php?group_id=79198 It's version 1.0.1. I'll investigate current behavior. We never looked for arguments names inside debug attribute. I'll see if this can be added without a major hit on performance. Created attachment 59172 [details]
Proposed fix
Created attachment 59173 [details]
Regression tests
Philippe, Let me know if you are interested by such a support. It doesn't seem to have an noticeable impact on performances. Frédéric, Could you please run the performance tests with this patch? Thanks. Adam, Note that this implies the library to be compiled with local variable table attribute. By default this attribute is not provided. However in the library that you refer to, they are included. (In reply to comment #7) > Frédéric, > > Could you please run the performance tests with this patch? > Thanks. > Performance tests are OK with this patch... Released for 3.3M6 Regression tests added in org.eclipse.jdt.core.tests.compiler.regression.ClassFileReaderTest_1_4#test078/080 Verified for 3.3 M6 using build I20070320-0010 *** Bug 168657 has been marked as a duplicate of this bug. *** |