Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325178 - javax.xml.bind bundle fails to instantiate JAXB implementation
Summary: javax.xml.bind bundle fails to instantiate JAXB implementation
Status: RESOLVED INVALID
Alias: None
Product: Orbit
Classification: Tools
Component: bundles (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Orbit Bundles CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 19:07 EDT by Steffen Pingel CLA
Modified: 2010-09-14 02:32 EDT (History)
1 user (show)

See Also:


Attachments

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