On 08/06/2016 20:45, Jim Laskey (Oracle) wrote:
Consistent use of PathPatterns for jlink, jimage and jmod options.
—optionName=(regex:|glob:|<nil>)<pattern> ?? where <nil><pattern> =>
glob:<pattern>
http://cr.openjdk.java.net/~jlaskey/8158402/webrev/index.html
<http://cr.openjdk.java.net/~jlaskey/8158402/webrev/index.html>
https://bugs.openjdk.java.net/browse/JDK-8158402
<https://bugs.openjdk.java.net/browse/JDK-8158402>
This look okay to me but two questions:
1. Do any of the usage resources need to be updated?
2. Does this introduce an inconsistency in the jmod tool in that
--hash-modules takes a regex whereas --exclude takes a pattern that is a
glob (at least by default, it could be a regex too if prefixed with
"regex:").
-Alan