RFR: JDK-8158402 - jlink: should use regex for all pattern operations (--order-resources or --exclude-resources)

Alan Bateman Alan.Bateman at oracle.com
Thu Jun 9 14:52:27 UTC 2016


On 09/06/2016 12:52, Chris Hegarty wrote:

> :
> As things currently stand --hash-modules accepts a regex, and --exclude
> accepts a glob. So this change does not affect default behaviour.
>
> It makes sense for --exclude to take a glob ( and optionally a regex ).
> I don’t think it makes sense for --hash-modules to take anything other
> than a regex.
>
> Are there issues with this?
>
Just consistency as it's not clear how the user of the tools knows what 
to use. I assume Jim will post an updated patch with the usage messages 
and we can see how it looks.

-Alan


More information about the jigsaw-dev mailing list