Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326448 - Compile error in ContentHandlerRegistryReader
Summary: Compile error in ContentHandlerRegistryReader
Status: VERIFIED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Core (show other bugs)
Version: 2.7.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 critical (vote)
Target Milestone: M2   Edit
Assignee: Kenn Hussey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-28 14:10 EDT by Kenn Hussey CLA
Modified: 2010-09-28 20:24 EDT (History)
1 user (show)

See Also:
Kenn.Hussey: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.