Proposal to enhance jdeps tool to search split packages/add some kind of general API

Patrick Reinhart patrick at reini.net
Fri Nov 13 21:34:45 UTC 2015


> Am 13.11.2015 um 09:20 schrieb Alan Bateman <Alan.Bateman at oracle.com>:
> 
> On 13/11/2015 03:49, Mandy Chung wrote:
>> :
>> A tool to detect split packages and some other characteristics to aid migration to modules would be useful. I tend to think that belongs to a different tool that can build other additional analysis in it.
> I was chatting briefly with Patrick about this at Devoxx. For detecting split packages on a class path then I agree, it feels like another tool because it doesn't have to do any static analysis of the classes. More generally, I expect there will be many ideas and suggestions for things that jdeps could do. If we get to the point where it has an API then at least some of these ideas could be developed as tools that use the API.

For now, I’m thinking on providing only that much information, to help find out if there exist split packages at all. I agree that this can be done in a separate tool also and may fit better, even tough I believe having warnings in case of a split package shows up while analyzing the dependencies would be a good thing to have to start from. That would be the starting point using a second tool that would maybe help doing some extended analysis.

Patrick


More information about the jigsaw-dev mailing list