jdeps -check: add section on exports
anthony.vanelverdinghe at gmail.com
Wed Mar 23 18:26:24 UTC 2016
It would be great if jdeps -check would also have a section on exports:
this section would list non-exported packages which contain types that
are exposed (e.g. through method signatures) by exported packages.
Ideally, those appearances should be listed under each package, i.e.:
type X is exposed by member Y of exported type Z
Using this, one could easily see whether the package should indeed be
exported, or whether a method was mistakenly made public, or ...
JDK-8147050 already mentions the similar case of checking whether or not
a "requires" ought to be public.
What do you think? Should I file an issue for this?
More information about the jigsaw-dev