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.
Currently there is a JAXB library wrapper module in IDE cluster that is used by other modules. Problem of this module is the big number of friends. Another problem is that using JAXB API in Netbeans modules requires to establish a friend contract. The JAXB library module "wraps" the following five jar files: activation.jar jaxb-api.jar jaxb-impl.jar jaxb-xjc.jar jsr173_api.jar The solution is to divide the JAB library into JAXB API part (stable module) and JAXB implementation part (friend module). Most of the clients would only depend on API Module, so the number of friends, of implementation part, can be reduced dramatically. Proposed jar files in JAXB API module: activation.jar jaxb-api.jar jsr173_api.jar Proposed public-packages of JAXB API module: <package>javax.activation</package> <package>javax.xml.bind</package> <package>javax.xml.bind.annotation</package> <package>javax.xml.bind.annotation.adapters</package> <package>javax.xml.bind.attachment</package> <package>javax.xml.bind.helpers</package> <package>javax.xml.bind.util</package> <package>javax.xml.stream</package> <package>javax.xml.stream.events</package> <package>javax.xml.stream.util</package> The rest two jar files will be left in JAXB implementation module.
The similar split was already done with JAX-WS library.
This "task" was implemented already. See : module "org.netbeans.modules.xml.jaxb.api" (xml.jaxb.api) and module "org.netbeans.libs.jaxb" (libs.jaxb)