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

Bug 325178

Summary: javax.xml.bind bundle fails to instantiate JAXB implementation
Product: [Tools] Orbit Reporter: Steffen Pingel <steffen.pingel>
Component: bundlesAssignee: Orbit Bundles <orbit.bundles-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: david_williams
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Steffen Pingel CLA 2010-09-13 19:07:34 EDT
If the javax.xml.bind bundle is used with com.sun.xml.bind on Java 5 which does not ship with a JAXB binding (only Java 6 does) a ClassNotFoundException exception occurs when a JAXBContext.newInstance() is invoked (see bug 325176).

I believe javax.xml.bind needs to specify a dependency or buddy policy in order to be able to load classes from com.sun.xml.bind.
Comment 1 David Williams CLA 2010-09-14 01:11:54 EDT
Looks like an extra click occurred and bug 325179 is the same bug?
Comment 2 Steffen Pingel CLA 2010-09-14 02:32:48 EDT
Sorry, I'll blame it on Mylyn :).