Some comments:

1. Maybe use jdk/testlibrary/JDKToolLauncher.java to launch jarsigner?

2. You mentioned it's difficult to set a security provider in java.security 
file. Have you tried "-Djava.security.properties=="? It is described at the 
beginning of java.security.

Thanks
Max

> On Nov 23, 2015, at 9:14 PM, Siba Sahoo <sibabrata.sa...@oracle.com> wrote:
> 
> +HYPERLINK "mailto:security-dev@openjdk.java.net"security-dev@openjdk.java.net
> 
> 
> 
> From: Siba Sahoo 
> Sent: Monday, November 23, 2015 4:56 PM
> To: jigsaw-...@openjdk.java.net; jdk-security-dev_ww_grp; Sean Mullan
> Subject: [9] RFR:8130360: Add tests to verify 3rd party security providers if 
> they are in signed/unsigned modular JARs
> 
> 
> 
> Hi,
> 
> 
> 
> Please help me with your review of this test for JBS: 
> https://bugs.openjdk.java.net/browse/JDK-8130360, 
> 
> 
> 
> Webrev: http://cr.openjdk.java.net/~asmotrak/siba/8130360/webrev.01/
> 
> 
> 
> Description
> 
> Tests to verify 3rd party security providers if they are in signed/unsigned 
> modular JARs. The test code checks the modular behavior with different 
> combination of separate client & security provider, when available as 
> modular(signed/unsigned) jar. It address total  of 72 test cases with the 
> following criteria:
> 
> 
> 
> (Signed/Unsigned Jar) X (ClassLoader/ServiceLoader) X (combination of 
> EXPLICIT/AUTO/UNAMED modules) X (With/Without Service descriptor) 
> 
> 
> 
> Thanks,
> 
> Siba
> 
> 

Reply via email to