| Summary: | [quick fix] Incorrect proposal when package visible type is used in another package | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Ayushman Jain <amj87.iitr> |
| Component: | UI | Assignee: | rgra Missing name <rgransberger> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, noopur_gupta |
| Version: | 3.7 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Tested with Build ID: I20130204-1400. The bug is reproducible. *** This bug has been marked as a duplicate of bug 394692 *** |
package p; class IException1 extends q.ExceptionA { } -------------------------------------------------------------------------- package q; class ExceptionA extends RuntimeException { } --------------------------------------------------------------------- In the above code, i get an error in p.IException1 saying "The type q.ExceptionA" is not visible", and a quick fix suggestion - "Change visibility of ExceptionA to protected". This is an invalid modifier for a class and leads to an error on exercising this quick fix. Build: I20110322-0800