Summary: | [ImportRewrite] Add Import does not work for nested type when package is on-demand imported | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | jarthana, Olivier_Thomann | ||||
Version: | 3.6 | ||||||
Target Milestone: | 3.6 M7 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Bug Depends on: | |||||||
Bug Blocks: | 306571 | ||||||
Attachments: |
|
Description
Markus Keller
2010-03-19 14:34:59 EDT
Created attachment 163430 [details]
Proposed fix
Released for 3.6M7. Markus, let me know if you find anything wrong. Besides the awkward use of the old behavior, it seems to work as expected. Added regression test: org.eclipse.jdt.core.tests.rewrite.describing.ImportRewriteTest#testAddImports6 Verified for 3.6M7 using build I20100424-2000. |