--- a/jdk/test/java/lang/Double/ParseHexFloatingPoint.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/java/lang/Double/ParseHexFloatingPoint.java Fri May 08 11:02:33 2015 +0100
@@ -32,6 +32,8 @@
* @key randomness
*/
+import jdk.testlibrary.RandomFactory;
+
public class ParseHexFloatingPoint {
private ParseHexFloatingPoint(){}
--- a/jdk/test/java/lang/Integer/BitTwiddle.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/java/lang/Integer/BitTwiddle.java Fri May 08 11:02:33 2015 +0100
@@ -33,6 +33,7 @@
*/
import java.util.Random;
+import jdk.testlibrary.RandomFactory;
import static java.lang.Integer.*;
public class BitTwiddle {
--- a/jdk/test/java/lang/Long/BitTwiddle.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/java/lang/Long/BitTwiddle.java Fri May 08 11:02:33 2015 +0100
@@ -33,6 +33,7 @@
*/
import java.util.Random;
+import jdk.testlibrary.RandomFactory;
import static java.lang.Long.*;
public class BitTwiddle {
--- a/jdk/test/java/lang/Math/CubeRootTests.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/java/lang/Math/CubeRootTests.java Fri May 08 11:02:33 2015 +0100
@@ -32,6 +32,8 @@
* @key randomness
*/
+import jdk.testlibrary.RandomFactory;
+
public class CubeRootTests {
private CubeRootTests(){}
--- a/jdk/test/java/lang/Math/HypotTests.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/java/lang/Math/HypotTests.java Fri May 08 11:02:33 2015 +0100
@@ -32,6 +32,8 @@
* @key randomness
*/
+import jdk.testlibrary.RandomFactory;
+
public class HypotTests {
private HypotTests(){}
--- a/jdk/test/java/lang/Math/IeeeRecommendedTests.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/java/lang/Math/IeeeRecommendedTests.java Fri May 08 11:02:33 2015 +0100
@@ -32,6 +32,8 @@
* @key randomness
*/
+import jdk.testlibrary.RandomFactory;
+
public class IeeeRecommendedTests {
private IeeeRecommendedTests(){}
--- a/jdk/test/java/lang/Math/Log1pTests.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/java/lang/Math/Log1pTests.java Fri May 08 11:02:33 2015 +0100
@@ -32,6 +32,8 @@
* @key randomness
*/
+import jdk.testlibrary.RandomFactory;
+
public class Log1pTests {
private Log1pTests(){}
--- a/jdk/test/java/math/BigDecimal/StringConstructor.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/java/math/BigDecimal/StringConstructor.java Fri May 08 11:02:33 2015 +0100
@@ -33,6 +33,7 @@
import java.math.*;
import java.util.Random;
+import jdk.testlibrary.RandomFactory;
public class StringConstructor {
--- a/jdk/test/java/math/BigInteger/BigIntegerTest.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/java/math/BigInteger/BigIntegerTest.java Fri May 08 11:02:33 2015 +0100
@@ -40,6 +40,7 @@
import java.io.ObjectOutputStream;
import java.math.BigInteger;
import java.util.Random;
+import jdk.testlibrary.RandomFactory;
/**
* This is a simple test class created to ensure that the results
--- a/jdk/test/java/math/BigInteger/ModPow65537.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/java/math/BigInteger/ModPow65537.java Fri May 08 11:02:33 2015 +0100
@@ -37,6 +37,7 @@
import java.security.*;
import java.security.spec.*;
import java.util.Random;
+import jdk.testlibrary.RandomFactory;
public class ModPow65537 {
--- a/jdk/test/java/math/BigInteger/PrimeTest.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/java/math/BigInteger/PrimeTest.java Fri May 08 11:02:33 2015 +0100
@@ -40,6 +40,7 @@
import java.util.Set;
import java.util.SplittableRandom;
import java.util.TreeSet;
+import jdk.testlibrary.RandomFactory;
import static java.util.stream.Collectors.toCollection;
import static java.util.stream.Collectors.toList;
--- a/jdk/test/java/math/BigInteger/SymmetricRangeTests.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/java/math/BigInteger/SymmetricRangeTests.java Fri May 08 11:02:33 2015 +0100
@@ -40,6 +40,7 @@
import java.util.Arrays;
import java.math.BigInteger;
import java.util.Random;
+import jdk.testlibrary.RandomFactory;
public class SymmetricRangeTests {
--- a/jdk/test/java/util/regex/RegExTest.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/java/util/regex/RegExTest.java Fri May 08 11:02:33 2015 +0100
@@ -46,6 +46,7 @@
import java.util.*;
import java.nio.CharBuffer;
import java.util.function.Predicate;
+import jdk.testlibrary.RandomFactory;
/**
* This is a test class created to check the operation of
--- a/jdk/test/lib/testlibrary/jdk/testlibrary/RandomFactory.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/lib/testlibrary/jdk/testlibrary/RandomFactory.java Fri May 08 11:02:33 2015 +0100
@@ -21,6 +21,8 @@
* questions.
*/
+package jdk.testlibrary;
+
import java.util.Random;
import java.util.SplittableRandom;
--- a/jdk/test/sun/security/pkcs11/rsa/TestKeyPairGenerator.java Fri May 08 10:22:18 2015 +0100
+++ b/jdk/test/sun/security/pkcs11/rsa/TestKeyPairGenerator.java Fri May 08 11:02:33 2015 +0100
@@ -40,6 +40,7 @@
import java.security.*;
import java.security.interfaces.*;
import java.security.spec.*;
+import jdk.testlibrary.RandomFactory;
public class TestKeyPairGenerator extends PKCS11Test {