This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 125678 - StAX (jdk6) library is not available in a NB module
Summary: StAX (jdk6) library is not available in a NB module
Status: CLOSED DUPLICATE of bug 125655
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-21 14:40 UTC by danecek
Modified: 2008-12-23 08:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description danecek 2008-01-21 14:40:25 UTC
ClassLoader syscl = (ClassLoader)Lookup.getDefault().lookup(ClassLoader.class); 
Class c = Class.forName("javax.xml.stream.XMLInputFactory", true, syscl);     
// O.K. - StAX classes available via system classloader
c = XMLInputFactory.class;  // java.lang.NoClassDefFoundError: javax/xml/stream/XMLInputFactory - 
// FAIL - not available via the module classloader
Comment 1 Lukas Hasik 2008-01-21 14:48:55 UTC
probably the same case as issue 125655
Comment 2 Jesse Glick 2008-01-21 19:13:11 UTC

*** This issue has been marked as a duplicate of 125655 ***
Comment 3 Marian Mirilovic 2008-01-22 07:56:12 UTC
vc