Review Request: JDK-8174740: RuntimeException: Module m's descriptor returns inconsistent package set

Alan Bateman Alan.Bateman at oracle.com
Sun Feb 12 16:31:06 UTC 2017



On 10/02/2017 22:25, Mandy Chung wrote:
> Webrev:
>    http://cr.openjdk.java.net/~mchung/jdk9/webrevs/8174740/webrev.00/
>
> jlink system modules plugin incorrectly assumes that ModuleDescriptor::packages returns an empty set if the ModulePackages attribute is not present and no packageFinder supplier is provided.  That’s not the case when the module descriptor contains exports/open packages. This fixes how the plugin determines if ModulePackages attribute is present.
>
This looks okay to me.

-Alan


More information about the jigsaw-dev mailing list