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

Bug 311583

Summary: Compiler warning in I20100504-0800
Product: [Eclipse Project] Equinox Reporter: Olivier Thomann <Olivier_Thomann>
Component: p2Assignee: Pascal Rapicault <pascal>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, pascal
Version: 3.6Flags: daniel_megert: review+
Target Milestone: 3.6 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Olivier Thomann CLA 2010-05-04 12:16:38 EDT
1. WARNING in /src/org/eclipse/equinox/internal/p2/director/SimplePlanner.java
 (at line 325)
slice = new CompoundQueryable<IInstallableUnit>(new IQueryable[] {slice, new QueryableArray(profileChangeRequest.getAdditions().toArray(new IInstallableUnit[profileChangeRequest.getAdditions().size()]))});
Type safety: The expression of type IQueryable[] needs unchecked conversion to conform to IQueryable<IInstallableUnit>[]
Comment 1 Pascal Rapicault CLA 2010-05-07 11:00:09 EDT
*** Bug 311305 has been marked as a duplicate of this bug. ***
Comment 2 Pascal Rapicault CLA 2010-05-07 11:30:13 EDT
fixed in HEAD
Comment 3 Dani Megert CLA 2010-05-08 03:14:46 EDT
Verified in N20100507-2000.