JDK 9 RFR of Update to RegEx test to use random number library (original) (raw)

Joseph D. Darcy joe.darcy at oracle.com
Tue May 5 21:53:31 UTC 2015


Hello,

The regression test

 test/java/util/regex/RegExTest.java

has been observed to intermittently fail. As the test uses randomness, I'd like to update to the test to use the random number testing library to better identify the cause of any future failures.

Please review the patch below:

diff -r 207c1b0356ea test/java/util/regex/RegExTest.java --- a/test/java/util/regex/RegExTest.java Tue May 05 17:55:16 2015 +0100 +++ b/test/java/util/regex/RegExTest.java Tue May 05 14:50:10 2015 -0700 @@ -23,7 +23,7 @@

/**

@@ -50,7 +53,7 @@ */ public class RegExTest {

Thanks,

-Joe



More information about the core-libs-dev mailing list