[jdk8u-dev] Request for review and approval 8210736: jdk/javax/xml/crypto/dsig/GenerationTests.java slow on linux

Alan Bateman Alan.Bateman at oracle.com
Fri Oct 5 08:10:00 UTC 2018



On 04/10/2018 19:39, Seán Coffey wrote:
> I'd like to backport this fix to jdk8u-dev. The same change as JDK 12 
> is made. I'll create a backport record for 11 Updates.
>
> I  didn't remove SecureRandom import statement since it's still used 
> in the JDK 8u test.
>
> JDK 12 changeset : http://hg.openjdk.java.net/jdk/jdk/rev/5f868838bc5f
> review thread : 
> http://mail.openjdk.java.net/pipermail/security-dev/2018-September/018198.html
>
> JDK 8u patch :
>
> diff --git a/test/javax/xml/crypto/dsig/GenerationTests.java 
> b/test/javax/xml/crypto/dsig/GenerationTests.java
> --- a/test/javax/xml/crypto/dsig/GenerationTests.java
> +++ b/test/javax/xml/crypto/dsig/GenerationTests.java
> @@ -23,11 +23,12 @@
>
>  /**
>   * @test
> - * @bug 4635230 6283345 6303830 6824440 6867348 7094155 8038184 
> 8038349 8074784
> + * @bug 4635230 6283345 6303830 6824440 6867348 7094155 8038184
> + * 8038349 8074784 8210736
>   * @summary Basic unit tests for generating XML Signatures with JSR 105
>   * @compile -XDignore.symbol.file KeySelectors.java 
> SignatureValidator.java
>   *     X509KeySelector.java GenerationTests.java
> - * @run main/othervm GenerationTests
> + * @run main/othervm -Dsun.net.httpserver.nodelay=true GenerationTests
>   * @author Sean Mullan
>   */
>
I reviewed this test fix for Max on security-dev. The fix for jdk8u-dev 
looks okay too.

-Alan.







More information about the jdk8u-dev mailing list