jmod question

mark.reinhold at oracle.com mark.reinhold at oracle.com
Wed Jun 2 20:51:02 PDT 2010


> Date: Wed, 02 Jun 2010 16:22:32 -0700
> From: jonathan.gibbons at oracle.com

> What's the rationale for the --parent option for jmod, to apply an operation to
> the parent of the specified library -- shouldn't the user  just specify the
> parent library as the value for -L?
> 
> The existence of -p/--parent leaves to a potential confusion between
> -p/--parent and -P/--parent-path.

Agreed.  The -p option is poorly documented.

The intent is that if a subcommand does something with the requested
library then -p includes its parent library (and its parent, etc., all
the way up the chain).

Right now it only applies to the list subcommand, so that "jmod list -p"
shows you all modules in the requested library and all of its parents.

It probably make sense for -p to apply to a few other subcommands, but
I haven't yet thought through the cases.

- Mark



More information about the jigsaw-dev mailing list