Summary: | [1.5][compiler] Protected type not visible in subclass | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Lefevre <lefevrol> | ||||||
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | elinsn, eric_jodet, jerome_lanneluc, Olivier_Thomann, xbranko | ||||||
Version: | 3.4 | ||||||||
Target Milestone: | 3.4 M5 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Olivier Lefevre
2008-01-27 00:30:21 EST
Created attachment 87963 [details]
The script to run
Bug in visibility check, was not properly stepping through erased types (this explains why manually removing type parameters did seem to address the issue). Created attachment 88069 [details]
Proposed patch
re: comment 2. Most type visibility checks where actually behaving properly, but one code path did fail. Field/methods were fine already. Released for 3.4M5. Added GenericTypeTest#test1268 Fixed Verified for 3.4M5 using build I20080204-0010 Is there any chance that this fix is also applied to maintenance release 3.3.2 ? Indeed, this bug was not there in release 3.3.1.1 and has been introduced in the maintenance branch for 3.3.2. Released fix in 3.3.x maintenance branch (post 3.3.2). Unfortunately, Laurent, 3.3.2 is out already. If you are desperate, we could post a JDT/Core patch including this fix (based on 3.3.2 + this fix). *** Bug 230466 has been marked as a duplicate of this bug. *** *** Bug 232174 has been marked as a duplicate of this bug. *** Fix is available in 3.4 and in 3.3 maintenance branch post 3.3.2. A patch is posted at: http://www.eclipse.org/jdt/core/r3.3/index.php#UPDATES (use the 3.3.3 preview) |