jmod question

Rémi Forax forax at univ-mlv.fr
Thu Jun 3 00:48:53 PDT 2010


Le 03/06/2010 05:51, mark.reinhold at oracle.com a écrit :
>> 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
>    

Perhaps -p should be renamed to -r/--recursive.

Rémi



More information about the jigsaw-dev mailing list