RFR: 8156499 Update jlink to support creating images with modules that are packaged as multi-release JARs

Mandy Chung mandy.chung at oracle.com
Mon Aug 22 21:04:04 UTC 2016

> On Aug 22, 2016, at 1:35 PM, Chris Hegarty <chris.hegarty at oracle.com> wrote:
>> On 22 Aug 2016, at 19:24, Steve Drach <steve.drach at oracle.com> wrote:
>>> Er, I thought the plan was for the set of concealed packages to be the same. It's okay for the ConcealedPackages in the base section to include "empty" packages.
>> I wasn’t involved with that decision.  Chris wrote that code, perhaps he can comment.
> This surprises me, as I have the same recollection as Alan; no additional
> concealed packages are allowable in the versioned section.
> I just checked the jar tool, and it does NOT add any versioned specific
> concealed packages.

If a JAR file contains an empty directory, should `q` be considered as a concealed package in the base section?

$ jar -t --file hi.jar

currently not:

$ jar -d --file mr.jar
  requires mandated java.base
  conceals p


More information about the jigsaw-dev mailing list