[jdk17u-dev] RFR: 8281234: The -protected option is not always checked in keytool and jarsigner
Goetz Lindenmaier
goetz at openjdk.org
Mon Dec 23 12:50:44 UTC 2024
On Mon, 23 Dec 2024 11:37:05 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
>> I would like to fix this issue in 17. I think it's important to get this feature rigtht.
>>
>> I had to work around missing "8281175: Add a -providerPath option to jarsigner" in the test, else the patch would be clean.
>
> test/jdk/sun/security/tools/jarsigner/AutoKeyStore.java line 64:
>
>> 62: -J--add-exports -Jjava.base/sun.security.x509=ALL-UNNAMED
>> 63: -providerClass AutoKeyStore$AutoProvider
>> 64: -providerPath $test.classes
>
> You changed the code below due to missing "8281175: Add a -providerPath option to jarsigner", but here, there is still "-providerPath".
The code above calls keytool which supports the argument. jarsigner does not. For jarsigner it was added by above mentioned change.
-------------
PR Review Comment: https://git.openjdk.org/jdk17u-dev/pull/3163#discussion_r1895719038
More information about the jdk-updates-dev
mailing list