[11] RFR JDK-8196310: jlink --suggest-providers fails with missing resource if --output specified

mandy chung mandy.chung at oracle.com
Wed Jan 31 18:17:08 UTC 2018


Hi Lance,

--suggest-providers takes an optional argument (comma-separated list
of service types) and anything following it is not accepted.
So "does not accept" is appropriate in this error message.

Mandy

On 1/30/18 5:09 PM, Lance Andersen wrote:
> Looks OK Mandy
>
> could also tweak the message to
>
> …does not accept *the* “-output…”
>
> or
>
> …does not *support* *the* “-output…”
>
> Best
> Lance
>> On Jan 30, 2018, at 7:31 PM, mandy chung <mandy.chung at oracle.com 
>> <mailto:mandy.chung at oracle.com>> wrote:
>>
>> (resend with fixed formatting)
>>
>> Webrev:
>> http://cr.openjdk.java.net/~mchung/jdk11/webrevs/8196310/webrev.00/ 
>> <http://cr.openjdk.java.net/%7Emchung/jdk11/webrevs/8196310/webrev.00/>
>>
>>
>> Improve the error message when invalid argument is specified to
>> --suggest-providers option.
>>
>>
>> $ jlink --add-modules java.base --suggest-providers 
>> java.security.Provider --output myimage
>> Error: --suggest-providers does not accept "--output myimage" argument
>>
>>
>> Mandy
>>
>
> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
> <http://oracle.com/us/design/oracle-email-sig-198324.gif><http://oracle.com/us/design/oracle-email-sig-198324.gif>
> <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance 
> Andersen| Principal Member of Technical Staff | +1.781.442.2037
> Oracle Java Engineering
> 1 Network Drive
> Burlington, MA 01803
> Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>
>
>
>



More information about the jigsaw-dev mailing list