| Summary: | PackageFinder.findPackagesInClassFiles may produce invalid package names | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Gunnar Wagenknecht <gunnar> | ||||||
| Component: | UI | Assignee: | Curtis Windatt <curtis.windatt.public> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | curtis.windatt.public | ||||||
| Version: | 3.7 | Keywords: | contributed | ||||||
| Target Milestone: | 3.8 M1 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 330256 | ||||||||
| Attachments: |
|
||||||||
|
Description
Gunnar Wagenknecht
Created attachment 183158 [details]
patch for PackageFinder
Anonymous as well as inner classes aren't relevant for the package scanning. I therefor changed the implementation to remove everything after the '$' and renamed the methods to better indicate the intent.
Created attachment 183159 [details]
patch for PackageFinder
updated patch
At first I was concerned with changing the result of the method. However, in all cases we only care about the package. There might be some optimizing that could be done here, but the patch corrects the problem as described. Fixed in HEAD. Verified in I20110802-2000 |