Exporting - the wrong default?
Russell Gold
russell.gold at oracle.com
Thu Jul 28 14:47:27 UTC 2016
> On Jul 28, 2016, at 9:09 AM, Stephen Colebourne <scolebourne at joda.org> wrote:
>
> As I have shown, in most libraries,
> 90%+ of the packages need to be exposed - hiding packages is the
> minority/specialist use case (the JDK is unusual in the packages it
> wants to hide).
Did you show this in an article we can access? I’ve done some open-source libraries, in which fewer than half of the packages really needed to be exported. Maybe it depends on how they are written? After all, without this capability, many developers might not have felt motivated to organize their code to minimize package visibility.
More information about the jigsaw-dev
mailing list