Adding module causes classloading issues

Alan Bateman Alan.Bateman at oracle.com
Tue Nov 28 10:48:48 UTC 2017


On 28/11/2017 09:14, Michael Hall wrote:
> It’s a little alarming jdeps might report false dependencies? I would rather spare you the full output. How about…
>
> jdeps halfpipe.jar | grep corba
> halfpipe.jar -> java.corba
>     org.cmdline                                        -> javax.rmi                                          java.corba
I assume `jdeps -verbose:class` will reveal that there is some in the 
org.cmdline package with a reference to javax.rmi.PortableRemoteObject. 
That class isn't used much beyond RMI-IIOP and maybe something you can 
drop if an alternative is possible.


> :
>
>
>> As Alex mentioned, this case is crying out for the XA-less JTA that Alex mentioned. Hopefully the JSR 907 spec lead will sort this out soon.
> Also a little sorry to hear the code is crying out but again it may be best to put it on hold then.
>
Once there is a version of java.transaction published to Maven without 
the XA package then it will be a lot simpler.

-Alan


More information about the jigsaw-dev mailing list