[jdk17u-dev] RFR: 8281234: The -protected option is not always checked in keytool and jarsigner

Goetz Lindenmaier goetz at openjdk.org
Fri Dec 27 12:29:36 UTC 2024


On Sun, 22 Dec 2024 10:46:58 GMT, Goetz Lindenmaier <goetz 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.

This parses the -J$java.classes I added above. It replaces it by -J/path/to/jtreg/workdir/classes/0/sun/security/tools/jarsigner/AutoKeyStore.d

I think this is a bit of exagerated gymnastics to be able to use plain """ strings in the test. But as the original test introduced this $test.classes syntax I thought I better keep it that way.

I coudl add to the docu above that it now supports {https://github.com/code -J$sysProp}.

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/3163#issuecomment-2563654790


More information about the jdk-updates-dev mailing list