RFR 8075618: Create tests to check jarsigner work with multi-version jar
Wang Weijun
weijun.wang at oracle.com
Tue Dec 13 02:31:58 UTC 2016
Hi Amanda
Can you also test the new JarSigner API?
http://hg.openjdk.java.net/jdk9/dev/jdk/rev/ce33c780cfbd
line 2.72 has an example on it.
> On Dec 13, 2016, at 9:22 AM, Artem Smotrakov <artem.smotrakov at oracle.com> wrote:
>
> You can use http://hg.openjdk.java.net/jdk9/dev/jdk/file/d4d7f1f0d688/test/lib/security/SecurityTools.java which would simplify the code. This lib was added to be used in such tests.
Correct. I also wonder if there are existing methods on javac compilation.
Do we have existing tests on checking if a signed multi-version jar works as expected? Say, permission granted, getCertificates() returning non-null, etc?
Thanks
Max
More information about the security-dev
mailing list