Additional JAX-WS/JAXB services, issue with declaring service provider class
Paul Sandoz
paul.sandoz at oracle.com
Wed Jun 13 07:00:45 PDT 2012
Hi,
There are three more internal services that need to be declared for JAX-WS/JAXB:
---
jdk $ hg diff
diff -r 5185aec6cc3d make/modules/jdk.depconfig
--- a/make/modules/jdk.depconfig Mon Jun 11 15:28:01 2012 +0200
+++ b/make/modules/jdk.depconfig Wed Jun 13 15:59:18 2012 +0200
@@ -543,6 +543,15 @@
javax.xml.soap.SOAPFactory -> META-INF/services/javax.xml.soap.SOAPFactory
@Provider(optional)
+ com.sun.tools.internal.ws.wscompile.WsimportOptions -> META-INF/services/com.sun.tools.internal.ws.wscompile.Plugin
+
+ at Provider(optional)
+ com.sun.tools.internal.xjc.Options -> META-INF/services/com.sun.tools.internal.xjc.Plugin
+
+ at Provider(optional)
+ com.sun.xml.internal.ws.spi.db.BindingContextFactory -> META-INF/services/com.sun.xml.internal.ws.spi.db.BindingContextFactory
+
+ at Provider(optional)
javax.sound.midi.spi.MidiDeviceProvider -> META-INF/services/javax.sound.midi.spi.MidiDeviceProvider
@Provider(optional)
---
However com.sun.xml.internal.ws.spi.db.BindingContextFactory is problematic.
The following is generated in the jdk.jaxws module:
module jdk.jaxws @ 8-ea {
...
requires optional service com.sun.xml.internal.ws.spi.db.BindingContextFactory;
...
view jdk.jaxws.internal {
...
exports com.sun.xml.internal.ws.spi.db;
...
}
}
But there is no service provider class declaration in the jdk.jaxws.internal view:
providers service com.sun.xml.internal.ws.spi.db.BindingContextFactory with
com.sun.xml.internal.ws.db.glassfish.JAXBRIContextFactory;
Is this an issue with the generation of module-info files or do i need to declare some additional information in one of the files in jdk/make/modules?
Paul.
More information about the jigsaw-dev
mailing list