Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 181474

Summary: ArrayIndexOutOfBoundsException can occur resolving cycles
Product: [Eclipse Project] Equinox Reporter: Thomas Watson <tjwatson>
Component: FrameworkAssignee: Thomas Watson <tjwatson>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: tjwatson
Version: 3.3   
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description Thomas Watson CLA 2007-04-06 17:51:33 EDT
In ResolverImpl.checkCycle an ArrayIndexOutOfBoundsException can occur because while removing budnles from the cycle.  This occurs because there is no continue after removing an unresolved bundle

if (!cycleBundle.isResolvable()) {
  cycle.remove(i); // remove this from the list of bundles that need reresolved
>> should continue here
}
Comment 1 Thomas Watson CLA 2007-04-06 17:55:17 EDT
Created attachment 63200 [details]
patch

patch
Comment 2 Thomas Watson CLA 2007-04-09 09:00:13 EDT
Fix released to HEAD.