Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341209 - [quick fix] Incorrect proposal when package visible type is used in another package
Summary: [quick fix] Incorrect proposal when package visible type is used in another p...
Status: CLOSED DUPLICATE of bug 394692
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: rgra Missing name CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-29 06:56 EDT by Ayushman Jain CLA
Modified: 2013-03-12 08:27 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ayushman Jain CLA 2011-03-29 06:56:01 EDT
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
Comment 1 Noopur Gupta CLA 2013-02-05 07:47:32 EST
Tested with Build ID: I20130204-1400.
The bug is reproducible.
Comment 2 Dani Megert CLA 2013-03-12 08:27:40 EDT

*** This bug has been marked as a duplicate of bug 394692 ***