Bug 91498

Summary: Reconcile still sees old access rules
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jerome Lanneluc CLA 2005-04-15 04:20:04 EDT
I20050413

1. Create a project entry with a set of access rules
2. Open editor and use an accessible type as defined by the access rules
3. Change the access rules to make the type non-accessible (keeping the same
classpath entries)
4. Reconcile
Observe: No error is reported
Comment 1 Jerome Lanneluc CLA 2005-04-15 04:27:48 EDT
Changed JavaProject#updatPackageFragmentRoots() to reset the caches even if the
roots are the same.
Added regression test ReconcileTests#testAccessRestriction5()
Comment 2 Frederic Fusier CLA 2005-05-11 10:32:10 EDT
Verified for 3.1 M7 using build I20050509-2010 + jdt.core HEAD.