RFR: 8279995: jpackage --add-launcher option should allow overriding description

Alexander Matveev almatvee at openjdk.java.net
Wed Feb 9 18:57:06 UTC 2022


On Wed, 9 Feb 2022 12:35:59 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

>> Added ability to override description for additional launchers via "description" property.
>
> test/jdk/tools/jpackage/share/AddLauncherTest.java line 93:
> 
>> 91:         new AdditionalLauncher("Baz2")
>> 92:                 .setDefaultArguments()
>> 93:                 .addRawProperties(Map.entry("description", "Baz2 Description"))
> 
> How expected description is verified in the test?

I do not think that we have ability to check description on executable files. I added it for manual verification.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7399


More information about the core-libs-dev mailing list