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

Bug 326448

Summary: Compile error in ContentHandlerRegistryReader
Product: [Modeling] EMF Reporter: Kenn Hussey <Kenn.Hussey>
Component: CoreAssignee: Kenn Hussey <Kenn.Hussey>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: Ed.Merks
Version: 2.7.0Flags: Kenn.Hussey: indigo+
Target Milestone: M2   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Kenn Hussey CLA 2010-09-28 14:10:32 EDT
There is an error in ContentHandlerRegistryReader when compiled against the M2(a) milestone of the Eclipse 3.7 platform, due to the following change in the Bundle interface from OSGi:

	public Class loadClass(String name) throws ClassNotFoundException;

was changed to:

	Class< ? > loadClass(String name) throws ClassNotFoundException;

(notice the wildcard return type).

We can work around the error by adding a cast.
Comment 1 Kenn Hussey CLA 2010-09-28 14:16:39 EDT
The fix has been committed. See bug 324774 for details on the changes being made in OSGi.
Comment 2 Kenn Hussey CLA 2010-09-28 20:24:30 EDT
The fix is available in the 2.7.0 M2 build.