Service com.sun.jdi.connect.spi.TransportService missing from jdk.tools

Alan Bateman Alan.Bateman at oracle.com
Tue May 15 04:03:25 PDT 2012


On 15/05/2012 11:30, Paul Sandoz wrote:
> Hi,
>
> The service com.sun.jdi.connect.spi.TransportService is missing from the jdk.tools generated module-info.java, there is no reference in the jdk/make/modules/jdk.depconfig. Is that intentional?
>
> Another, related, service com.sun.jdi.connect.Connector is present in the jdk.tools module-info.java.
>
> Paul.
>
It's not intentional as JDI transport services can be installed as 
service providers. Adding the following to jdk.depconfig should fix it:

@Provider(optional)
   com.sun.tools.jdi.VirtualMachineManagerImpl -> 
META-INF/services/com.sun.jdi.connect.spi.TransportService

-Alan.





More information about the jigsaw-dev mailing list