RFR 8168374: TsacertOptionTest.java fails on all platforms

Vincent Ryan vincent.x.ryan at oracle.com
Thu Oct 20 06:08:51 UTC 2016


Your fix looks fine to me.
Thanks.

> On 20 Oct 2016, at 05:21, Wang Weijun <weijun.wang at oracle.com> wrote:
> 
> Please review this test change:
> 
> diff --git a/test/sun/security/tools/jarsigner/TsacertOptionTest.java b/test/sun/security/tools/jarsigner/TsacertOptionTest.java
> --- a/test/sun/security/tools/jarsigner/TsacertOptionTest.java
> +++ b/test/sun/security/tools/jarsigner/TsacertOptionTest.java
> @@ -31,6 +31,7 @@
>  * @library /lib/testlibrary warnings
>  * @modules java.base/sun.security.pkcs
>  *          java.base/sun.security.timestamp
> + *          java.base/sun.security.tools.keytool
>  *          java.base/sun.security.util
>  *          java.base/sun.security.x509
>  *          java.management
> 
> TsacertOptionTest.java references another file TimestampCheck.java which uses a class in this private package, and compilation fails.
> 
> Unfortunately JPRT has not caught this because TimestampCheck.java was executed earlier (which itself is also a @test and includes the property @modules line).
> 
> Noreg-self.
> 
> Thanks
> Max
> 




More information about the security-dev mailing list