8078334: Mark regression tests using randomness
authordarcy
Wed, 29 Apr 2015 10:25:53 -0700
changeset 30046 cf2c86e1819e
parent 30045 719de2e9d356
child 30047 63b6a16968d5
8078334: Mark regression tests using randomness Reviewed-by: xuelei, alanb
jdk/test/TEST.ROOT
jdk/test/com/oracle/security/ucrypto/CipherSignNotSupported.java
jdk/test/com/oracle/security/ucrypto/TestAES.java
jdk/test/com/oracle/security/ucrypto/TestCICOWithGCM.java
jdk/test/com/oracle/security/ucrypto/TestCICOWithGCMAndAAD.java
jdk/test/com/oracle/security/ucrypto/TestDigest.java
jdk/test/com/oracle/security/ucrypto/TestGCMKeyWrap.java
jdk/test/com/sun/crypto/provider/Cipher/AES/CICO.java
jdk/test/com/sun/crypto/provider/Cipher/AES/CTR.java
jdk/test/com/sun/crypto/provider/Cipher/AES/Padding.java
jdk/test/com/sun/crypto/provider/Cipher/AES/Test4513830.java
jdk/test/com/sun/crypto/provider/Cipher/AES/Test4517355.java
jdk/test/com/sun/crypto/provider/Cipher/AES/TestAESCipher.java
jdk/test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCM.java
jdk/test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCMAndAAD.java
jdk/test/com/sun/crypto/provider/Cipher/AES/TestISO10126Padding.java
jdk/test/com/sun/crypto/provider/Cipher/AES/TestNonexpanding.java
jdk/test/com/sun/crypto/provider/Cipher/AES/TestSameBuffer.java
jdk/test/com/sun/crypto/provider/Cipher/DES/FlushBug.java
jdk/test/com/sun/crypto/provider/Cipher/PBE/PBESealedObject.java
jdk/test/com/sun/crypto/provider/Cipher/PBE/PBKDF2Translate.java
jdk/test/com/sun/crypto/provider/Cipher/PBE/PKCS12Cipher.java
jdk/test/com/sun/crypto/provider/Cipher/PBE/TestCipherKeyWrapperPBEKey.java
jdk/test/com/sun/crypto/provider/Cipher/RSA/TestOAEP.java
jdk/test/com/sun/crypto/provider/Cipher/RSA/TestRSA.java
jdk/test/com/sun/crypto/provider/Mac/HmacSaltLengths.java
jdk/test/com/sun/crypto/provider/Mac/MacSameTest.java
jdk/test/com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java
jdk/test/java/io/DataInputStream/ReadUTF.java
jdk/test/java/io/File/GetXSpace.java
jdk/test/java/io/InputStream/TransferTo.java
jdk/test/java/io/PrintStream/OversynchronizedTest.java
jdk/test/java/io/Serializable/corruptedUTFConsumption/CorruptedUTFConsumption.java
jdk/test/java/io/Serializable/longString/LongString.java
jdk/test/java/io/Serializable/proxy/Basic.java
jdk/test/java/io/Serializable/sanityCheck/SanityCheck.java
jdk/test/java/lang/Boolean/MakeBooleanComparable.java
jdk/test/java/lang/ClassLoader/Assert.java
jdk/test/java/lang/Compare.java
jdk/test/java/lang/Double/ParseHexFloatingPoint.java
jdk/test/java/lang/Enum/ValueOf.java
jdk/test/java/lang/HashCode.java
jdk/test/java/lang/Integer/BitTwiddle.java
jdk/test/java/lang/Long/BitTwiddle.java
jdk/test/java/lang/Math/CubeRootTests.java
jdk/test/java/lang/Math/HypotTests.java
jdk/test/java/lang/Math/IeeeRecommendedTests.java
jdk/test/java/lang/Math/Log1pTests.java
jdk/test/java/lang/Runtime/exec/WinCommand.java
jdk/test/java/lang/String/ContentEquals.java
jdk/test/java/lang/String/ICCBasher.java
jdk/test/java/lang/String/SBConstructor.java
jdk/test/java/lang/String/Split.java
jdk/test/java/lang/StringBuffer/AppendCharSequence.java
jdk/test/java/lang/StringBuffer/AppendSB.java
jdk/test/java/lang/StringBuffer/AppendStringBuilder.java
jdk/test/java/lang/StringBuffer/Capacity.java
jdk/test/java/lang/StringBuffer/IndexOf.java
jdk/test/java/lang/StringBuffer/SBBasher.java
jdk/test/java/lang/StringBuffer/Trim.java
jdk/test/java/lang/StringBuilder/AppendStringBuffer.java
jdk/test/java/lang/ToString.java
jdk/test/java/lang/instrument/SingleTransformerTest.java
jdk/test/java/lang/instrument/TransformMethodTest.java
jdk/test/java/lang/invoke/MethodHandles/CatchExceptionTest.java
jdk/test/java/lang/management/BufferPoolMXBean/Basic.java
jdk/test/java/math/BigDecimal/StringConstructor.java
jdk/test/java/math/BigInteger/BigIntegerTest.java
jdk/test/java/math/BigInteger/ModPow65537.java
jdk/test/java/math/BigInteger/PrimeTest.java
jdk/test/java/math/BigInteger/SymmetricRangeTests.java
jdk/test/java/net/InetAddress/HashSpread.java
jdk/test/java/nio/Buffer/Chars.java
jdk/test/java/nio/MappedByteBuffer/Force.java
jdk/test/java/nio/MappedByteBuffer/ZeroMap.java
jdk/test/java/nio/channels/AsynchronousChannelGroup/Basic.java
jdk/test/java/nio/channels/AsynchronousChannelGroup/Identity.java
jdk/test/java/nio/channels/AsynchronousChannelGroup/Restart.java
jdk/test/java/nio/channels/AsynchronousFileChannel/Basic.java
jdk/test/java/nio/channels/AsynchronousFileChannel/Lock.java
jdk/test/java/nio/channels/AsynchronousFileChannel/LotsOfWrites.java
jdk/test/java/nio/channels/AsynchronousSocketChannel/Basic.java
jdk/test/java/nio/channels/AsynchronousSocketChannel/StressLoopback.java
jdk/test/java/nio/channels/Channels/Basic2.java
jdk/test/java/nio/channels/Channels/ShortWrite.java
jdk/test/java/nio/channels/DatagramChannel/AdaptDatagramSocket.java
jdk/test/java/nio/channels/DatagramChannel/MulticastSendReceiveTests.java
jdk/test/java/nio/channels/DatagramChannel/Promiscuous.java
jdk/test/java/nio/channels/FileChannel/AtomicAppend.java
jdk/test/java/nio/channels/FileChannel/ClosedByInterrupt.java
jdk/test/java/nio/channels/FileChannel/MapTest.java
jdk/test/java/nio/channels/FileChannel/Position.java
jdk/test/java/nio/channels/FileChannel/Pread.java
jdk/test/java/nio/channels/FileChannel/Pwrite.java
jdk/test/java/nio/channels/FileChannel/Size.java
jdk/test/java/nio/channels/FileChannel/Transfer.java
jdk/test/java/nio/channels/FileChannel/Truncate.java
jdk/test/java/nio/channels/Pipe/PipeChannel.java
jdk/test/java/nio/channels/Pipe/ScatteringRead.java
jdk/test/java/nio/channels/Pipe/SelectPipe.java
jdk/test/java/nio/channels/Selector/SelectorTest.java
jdk/test/java/nio/channels/ServerSocketChannel/NonBlockingAccept.java
jdk/test/java/nio/channels/SocketChannel/CloseDuringWrite.java
jdk/test/java/nio/channels/SocketChannel/OutOfBand.java
jdk/test/java/nio/channels/SocketChannel/ShortWrite.java
jdk/test/java/nio/channels/SocketChannel/VectorIO.java
jdk/test/java/nio/channels/etc/AdaptorCloseAndInterrupt.java
jdk/test/java/nio/charset/coders/BashCache.java
jdk/test/java/nio/charset/coders/BashStreams.java
jdk/test/java/nio/file/Files/BytesAndLines.java
jdk/test/java/nio/file/Files/CopyAndMove.java
jdk/test/java/nio/file/Files/walkFileTree/SkipSiblings.java
jdk/test/java/nio/file/Files/walkFileTree/SkipSubtree.java
jdk/test/java/nio/file/Files/walkFileTree/TerminateWalk.java
jdk/test/java/nio/file/WatchService/LotsOfEvents.java
jdk/test/java/nio/file/WatchService/MayFlies.java
jdk/test/java/nio/file/WatchService/SensitivityModifier.java
jdk/test/java/nio/file/attribute/AclFileAttributeView/Basic.java
jdk/test/java/nio/file/attribute/FileTime/Basic.java
jdk/test/java/nio/file/attribute/UserDefinedFileAttributeView/Basic.java
jdk/test/java/security/MessageDigest/ByteBuffers.java
jdk/test/java/security/MessageDigest/TestDigestIOStream.java
jdk/test/java/security/MessageDigest/TestSameLength.java
jdk/test/java/security/MessageDigest/TestSameValue.java
jdk/test/java/security/Signature/ByteBuffers.java
jdk/test/java/security/Signature/NONEwithRSA.java
jdk/test/java/security/spec/EllipticCurveMatch.java
jdk/test/java/sql/JavatimeTest.java
jdk/test/java/text/Format/MessageFormat/Bug7003643.java
jdk/test/java/util/Arrays/ArrayObjectMethods.java
jdk/test/java/util/Arrays/CopyMethods.java
jdk/test/java/util/Arrays/Correct.java
jdk/test/java/util/Base64/TestBase64.java
jdk/test/java/util/BitSet/BSMethods.java
jdk/test/java/util/BitSet/ImportExport.java
jdk/test/java/util/BitSet/PreviousBits.java
jdk/test/java/util/Calendar/JavatimeTest.java
jdk/test/java/util/Collection/MOAT.java
jdk/test/java/util/Collections/AddAll.java
jdk/test/java/util/Collections/CheckedListBash.java
jdk/test/java/util/Collections/CheckedMapBash.java
jdk/test/java/util/Collections/CheckedSetBash.java
jdk/test/java/util/Collections/Disjoint.java
jdk/test/java/util/Collections/Rotate.java
jdk/test/java/util/EnumSet/EnumSetBash.java
jdk/test/java/util/HashSet/Serialization.java
jdk/test/java/util/IdentityHashMap/Capacity.java
jdk/test/java/util/List/LockStep.java
jdk/test/java/util/Map/LockStep.java
jdk/test/java/util/NavigableMap/LockStep.java
jdk/test/java/util/Properties/ConcurrentLoadAndStoreXML.java
jdk/test/java/util/Random/DistinctSeeds.java
jdk/test/java/util/Random/RandomStreamTest.java
jdk/test/java/util/Random/RandomTest.java
jdk/test/java/util/ResourceBundle/Control/StressTest.java
jdk/test/java/util/SplittableRandom/SplittableRandomTest.java
jdk/test/java/util/Timer/DelayOverflow.java
jdk/test/java/util/Timer/Purge.java
jdk/test/java/util/UUID/Serial.java
jdk/test/java/util/UUID/UUIDTest.java
jdk/test/java/util/WeakHashMap/GCDuringIteration.java
jdk/test/java/util/logging/CheckZombieLockTest.java
jdk/test/java/util/logging/DrainFindDeadlockTest.java
jdk/test/java/util/logging/FileHandlerLongLimit.java
jdk/test/java/util/logging/FileHandlerPath.java
jdk/test/java/util/logging/FileHandlerPatternExceptions.java
jdk/test/java/util/logging/LogManager/Configuration/ParentLoggerWithHandlerGC.java
jdk/test/java/util/logging/LoggingDeadlock.java
jdk/test/java/util/logging/LoggingDeadlock2.java
jdk/test/java/util/logging/TestLogConfigurationDeadLockWithConf.java
jdk/test/java/util/regex/RegExTest.java
jdk/test/java/util/zip/3GBZipFiles.sh
jdk/test/java/util/zip/DeInflate.java
jdk/test/java/util/zip/DeflateIn_InflateOut.java
jdk/test/java/util/zip/FlaterTest.java
jdk/test/java/util/zip/GZIP/Accordion.java
jdk/test/java/util/zip/GZIP/GZIPInputStreamRead.java
jdk/test/java/util/zip/InflateIn_DeflateOut.java
jdk/test/java/util/zip/InflaterBufferSize.java
jdk/test/java/util/zip/TimeChecksum.java
jdk/test/java/util/zip/TotalInOut.java
jdk/test/java/util/zip/ZipFile/Assortment.java
jdk/test/java/util/zip/ZipFile/ClearStaleZipFileInputStreams.java
jdk/test/java/util/zip/ZipFile/FinalizeZipFile.java
jdk/test/java/util/zip/ZipFile/MultiThreadedReadTest.java
jdk/test/java/util/zip/ZipFile/ReadZip.java
jdk/test/javax/crypto/Cipher/ByteBuffers.java
jdk/test/javax/crypto/CipherSpi/DirectBBRemaining.java
jdk/test/javax/crypto/CryptoPermission/AllPermCheck.java
jdk/test/javax/crypto/CryptoPermission/RC2PermCheck.java
jdk/test/javax/crypto/JceSecurity/SunJCE_BC_LoadOrdering.java
jdk/test/javax/crypto/KeyGenerator/TestKGParity.java
jdk/test/javax/crypto/Mac/ByteBuffers.java
jdk/test/javax/crypto/NullCipher/TestNPE.java
jdk/test/javax/management/monitor/MultiMonitorTest.java
jdk/test/javax/management/mxbean/ThreadMXBeanTest.java
jdk/test/javax/management/remote/mandatory/loading/MissingClassTest.java
jdk/test/javax/management/timer/MissingNotificationTest.java
jdk/test/javax/net/ssl/SSLEngine/LargeBufs.java
jdk/test/javax/smartcardio/TestCommandAPDU.java
jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java
jdk/test/sun/misc/CopyMemory.java
jdk/test/sun/misc/FloatingDecimal/TestFloatingDecimal.java
jdk/test/sun/net/www/ParseUtil_4922813.java
jdk/test/sun/nio/cs/FindDecoderBugs.java
jdk/test/sun/nio/cs/FindEncoderBugs.java
jdk/test/sun/nio/cs/TestStringCoding.java
jdk/test/sun/nio/cs/TestStringCodingUTF8.java
jdk/test/sun/security/mscapi/PrngSlow.java
jdk/test/sun/security/pkcs11/Cipher/ReinitCipher.java
jdk/test/sun/security/pkcs11/Cipher/TestRSACipher.java
jdk/test/sun/security/pkcs11/Cipher/TestRawRSACipher.java
jdk/test/sun/security/pkcs11/Cipher/TestSymmCiphers.java
jdk/test/sun/security/pkcs11/Cipher/TestSymmCiphersNoPad.java
jdk/test/sun/security/pkcs11/KeyGenerator/DESParity.java
jdk/test/sun/security/pkcs11/Mac/MacSameTest.java
jdk/test/sun/security/pkcs11/Mac/ReinitMac.java
jdk/test/sun/security/pkcs11/MessageDigest/ByteBuffers.java
jdk/test/sun/security/pkcs11/MessageDigest/ReinitDigest.java
jdk/test/sun/security/pkcs11/MessageDigest/TestCloning.java
jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java
jdk/test/sun/security/pkcs11/Secmod/Crypto.java
jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java
jdk/test/sun/security/pkcs11/SecureRandom/Basic.java
jdk/test/sun/security/pkcs11/Signature/ByteBuffers.java
jdk/test/sun/security/pkcs11/Signature/ReinitSignature.java
jdk/test/sun/security/pkcs11/Signature/TestDSA.java
jdk/test/sun/security/pkcs11/Signature/TestDSAKeyLength.java
jdk/test/sun/security/pkcs11/ec/ReadPKCS12.java
jdk/test/sun/security/pkcs11/ec/TestCurves.java
jdk/test/sun/security/pkcs11/ec/TestECDSA.java
jdk/test/sun/security/pkcs11/rsa/KeyWrap.java
jdk/test/sun/security/pkcs11/rsa/TestKeyPairGenerator.java
jdk/test/sun/security/pkcs11/rsa/TestSignatures.java
jdk/test/sun/security/provider/DSA/TestDSA.java
jdk/test/sun/security/provider/DSA/TestDSA2.java
jdk/test/sun/security/provider/SeedGenerator/Priority_Inversion.java
jdk/test/sun/security/rsa/TestKeyPairGenerator.java
jdk/test/sun/security/rsa/TestSignatures.java
jdk/test/sun/security/ssl/ClientHandshaker/LengthCheckTest.java
jdk/test/sun/security/ssl/GenSSLConfigs/main.java
--- a/jdk/test/TEST.ROOT	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/TEST.ROOT	Wed Apr 29 10:25:53 2015 -0700
@@ -1,8 +1,15 @@
 # This file identifies the root of the test-suite hierarchy.
 # It also contains test-suite configuration information.
 
-# The list of keywords supported in the entire test suite
-keys=2d dnd i18n intermittent
+# The list of keywords supported in the entire test suite.  The
+# "intermittent" keyword marks tests known to fail intermittently.
+# The "randomness" keyword marks tests using randomness with test
+# cases differing from run to run. (A test using a fixed random seed
+# would not count as "randomness" by this definition.) Extra care
+# should be taken to handle test failures of intermittent or
+# randomness tests.
+
+keys=2d dnd i18n intermittent randomness
 
 # Tests that must run in othervm mode
 othervm.dirs=java/awt java/beans javax/accessibility javax/imageio javax/sound javax/print javax/management com/sun/awt sun/awt sun/java2d sun/pisces javax/xml/jaxp/testng/validation
--- a/jdk/test/com/oracle/security/ucrypto/CipherSignNotSupported.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/oracle/security/ucrypto/CipherSignNotSupported.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Make sure signing via encrypt and verifying via decrypt are not
  * supported by OracleUcrypto provider.
  * @author Anthony Scarpino
+ * @key randomness
  */
 
 import java.util.Random;
--- a/jdk/test/com/oracle/security/ucrypto/TestAES.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/oracle/security/ucrypto/TestAES.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 7088989 8014374
  * @summary Ensure the AES ciphers of OracleUcrypto provider works correctly
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/com/oracle/security/ucrypto/TestCICOWithGCM.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/oracle/security/ucrypto/TestCICOWithGCM.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 8014374
  * @summary Test basic CipherInputStream/OutputStream func w/ GCM mode.
  * @author Valerie Peng
+ * @key randomness
  */
 
 import java.security.*;
--- a/jdk/test/com/oracle/security/ucrypto/TestCICOWithGCMAndAAD.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/oracle/security/ucrypto/TestCICOWithGCMAndAAD.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 8014374
  * @summary Test CipherInputStream/OutputStream func w/ GCM mode and AAD.
  * @author Valerie Peng
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/com/oracle/security/ucrypto/TestDigest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/oracle/security/ucrypto/TestDigest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug     7088989
  * @summary Ensure the various message digests works correctly
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/com/oracle/security/ucrypto/TestGCMKeyWrap.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/oracle/security/ucrypto/TestGCMKeyWrap.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 8014374
  * @summary Ensure key wrap/unwrap works using AES/GCM/NoPadding
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/com/sun/crypto/provider/Cipher/AES/CICO.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/AES/CICO.java	Wed Apr 29 10:25:53 2015 -0700
@@ -44,6 +44,7 @@
  * @summary Test AES ciphers with different modes and padding schemes (ECB mode
  *          doesn't use IV). The test tries 3 different read methods of
  *          CipherInputStream.
+ * @key randomness
  */
 public class CICO {
     private static final String ALGORITHM = "aEs";
--- a/jdk/test/com/sun/crypto/provider/Cipher/AES/CTR.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/AES/CTR.java	Wed Apr 29 10:25:53 2015 -0700
@@ -43,6 +43,7 @@
  * @bug 8043836
  * @summary Test AES ciphers with 4 different modes with NoPadding. Check if
  *          data before encryption and after decryption is the same.
+ * @key randomness
  */
 
 public class CTR {
--- a/jdk/test/com/sun/crypto/provider/Cipher/AES/Padding.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/AES/Padding.java	Wed Apr 29 10:25:53 2015 -0700
@@ -42,6 +42,7 @@
  * @summary Test AES ciphers with different modes and padding schemes (ECB mode
  *          doesn't use IV). The test tries 3 different read methods of
  *          CipherInputStream.
+ * @key randomness
  */
 public class Padding {
 
--- a/jdk/test/com/sun/crypto/provider/Cipher/AES/Test4513830.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/AES/Test4513830.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Verify the output size returned by AES cipher.getOutputSize
  *      method in DECRYPT mode does not add extra bytes for padding
  * @author Valerie Peng
+ * @key randomness
  */
 import java.io.PrintStream;
 import java.security.*;
--- a/jdk/test/com/sun/crypto/provider/Cipher/AES/Test4517355.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/AES/Test4517355.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Verify that AES cipher.doFinal method does NOT need more
  *      than necessary bytes in decrypt mode
  * @author Valerie Peng
+ * @key randomness
  */
 import java.io.PrintStream;
 import java.security.*;
--- a/jdk/test/com/sun/crypto/provider/Cipher/AES/TestAESCipher.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/AES/TestAESCipher.java	Wed Apr 29 10:25:53 2015 -0700
@@ -43,6 +43,7 @@
  *          doesn't use IV).
  * @author Liwen Wang
  * @author Parag Salvi
+ * @key randomness
  */
 public class TestAESCipher {
 
--- a/jdk/test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCM.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCM.java	Wed Apr 29 10:25:53 2015 -0700
@@ -29,6 +29,7 @@
  * @run main TestCICOWithGCM
  * @summary Test CipherInputStream/OutputStream with AES GCM mode.
  * @author Valerie Peng
+ * @key randomness
  */
 
 import java.security.*;
--- a/jdk/test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCMAndAAD.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCMAndAAD.java	Wed Apr 29 10:25:53 2015 -0700
@@ -29,6 +29,7 @@
  * @run main TestCICOWithGCMAndAAD
  * @summary Test CipherInputStream/OutputStream with AES GCM mode with AAD.
  * @author Valerie Peng
+ * @key randomness
  */
 import java.io.*;
 import java.security.*;
--- a/jdk/test/com/sun/crypto/provider/Cipher/AES/TestISO10126Padding.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/AES/TestISO10126Padding.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4921443
  * @summary Ensure ISO10126Padding works correctly.
  * @author Valerie Peng
+ * @key randomness
  */
 import java.util.Arrays;
 import java.security.*;
--- a/jdk/test/com/sun/crypto/provider/Cipher/AES/TestNonexpanding.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/AES/TestNonexpanding.java	Wed Apr 29 10:25:53 2015 -0700
@@ -40,6 +40,7 @@
  * @bug 8043836
  * @summary Test AES encryption with no padding. Expect the original data length
  *          is the same as the encrypted data.
+ * @key randomness
  */
 public class TestNonexpanding {
 
--- a/jdk/test/com/sun/crypto/provider/Cipher/AES/TestSameBuffer.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/AES/TestSameBuffer.java	Wed Apr 29 10:25:53 2015 -0700
@@ -42,6 +42,7 @@
  * @summary Test AES ciphers with different modes and padding schemes (ECB mode
  *          doesn't use IV). The test tries 3 different read methods of
  *          CipherInputStream.
+ * @key randomness
  */
 public class TestSameBuffer {
 
--- a/jdk/test/com/sun/crypto/provider/Cipher/DES/FlushBug.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/DES/FlushBug.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 0000000
  * @summary FlushBug
  * @author Jan Luehe
+ * @key randomness
  */
 import java.io.*;
 import java.security.*;
--- a/jdk/test/com/sun/crypto/provider/Cipher/PBE/PBESealedObject.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/PBE/PBESealedObject.java	Wed Apr 29 10:25:53 2015 -0700
@@ -45,6 +45,7 @@
  * @author Bill Situ
  * @author Alexander Fomin
  * @run main PBESealedObject
+ * @key randomness
  */
 public class PBESealedObject {
 
--- a/jdk/test/com/sun/crypto/provider/Cipher/PBE/PBKDF2Translate.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/PBE/PBKDF2Translate.java	Wed Apr 29 10:25:53 2015 -0700
@@ -37,6 +37,7 @@
  * @summary Verify if the SecretKeyFactory.translateKey() method works
  * @author Alexander Fomin
  * @run main PBKDF2Translate
+ * @key randomness
  */
 public class PBKDF2Translate {
 
--- a/jdk/test/com/sun/crypto/provider/Cipher/PBE/PKCS12Cipher.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/PBE/PKCS12Cipher.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary basic test for PBEWithSHA1AndDESede, PBEWithSHA1AndRC2_40/128
  *          and PBEWithSHA1AndRC4_40/128
  * @author Valerie Peng
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/com/sun/crypto/provider/Cipher/PBE/TestCipherKeyWrapperPBEKey.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/PBE/TestCipherKeyWrapperPBEKey.java	Wed Apr 29 10:25:53 2015 -0700
@@ -45,6 +45,7 @@
  * @author Bill Situ
  * @author Yun Ke
  * @run main TestCipherKeyWrapperPBEKey
+ * @key randomness
  */
 public class TestCipherKeyWrapperPBEKey {
 
--- a/jdk/test/com/sun/crypto/provider/Cipher/RSA/TestOAEP.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/RSA/TestOAEP.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4894151
  * @summary encryption/decryption test for OAEP
  * @author Andreas Sterbenz
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/com/sun/crypto/provider/Cipher/RSA/TestRSA.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/RSA/TestRSA.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4853306
  * @summary Test RSA Cipher implementation
  * @author Andreas Sterbenz
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/com/sun/crypto/provider/Mac/HmacSaltLengths.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Mac/HmacSaltLengths.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary ensures various salt lengths can be used for
  * HmacPBESHA1.
  * @author Valerie Peng
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/com/sun/crypto/provider/Mac/MacSameTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Mac/MacSameTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -35,6 +35,7 @@
  * @author Yu-Ching Valerie Peng, Bill Situ, Alexander Fomin
  * @build Utils
  * @run main MacSameTest
+ * @key randomness
  */
 public class MacSameTest implements MacTest {
 
--- a/jdk/test/com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Basic test of ThreadMXBean.getThreadCpuTime(long[]) and
  *          getThreadUserTime(long[]).
  * @author  Paul Hohensee
+ * @key randomness
  */
 
 import java.lang.management.*;
--- a/jdk/test/java/io/DataInputStream/ReadUTF.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/io/DataInputStream/ReadUTF.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 4806007
  * @summary Checks for vague exceptions from writeUTF/readUTF
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/io/File/GetXSpace.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/io/File/GetXSpace.java	Wed Apr 29 10:25:53 2015 -0700
@@ -28,6 +28,7 @@
  * @run build GetXSpace
  * @run shell GetXSpace.sh
  * @summary Basic functionality of File.get-X-Space methods.
+ * @key randomness
  */
 
 import java.io.BufferedReader;
--- a/jdk/test/java/io/InputStream/TransferTo.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/io/InputStream/TransferTo.java	Wed Apr 29 10:25:53 2015 -0700
@@ -37,6 +37,7 @@
  * @bug 8066867
  * @summary tests whether java.io.InputStream.transferTo conforms to its
  *          contract defined in the javadoc
+ * @key randomness
  */
 public class TransferTo {
 
--- a/jdk/test/java/io/PrintStream/OversynchronizedTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/io/PrintStream/OversynchronizedTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
    @bug 4905777
    @summary PrintStream.println(Object) oversynchronized, can deadlock
+   @key randomness
 */
 
 import java.io.PrintStream;
--- a/jdk/test/java/io/Serializable/corruptedUTFConsumption/CorruptedUTFConsumption.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/io/Serializable/corruptedUTFConsumption/CorruptedUTFConsumption.java	Wed Apr 29 10:25:53 2015 -0700
@@ -28,6 +28,7 @@
  *          ObjectInputStream consumes at most the expected number of utf
  *          bytes, even if the last byte(s) of the utf string indicate that the
  *          string overflows its expected length.
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/io/Serializable/longString/LongString.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/io/Serializable/longString/LongString.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 4217676
  * @summary Ensure that object streams support serialization of long strings
  *          (strings whose UTF representation > 64k in length)
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/io/Serializable/proxy/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/io/Serializable/proxy/Basic.java	Wed Apr 29 10:25:53 2015 -0700
@@ -23,6 +23,7 @@
 
 /* @test
  * @summary Verifies basic correct functioning of proxy serialization.
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/io/Serializable/sanityCheck/SanityCheck.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/io/Serializable/sanityCheck/SanityCheck.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @summary Basic sanity check to test if default (de)serialization is
  *          transmitting values properly.
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/lang/Boolean/MakeBooleanComparable.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/Boolean/MakeBooleanComparable.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug     4329937
  * @summary Basic test for making Boolean implement Comparable
  * @author  Josh Bloch
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/lang/ClassLoader/Assert.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/ClassLoader/Assert.java	Wed Apr 29 10:25:53 2015 -0700
@@ -28,6 +28,7 @@
  * @run main/othervm Assert
  * @summary Test the assertion facility
  * @author Mike McCloskey
+ * @key randomness
  */
 
 import package1.*;
--- a/jdk/test/java/lang/Compare.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/Compare.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 6582946
  * @summary Test the primitive wrappers compare and compareTo methods
+ * @key randomness
  */
 
 import java.util.Random;
--- a/jdk/test/java/lang/Double/ParseHexFloatingPoint.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/Double/ParseHexFloatingPoint.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4826774
  * @summary Numerical tests for hexadecimal inputs to parseDouble, parseFloat
  * @author Joseph D. Darcy
+ * @key randomness
  */
 
 
--- a/jdk/test/java/lang/Enum/ValueOf.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/Enum/ValueOf.java	Wed Apr 29 10:25:53 2015 -0700
@@ -29,6 +29,7 @@
  *
  * @compile ValueOf.java
  * @run main ValueOf
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/lang/HashCode.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/HashCode.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 4245470 7088913
  * @summary Test the primitive wrappers hashCode()
+ * @key randomness
  */
 
 import java.util.Objects;
--- a/jdk/test/java/lang/Integer/BitTwiddle.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/Integer/BitTwiddle.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug     4495754
  * @summary Basic test for int bit twiddling
  * @author  Josh Bloch
+ * @key randomness
  */
 
 import java.util.Random;
--- a/jdk/test/java/lang/Long/BitTwiddle.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/Long/BitTwiddle.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug     4495754
  * @summary Basic test for long bit twiddling
  * @author  Josh Bloch
+ * @key randomness
  */
 
 import java.util.Random;
--- a/jdk/test/java/lang/Math/CubeRootTests.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/Math/CubeRootTests.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4347132 4939441
  * @summary Tests for {Math, StrictMath}.cbrt
  * @author Joseph D. Darcy
+ * @key randomness
  */
 
 public class CubeRootTests {
--- a/jdk/test/java/lang/Math/HypotTests.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/Math/HypotTests.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4851638 4939441
  * @summary Tests for {Math, StrictMath}.hypot
  * @author Joseph D. Darcy
+ * @key randomness
  */
 
 public class HypotTests {
--- a/jdk/test/java/lang/Math/IeeeRecommendedTests.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/Math/IeeeRecommendedTests.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4860891 4826732 4780454 4939441 4826652
  * @summary Tests for IEEE 754[R] recommended functions and similar methods
  * @author Joseph D. Darcy
+ * @key randomness
  */
 
 public class IeeeRecommendedTests {
--- a/jdk/test/java/lang/Math/Log1pTests.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/Math/Log1pTests.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4851638 4939441
  * @summary Tests for {Math, StrictMath}.log1p
  * @author Joseph D. Darcy
+ * @key randomness
  */
 
 public class Log1pTests {
--- a/jdk/test/java/lang/Runtime/exec/WinCommand.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/Runtime/exec/WinCommand.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 5006520
  * @summary Check many different ways to run Windows programs
  * @author Martin Buchholz
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/lang/String/ContentEquals.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/String/ContentEquals.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 4242309 4982981
  * @summary Test equals and contentEquals in String
+ * @key randomness
  */
 import java.util.Random;
 import java.nio.CharBuffer;
--- a/jdk/test/java/lang/String/ICCBasher.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/String/ICCBasher.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 4152868
  * @summary test Case Insensitive Comparator in String
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/lang/String/SBConstructor.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/String/SBConstructor.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 4915187
  * @summary Test java.lang.String constructor that takes StringBuilder
- *
+ * @key randomness
  */
 import java.util.*;
 
--- a/jdk/test/java/lang/String/Split.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/String/Split.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 6840246 6559590
  * @summary test String.split()
+ * @key randomness
  */
 import java.util.Arrays;
 import java.util.Random;
--- a/jdk/test/java/lang/StringBuffer/AppendCharSequence.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/StringBuffer/AppendCharSequence.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 4812591 4705328 5019111
  * @summary Test append and insert methods with CharSequence params
+ * @key randomness
  */
 
 import java.util.Random;
--- a/jdk/test/java/lang/StringBuffer/AppendSB.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/StringBuffer/AppendSB.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 4144267
  * @summary Test StringBuffer.append(StringBuffer);
+ * @key randomness
  */
 
 import java.util.Random;
--- a/jdk/test/java/lang/StringBuffer/AppendStringBuilder.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/StringBuffer/AppendStringBuilder.java	Wed Apr 29 10:25:53 2015 -0700
@@ -23,6 +23,7 @@
 /* @test
  * @bug 6206780
  * @summary Test StringBuffer.append(StringBuilder);
+ * @key randomness
  */
 
 import java.util.Random;
--- a/jdk/test/java/lang/StringBuffer/Capacity.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/StringBuffer/Capacity.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 6952330
  * @summary Test StringBuffer/StringBuilder capacity handling.
+ * @key randomness
  */
 
 import java.util.Random;
--- a/jdk/test/java/lang/StringBuffer/IndexOf.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/StringBuffer/IndexOf.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 4162796 4162796
  * @summary Test indexOf and lastIndexOf
+ * @key randomness
  */
 
 import java.util.Random;
--- a/jdk/test/java/lang/StringBuffer/SBBasher.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/StringBuffer/SBBasher.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,7 +25,7 @@
  * @test
  * @bug 4120694
  * @summary Test new methods in StringBuffer
- *
+ * @key randomness
  */
 
 import java.lang.*;
--- a/jdk/test/java/lang/StringBuffer/Trim.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/StringBuffer/Trim.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 4546734 5007612
  * @summary Test StringBuffer.trimToSize
+ * @key randomness
  */
 
 import java.util.Random;
--- a/jdk/test/java/lang/StringBuilder/AppendStringBuffer.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/StringBuilder/AppendStringBuffer.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 6206780
  * @summary Test StringBuilder.append(StringBuffer);
+ * @key randomness
  */
 
 import java.util.Random;
--- a/jdk/test/java/lang/ToString.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/ToString.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 4031762
  * @summary Test the primitive wrappers static toString()
+ * @key randomness
  */
 
 import java.util.Random;
--- a/jdk/test/java/lang/instrument/SingleTransformerTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/instrument/SingleTransformerTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -30,6 +30,7 @@
  * @run build SingleTransformerTest
  * @run shell MakeJAR.sh redefineAgent
  * @run main/othervm -javaagent:redefineAgent.jar SingleTransformerTest SingleTransformerTest
+ * @key randomness
  */
 public class
 SingleTransformerTest
--- a/jdk/test/java/lang/instrument/TransformMethodTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/instrument/TransformMethodTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -30,6 +30,7 @@
  * @run build TransformMethodTest
  * @run shell MakeJAR.sh redefineAgent
  * @run main/othervm -javaagent:redefineAgent.jar TransformMethodTest TransformMethodTest
+ * @key randomness
  */
 import java.lang.instrument.*;
 
--- a/jdk/test/java/lang/invoke/MethodHandles/CatchExceptionTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/invoke/MethodHandles/CatchExceptionTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -41,7 +41,7 @@
  * @library /lib/testlibrary/jsr292 /lib/testlibrary/
  * @compile CatchExceptionTest.java
  * @run main/othervm -esa test.java.lang.invoke.MethodHandles.CatchExceptionTest
- * @key intermittent
+ * @key intermittent randomness
  */
 public class CatchExceptionTest {
     private static final List<Class<?>> ARGS_CLASSES;
--- a/jdk/test/java/lang/management/BufferPoolMXBean/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/lang/management/BufferPoolMXBean/Basic.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 6606598 7024172
  * @summary Unit test for java.lang.management.BufferPoolMXBean
  * @run main/othervm Basic
+ * @key randomness
  */
 
 import java.nio.ByteBuffer;
--- a/jdk/test/java/math/BigDecimal/StringConstructor.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/math/BigDecimal/StringConstructor.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @library ..
  * @bug 4103117 4331084 4488017 4490929 6255285 6268365 8074460
  * @summary Tests the BigDecimal string constructor (use -Dseed=X to set PRNG seed).
+ * @key randomness
  */
 
 import java.math.*;
--- a/jdk/test/java/math/BigInteger/BigIntegerTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/math/BigInteger/BigIntegerTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -28,6 +28,7 @@
  * @summary tests methods in BigInteger (use -Dseed=X to set PRNG seed)
  * @run main/timeout=400 BigIntegerTest
  * @author madbot
+ * @key randomness
  */
 
 import java.io.File;
--- a/jdk/test/java/math/BigInteger/ModPow65537.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/math/BigInteger/ModPow65537.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @bug 4891312 8074460
  * @summary verify that modPow() not broken by the special case for 65537 (use -Dseed=X to set PRNG seed)
  * @author Andreas Sterbenz
+ * @key randomness
  */
 
 import java.math.BigInteger;
--- a/jdk/test/java/math/BigInteger/PrimeTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/math/BigInteger/PrimeTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -29,6 +29,7 @@
  * @bug 8026236 8074460
  * @summary test primality verification methods in BigInteger (use -Dseed=X to set PRNG seed)
  * @author bpb
+ * @key randomness
  */
 import java.math.BigInteger;
 import java.util.BitSet;
--- a/jdk/test/java/math/BigInteger/SymmetricRangeTests.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/math/BigInteger/SymmetricRangeTests.java	Wed Apr 29 10:25:53 2015 -0700
@@ -29,6 +29,7 @@
  * @bug 6910473 8021204 8021203 9005933 8074460
  * @summary Test range of BigInteger values (use -Dseed=X to set PRNG seed)
  * @author Dmitry Nadezhin
+ * @key randomness
  */
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;
--- a/jdk/test/java/net/InetAddress/HashSpread.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/net/InetAddress/HashSpread.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4687909
  * @summary Check Inet6Address.hashCode returns a reasonable spread of hash
  *          codes.
+ * @key randomness
  */
 import java.net.InetAddress;
 import java.net.UnknownHostException;
--- a/jdk/test/java/nio/Buffer/Chars.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/Buffer/Chars.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 8014854
  * @summary Exercises CharBuffer#chars on each of the CharBuffer types
  * @run testng Chars
+ * @key randomness
  */
 
 import java.nio.ByteBuffer;
--- a/jdk/test/java/nio/MappedByteBuffer/Force.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/MappedByteBuffer/Force.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 4625907
  * @summary Testing force()
  * @run main/othervm Force
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/MappedByteBuffer/ZeroMap.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/MappedByteBuffer/ZeroMap.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 4802340
  * @summary Testing force(), load() isLoaded() of zero len MBB
  * @run main/othervm ZeroMap
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/channels/AsynchronousChannelGroup/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/AsynchronousChannelGroup/Basic.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 4607272
  * @summary Unit test for AsynchronousChannelGroup
+ * @key randomness
  */
 
 import java.nio.ByteBuffer;
--- a/jdk/test/java/nio/channels/AsynchronousChannelGroup/Identity.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/AsynchronousChannelGroup/Identity.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 4607272 6842687
  * @summary Unit test for AsynchronousChannelGroup
+ * @key randomness
  */
 
 import java.nio.ByteBuffer;
--- a/jdk/test/java/nio/channels/AsynchronousChannelGroup/Restart.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/AsynchronousChannelGroup/Restart.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 4607272 6842687
  * @summary Unit test for AsynchronousChannelGroup
+ * @key randomness
  */
 
 import java.nio.channels.*;
--- a/jdk/test/java/nio/channels/AsynchronousFileChannel/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/AsynchronousFileChannel/Basic.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 4607272 6822643 6830721 6842687
  * @summary Unit test for AsynchronousFileChannel
+ * @key randomness
  */
 
 import java.nio.file.*;
--- a/jdk/test/java/nio/channels/AsynchronousFileChannel/Lock.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/AsynchronousFileChannel/Lock.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
 /* @test
  * @bug 4607272 6814948 6842687
  * @summary Unit test for AsynchronousFileChannel#lock method
+ * @key randomness
  */
 
 import java.net.*;
--- a/jdk/test/java/nio/channels/AsynchronousFileChannel/LotsOfWrites.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/AsynchronousFileChannel/LotsOfWrites.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 6913877
  * @summary Stress AsynchronousFileChannel.write
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/channels/AsynchronousSocketChannel/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/AsynchronousSocketChannel/Basic.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 4607272 6842687 6878369 6944810 7023403
  * @summary Unit test for AsynchronousSocketChannel
  * @run main Basic -skipSlowConnectTest
+ * @key randomness
  */
 
 import java.nio.ByteBuffer;
--- a/jdk/test/java/nio/channels/AsynchronousSocketChannel/StressLoopback.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/AsynchronousSocketChannel/StressLoopback.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @summary Stress test connections through the loopback interface
  * @run main StressLoopback
  * @run main/othervm -Djdk.net.useFastTcpLoopback StressLoopback
+ * @key randomness
  */
 
 import java.nio.ByteBuffer;
--- a/jdk/test/java/nio/channels/Channels/Basic2.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/Channels/Basic2.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 4607272
  * @summary Test Channels methods for interoperability between streams and
  *     asynchronous byte channels
+ * @key randomness
  */
 
 import java.net.*;
--- a/jdk/test/java/nio/channels/Channels/ShortWrite.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/Channels/ShortWrite.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 6448457
  * @summary Test Channels.newOutputStream returns OutputStream that handles
  *     short writes from the underlying channel
+ * @key randomness
  */
 
 import java.io.OutputStream;
--- a/jdk/test/java/nio/channels/DatagramChannel/AdaptDatagramSocket.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/DatagramChannel/AdaptDatagramSocket.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 4313882 4981129
  * @summary Unit test for datagram-socket-channel adaptors
  * @library ..
+ * @key randomness
  */
 
 import java.net.*;
--- a/jdk/test/java/nio/channels/DatagramChannel/MulticastSendReceiveTests.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/DatagramChannel/MulticastSendReceiveTests.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @build MulticastSendReceiveTests NetworkConfiguration
  * @run main MulticastSendReceiveTests
  * @run main/othervm -Djava.net.preferIPv4Stack=true MulticastSendReceiveTests
+ * @key randomness
  */
 
 import java.nio.ByteBuffer;
--- a/jdk/test/java/nio/channels/DatagramChannel/Promiscuous.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/DatagramChannel/Promiscuous.java	Wed Apr 29 10:25:53 2015 -0700
@@ -28,6 +28,7 @@
  * @build Promiscuous  NetworkConfiguration
  * @run main Promiscuous
  * @run main/othervm -Djava.net.preferIPv4Stack=true Promiscuous
+ * @key randomness
  */
 
 import java.nio.ByteBuffer;
--- a/jdk/test/java/nio/channels/FileChannel/AtomicAppend.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/FileChannel/AtomicAppend.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /*
  * @test
  * @summary Check that appends are atomic
+ * @key randomness
  */
 
 import java.io.File;
--- a/jdk/test/java/nio/channels/FileChannel/ClosedByInterrupt.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/FileChannel/ClosedByInterrupt.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 6979009
  * @summary Ensure ClosedByInterruptException is thrown when I/O operation
  *     interrupted by Thread.interrupt
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/channels/FileChannel/MapTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/FileChannel/MapTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 4429043 8002180
  * @summary Test file mapping with FileChannel
  * @run main/othervm MapTest
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/channels/FileChannel/Position.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/FileChannel/Position.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 4429043 6526860
  * @summary Test position method of FileChannel
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/channels/FileChannel/Pread.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/FileChannel/Pread.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 4862382 4862408
  * @summary Test positional read method of FileChannel
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/channels/FileChannel/Pwrite.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/FileChannel/Pwrite.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 4862411
  * @summary Test positional write method of FileChannel
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/channels/FileChannel/Size.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/FileChannel/Size.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 4563125
  * @summary Test size method of FileChannel
  * @run main/othervm Size
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/channels/FileChannel/Transfer.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/FileChannel/Transfer.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  *   6984545
  * @summary Test FileChannel.transferFrom and transferTo
  * @library ..
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/channels/FileChannel/Truncate.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/FileChannel/Truncate.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 6191269 6709457 8000330
  * @summary Test truncate method of FileChannel
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/channels/Pipe/PipeChannel.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/Pipe/PipeChannel.java	Wed Apr 29 10:25:53 2015 -0700
@@ -23,6 +23,7 @@
 
 /* @test
  * @summary Test reading and writing from Pipes
+ * @key randomness
  */
 
 import java.io.*;
@@ -37,7 +38,7 @@
  */
 public class PipeChannel {
 
-    private static Random generator = new Random();
+   private static Random generator = new Random();
 
     public static void main(String[] args) throws Exception {
         for (int x=0; x<100; x++) {
--- a/jdk/test/java/nio/channels/Pipe/ScatteringRead.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/Pipe/ScatteringRead.java	Wed Apr 29 10:25:53 2015 -0700
@@ -22,8 +22,9 @@
  */
 
 /* @test
-   @bug 4526754
+ * @bug 4526754
  * @summary Test Pipe scattering reads
+ * @key randomness
  */
 
 import java.nio.channels.*;
--- a/jdk/test/java/nio/channels/Pipe/SelectPipe.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/Pipe/SelectPipe.java	Wed Apr 29 10:25:53 2015 -0700
@@ -23,6 +23,7 @@
 
 /* @test
  * @summary Test selection of ready pipe
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/channels/Selector/SelectorTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/Selector/SelectorTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @summary Test selectors and socketchannels
  * @library ..
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/channels/ServerSocketChannel/NonBlockingAccept.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/ServerSocketChannel/NonBlockingAccept.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @library ..
  * @build TestUtil
  * @run main NonBlockingAccept
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/channels/SocketChannel/CloseDuringWrite.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/SocketChannel/CloseDuringWrite.java	Wed Apr 29 10:25:53 2015 -0700
@@ -23,6 +23,7 @@
 
 /* @test
  * @summary Test asynchronous close during a blocking write
+ * @key randomness
  */
 
 import java.io.Closeable;
--- a/jdk/test/java/nio/channels/SocketChannel/OutOfBand.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/SocketChannel/OutOfBand.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @summary Test socket adapter sendUrgentData method
  * @bug 6963907
+ * @key randomness
  */
 
 import java.net.*;
--- a/jdk/test/java/nio/channels/SocketChannel/ShortWrite.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/SocketChannel/ShortWrite.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 7176630 7074436
  * @summary Check for short writes on SocketChannels configured in blocking mode
+ * @key randomness
  */
 
 import java.net.*;
--- a/jdk/test/java/nio/channels/SocketChannel/VectorIO.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/SocketChannel/VectorIO.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @summary Test socketchannel vector IO
  * @library ..
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/channels/etc/AdaptorCloseAndInterrupt.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/channels/etc/AdaptorCloseAndInterrupt.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 7184932
  * @summary Test asynchronous close and interrupt of timed socket adapter methods
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/charset/coders/BashCache.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/charset/coders/BashCache.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 4517279
  * @summary Stochastic test of thread-local coder caches
+ * @key randomness
  */
 
 import java.nio.*;
--- a/jdk/test/java/nio/charset/coders/BashStreams.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/charset/coders/BashStreams.java	Wed Apr 29 10:25:53 2015 -0700
@@ -23,6 +23,7 @@
 
 /* @test
  * @summary Stochastic test of charset-based streams
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/nio/file/Files/BytesAndLines.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/file/Files/BytesAndLines.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @run testng BytesAndLines
  * @summary Unit test for methods for Files readAllBytes, readAllLines and
  *     and write methods.
+ * @key randomness
  */
 
 import java.nio.ByteBuffer;
--- a/jdk/test/java/nio/file/Files/CopyAndMove.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/file/Files/CopyAndMove.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @library ..
  * @build CopyAndMove PassThroughFileSystem
  * @run main/othervm CopyAndMove
+ * @key randomness
  */
 
 import java.nio.ByteBuffer;
--- a/jdk/test/java/nio/file/Files/walkFileTree/SkipSiblings.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/file/Files/walkFileTree/SkipSiblings.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @library ../..
  * @compile SkipSiblings.java CreateFileTree.java
  * @run main SkipSiblings
+ * @key randomness
  */
 
 import java.nio.file.*;
--- a/jdk/test/java/nio/file/Files/walkFileTree/SkipSubtree.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/file/Files/walkFileTree/SkipSubtree.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @library ../..
  * @compile SkipSubtree.java CreateFileTree.java
  * @run main SkipSubtree
+ * @key randomness
  */
 import java.nio.file.*;
 import java.nio.file.attribute.BasicFileAttributes;
--- a/jdk/test/java/nio/file/Files/walkFileTree/TerminateWalk.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/file/Files/walkFileTree/TerminateWalk.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @library ../..
  * @compile TerminateWalk.java CreateFileTree.java
  * @run main TerminateWalk
+ * @key randomness
  */
 
 import java.nio.file.*;
--- a/jdk/test/java/nio/file/WatchService/LotsOfEvents.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/file/WatchService/LotsOfEvents.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @summary Tests WatchService behavior when lots of events are pending
  * @library ..
  * @run main/timeout=180 LotsOfEvents
+ * @key randomness
  */
 
 import java.nio.file.*;
--- a/jdk/test/java/nio/file/WatchService/MayFlies.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/file/WatchService/MayFlies.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  *     short lived files
  * @library ..
  * @run main MayFlies
+ * @key randomness
  */
 
 import java.nio.file.*;
--- a/jdk/test/java/nio/file/WatchService/SensitivityModifier.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/file/WatchService/SensitivityModifier.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @summary Sanity test for Sun-specific sensitivity level watch event modifier
  * @library ..
  * @run main/timeout=240 SensitivityModifier
+ * @key randomness
  */
 
 import java.nio.file.*;
--- a/jdk/test/java/nio/file/attribute/AclFileAttributeView/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/file/attribute/AclFileAttributeView/Basic.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 4313887 6838333 6891404
  * @summary Unit test for java.nio.file.attribute.AclFileAttribueView
  * @library ../..
+ * @key randomness
  */
 
 import java.nio.file.*;
--- a/jdk/test/java/nio/file/attribute/FileTime/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/file/attribute/FileTime/Basic.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 6844313 8011647
  * @summary Unit test for java.nio.file.FileTime
+ * @key randomness
  */
 
 
--- a/jdk/test/java/nio/file/attribute/UserDefinedFileAttributeView/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/nio/file/attribute/UserDefinedFileAttributeView/Basic.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 4313887 6838333
  * @summary Unit test for java.nio.file.attribute.UserDefinedFileAttributeView
  * @library ../..
+ * @key randomness
  */
 
 import java.nio.ByteBuffer;
--- a/jdk/test/java/security/MessageDigest/ByteBuffers.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/security/MessageDigest/ByteBuffers.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4844847
  * @summary Test the MessageDigest.update(ByteBuffer) method
  * @author Andreas Sterbenz
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/security/MessageDigest/TestDigestIOStream.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/security/MessageDigest/TestDigestIOStream.java	Wed Apr 29 10:25:53 2015 -0700
@@ -36,6 +36,7 @@
  * @bug 8050370
  * @summary MessageDigest tests with DigestIOStream
  * @author Kevin Liu
+ * @key randomness
  */
 
 enum ReadModel {
--- a/jdk/test/java/security/MessageDigest/TestSameLength.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/security/MessageDigest/TestSameLength.java	Wed Apr 29 10:25:53 2015 -0700
@@ -33,6 +33,7 @@
  * @summary Check md.getDigestLength() equal digest output length with various
  *          algorithm/dataLen/(update,digest methods).
  * @author Kevin Liu
+ * @key randomness
  */
 
 public class TestSameLength {
--- a/jdk/test/java/security/MessageDigest/TestSameValue.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/security/MessageDigest/TestSameValue.java	Wed Apr 29 10:25:53 2015 -0700
@@ -34,6 +34,7 @@
  * @summary Check md.digest(data) value whether same with digest output value
  *          with various update/digest methods.
  * @author Kevin Liu
+ * @key randomness
  */
 
 public class TestSameValue {
--- a/jdk/test/java/security/Signature/ByteBuffers.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/security/Signature/ByteBuffers.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4844847
  * @summary Test the Signature.update(ByteBuffer) method
  * @author Andreas Sterbenz
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/security/Signature/NONEwithRSA.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/security/Signature/NONEwithRSA.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4955844
  * @summary ensure that the NONEwithRSA adapter works correctly
  * @author Andreas Sterbenz
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/security/spec/EllipticCurveMatch.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/security/spec/EllipticCurveMatch.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 6738532
  * @summary Check EllipticCurve.equals() does not compare seed value of curve.
  * @author Mike StJohns
+ * @key randomness
  */
 
 import java.security.spec.*;
--- a/jdk/test/java/sql/JavatimeTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/sql/JavatimeTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  *@test
  *@bug 8007520
  *@summary Test those bridge methods to/from java.time date/time classes
+ * @key randomness
  */
 
 import java.util.Random;
--- a/jdk/test/java/text/Format/MessageFormat/Bug7003643.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/text/Format/MessageFormat/Bug7003643.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 7003643
  * @summary Make sure MessageFormat.toPattern produces correct quoting. (SPI part is tested in PluggableLocale tests.)
+ * @key randomness
  */
 
 import java.text.*;
--- a/jdk/test/java/util/Arrays/ArrayObjectMethods.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Arrays/ArrayObjectMethods.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug     4906359 6239296
  * @summary Basic test for content-based array object methods
  * @author  Josh Bloch, Martin Buchholz
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/Arrays/CopyMethods.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Arrays/CopyMethods.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug     4655503
  * @summary Test for array cloning and slicing methods.
  * @author  John Rose
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/Arrays/Correct.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Arrays/Correct.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4726380 8037097
  * @summary Check that different sorts give equivalent results.
  * @run testng Correct
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/Base64/TestBase64.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Base64/TestBase64.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test 4235519 8004212 8005394 8007298 8006295 8006315 8006530 8007379 8008925
  *       8014217 8025003 8026330 8028397
  * @summary tests java.util.Base64
+ * @key randomness
  */
 
 import java.io.ByteArrayInputStream;
--- a/jdk/test/java/util/BitSet/BSMethods.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/BitSet/BSMethods.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Test the operation of the methods of BitSet class
  * @author Mike McCloskey, Martin Buchholz
  * @run main/othervm BSMethods
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/BitSet/ImportExport.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/BitSet/ImportExport.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 5037068
  * @summary Test import/export constructors and methods
  * @author Martin Buchholz
+ * @key randomness
  */
 
 import java.nio.*;
--- a/jdk/test/java/util/BitSet/PreviousBits.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/BitSet/PreviousBits.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 6410729 6586631
  * @summary Test previousClearBit, previousSetBit
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/Calendar/JavatimeTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Calendar/JavatimeTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  *@test
  *@bug 8007520 8008254
  *@summary Test those bridge methods to/from java.time date/time classes
+ * @key randomness
  */
 
 import java.util.Calendar;
--- a/jdk/test/java/util/Collection/MOAT.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Collection/MOAT.java	Wed Apr 29 10:25:53 2015 -0700
@@ -30,6 +30,7 @@
  * @summary Run many tests on many Collection and Map implementations
  * @author  Martin Buchholz
  * @run main MOAT
+ * @key randomness
  */
 
 /* Mother Of All (Collection) Tests
--- a/jdk/test/java/util/Collections/AddAll.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Collections/AddAll.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug     4822887
  * @summary Basic test for Collections.addAll
  * @author  Josh Bloch
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/Collections/CheckedListBash.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Collections/CheckedListBash.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug     4904067
  * @summary Unit test for Collections.checkedList
  * @author  Josh Bloch
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/Collections/CheckedMapBash.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Collections/CheckedMapBash.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Unit test for Collections.checkedMap
  * @author  Josh Bloch
  * @run testng CheckedMapBash
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/Collections/CheckedSetBash.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Collections/CheckedSetBash.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Unit test for Collections.checkedSet
  * @author  Josh Bloch
  * @run testng CheckedSetBash
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/Collections/Disjoint.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Collections/Disjoint.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug     4339792
  * @summary Basic test for Collections.disjoint
  * @author  Josh Bloch
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/Collections/Rotate.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Collections/Rotate.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 4323074
  * @summary Basic test for new rotate algorithm
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/EnumSet/EnumSetBash.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/EnumSet/EnumSetBash.java	Wed Apr 29 10:25:53 2015 -0700
@@ -28,6 +28,7 @@
  * @author  Josh Bloch
  * @author  Neal Gafter
  * @author  Yo Ma Ma
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/HashSet/Serialization.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/HashSet/Serialization.java	Wed Apr 29 10:25:53 2015 -0700
@@ -34,6 +34,7 @@
  * @test
  * @bug 8016252
  * @summary Verify that a serialized HashSet may successfully be deserialized.
+ * @key randomness
  */
 public class Serialization {
 
--- a/jdk/test/java/util/IdentityHashMap/Capacity.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/IdentityHashMap/Capacity.java	Wed Apr 29 10:25:53 2015 -0700
@@ -39,6 +39,7 @@
  * @summary IdentityHashMap reallocates storage when inserting expected
  *          number of elements
  * @run testng Capacity
+ * @key randomness
  */
 
 @Test
--- a/jdk/test/java/util/List/LockStep.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/List/LockStep.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug     6359979
  * @summary Compare List implementations for identical behavior
  * @author  Martin Buchholz
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/util/Map/LockStep.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Map/LockStep.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 6612102
  * @summary Test Map implementations for mutual compatibility
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/NavigableMap/LockStep.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/NavigableMap/LockStep.java	Wed Apr 29 10:25:53 2015 -0700
@@ -29,6 +29,7 @@
  * @run main/othervm -XX:+AggressiveOpts LockStep
  * @run main/othervm -XX:+AggressiveOpts -Dthorough=true LockStep
  * @author  Martin Buchholz
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/util/Properties/ConcurrentLoadAndStoreXML.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Properties/ConcurrentLoadAndStoreXML.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 8005281
  * @summary Test that the Properties storeToXML and loadFromXML methods are
  *   thread safe
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/util/Random/DistinctSeeds.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Random/DistinctSeeds.java	Wed Apr 29 10:25:53 2015 -0700
@@ -35,6 +35,7 @@
  * @test
  * @bug 4949279 6937857
  * @summary Independent instantiations of Random() have distinct seeds.
+ * @key randomness
  */
 
 import java.util.ArrayList;
--- a/jdk/test/java/util/Random/RandomStreamTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Random/RandomStreamTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -47,6 +47,7 @@
  * @run testng RandomStreamTest
  * @summary test stream methods on Random
  * @author Brian Goetz
+ * @key randomness
  */
 public class RandomStreamTest {
 
--- a/jdk/test/java/util/Random/RandomTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Random/RandomTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -35,6 +35,7 @@
  * @test
  * @run testng RandomTest
  * @summary test methods on Random
+ * @key randomness
  */
 @Test
 public class RandomTest {
--- a/jdk/test/java/util/ResourceBundle/Control/StressTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/ResourceBundle/Control/StressTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 5102289
  * @summary Stress test for ResourceBundle.getBundle with ResourceBundle.Control.
  * @run main/othervm -esa StressTest 2 15
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/SplittableRandom/SplittableRandomTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/SplittableRandom/SplittableRandomTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -39,6 +39,7 @@
  * @run testng SplittableRandomTest
  * @run testng/othervm -Djava.util.secureRandomSeed=true SplittableRandomTest
  * @summary test methods on SplittableRandom
+ * @key randomness
  */
 @Test
 public class SplittableRandomTest {
--- a/jdk/test/java/util/Timer/DelayOverflow.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Timer/DelayOverflow.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary java.util.Timer schedule delay Long.MAX_VALUE causes task to execute multiple times
  * @author Chris Hegarty
  * @author Martin Buchholz
+ * @key randomness
  */
 
 import java.util.Date;
--- a/jdk/test/java/util/Timer/Purge.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/Timer/Purge.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 4481072
  * @summary Basic test for purge method
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/UUID/Serial.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/UUID/Serial.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 5014447
  * @summary Test deserialization of UUID
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/util/UUID/UUIDTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/UUID/UUIDTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 4173528 5068772
  * @summary Unit tests for java.util.UUID
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/WeakHashMap/GCDuringIteration.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/WeakHashMap/GCDuringIteration.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @ignore until 6842353 is resolved
  * @summary Check that iterators work properly in the presence of
  *          concurrent finalization and removal of elements.
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/logging/CheckZombieLockTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/logging/CheckZombieLockTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -37,6 +37,7 @@
  * @run  main/othervm CheckZombieLockTest CLEANUP
  * @run  main/othervm CheckZombieLockTest REUSE
  * @run  main/othervm CheckZombieLockTest CLEANUP
+ * @key randomness
  */
 import java.io.File;
 import java.io.IOException;
--- a/jdk/test/java/util/logging/DrainFindDeadlockTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/logging/DrainFindDeadlockTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -36,6 +36,7 @@
  * @author jim.gish@oracle.com
  * @build DrainFindDeadlockTest
  * @run main/othervm/timeout=10 DrainFindDeadlockTest
+ * @key randomness
  */
 
 /**
--- a/jdk/test/java/util/logging/FileHandlerLongLimit.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/logging/FileHandlerLongLimit.java	Wed Apr 29 10:25:53 2015 -0700
@@ -55,6 +55,7 @@
  * @run main/othervm FileHandlerLongLimit UNSECURE
  * @run main/othervm FileHandlerLongLimit SECURE
  * @author danielfuchs
+ * @key randomness
  */
 public class FileHandlerLongLimit {
 
--- a/jdk/test/java/util/logging/FileHandlerPath.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/logging/FileHandlerPath.java	Wed Apr 29 10:25:53 2015 -0700
@@ -56,6 +56,7 @@
  * @run main/othervm FileHandlerPath UNSECURE
  * @run main/othervm FileHandlerPath SECURE
  * @author danielfuchs
+ * @key randomness
  */
 public class FileHandlerPath {
 
--- a/jdk/test/java/util/logging/FileHandlerPatternExceptions.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/logging/FileHandlerPatternExceptions.java	Wed Apr 29 10:25:53 2015 -0700
@@ -49,6 +49,7 @@
  * @run main/othervm FileHandlerPatternExceptions UNSECURE
  * @run main/othervm FileHandlerPatternExceptions SECURE
  * @author danielfuchs
+ * @key randomness
  */
 public class FileHandlerPatternExceptions {
 
--- a/jdk/test/java/util/logging/LogManager/Configuration/ParentLoggerWithHandlerGC.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/logging/LogManager/Configuration/ParentLoggerWithHandlerGC.java	Wed Apr 29 10:25:53 2015 -0700
@@ -59,6 +59,7 @@
  * @run main/othervm ParentLoggerWithHandlerGC UNSECURE
  * @run main/othervm ParentLoggerWithHandlerGC SECURE
  * @author danielfuchs
+ * @key randomness
  */
 public class ParentLoggerWithHandlerGC {
 
--- a/jdk/test/java/util/logging/LoggingDeadlock.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/logging/LoggingDeadlock.java	Wed Apr 29 10:25:53 2015 -0700
@@ -30,6 +30,10 @@
  *
  * @build    LoggingDeadlock
  * @run  main/timeout=15 LoggingDeadlock
+ * @key randomness
+ */
+
+/*
  *
  * There can be a deadlock between two class initializations.
  * It happens if the LogManager.<clinit> and the Logger.<clinit>
--- a/jdk/test/java/util/logging/LoggingDeadlock2.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/logging/LoggingDeadlock2.java	Wed Apr 29 10:25:53 2015 -0700
@@ -29,6 +29,10 @@
  *
  * @build    LoggingDeadlock2
  * @run  main LoggingDeadlock2
+ * @key randomness
+ */
+
+/*
  *
  * There is a clear deadlock between LogManager.<clinit> and
  * Cleaner.run() methods.
--- a/jdk/test/java/util/logging/TestLogConfigurationDeadLockWithConf.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/logging/TestLogConfigurationDeadLockWithConf.java	Wed Apr 29 10:25:53 2015 -0700
@@ -46,6 +46,7 @@
  *          caused by synchronization issues in Logger and LogManager.
  * @run main/othervm TestLogConfigurationDeadLockWithConf
  * @author danielfuchs
+ * @key randomness
  */
 // This test is a best effort to try & detect issues. The test itself will run
 // for 8secs. This is usually sufficient to detect issues.
--- a/jdk/test/java/util/regex/RegExTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/regex/RegExTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -33,6 +33,7 @@
  * 6350801 6676425 6878475 6919132 6931676 6948903 6990617 7014645 7039066
  * 7067045 7014640 7189363 8007395 8013252 8013254 8012646 8023647 6559590
  * 8027645 8035076 8039124 8035975 8074678
+ * @key randomness
  */
 
 import java.util.function.Function;
--- a/jdk/test/java/util/zip/3GBZipFiles.sh	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/3GBZipFiles.sh	Wed Apr 29 10:25:53 2015 -0700
@@ -29,6 +29,7 @@
 # @run shell 3GBZipFiles.sh 9986
 # @ignore runs for hours and eats up 7 Gigabytes of disk space
 # @run shell/timeout=604800 3GBZipFiles.sh 3141592653
+# @key randomness
 
 # Command-line usage:
 # javac FileBuilder.java && sh 3GBZipFiles.sh /path/to/jdk filesize
--- a/jdk/test/java/util/zip/DeInflate.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/DeInflate.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 7110149
  * @summary Test basic deflater & inflater functionality
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/util/zip/DeflateIn_InflateOut.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/DeflateIn_InflateOut.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 4679743
  * @summary Test basic functionality of DeflaterInputStream and InflaterOutputStream
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/util/zip/FlaterTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/FlaterTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 6348045
  * @summary GZipOutputStream/InputStream goes critical(calls JNI_Get*Critical)
  * and causes slowness.  This test uses Deflater and Inflater directly.
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/util/zip/GZIP/Accordion.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/GZIP/Accordion.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 5092263
  * @summary GZIPInputStream o GZIPOutputStream === the identity stream
  * @author Martin Buchholz
+ * @key randomness
 */
 
 // To manually test for uncompressed streams larger than 2GB, do
--- a/jdk/test/java/util/zip/GZIP/GZIPInputStreamRead.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/GZIP/GZIPInputStreamRead.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 4691425
  * @summary Test the read and write of GZIPInput/OutputStream, including
  *          concatenated .gz inputstream
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/util/zip/InflateIn_DeflateOut.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/InflateIn_DeflateOut.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 4206909 4813885
  * @summary Test basic functionality of DeflaterOutputStream/InflaterInputStream and GZIPOutputStream/GZIPInputStream, including flush
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/util/zip/InflaterBufferSize.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/InflaterBufferSize.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 6571338
  * @summary Inflater should not require a buffer to the inflate() methods
  * larger than 1 byte.
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/util/zip/TimeChecksum.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/TimeChecksum.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
 /* @test
  * @bug 7109837
  * @summary Test Adler32/CRC32.update(ByteBuffer)
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/zip/TotalInOut.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/TotalInOut.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 7188852
  * @summary Test De/Inflater.getBytesRead/Written()
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/util/zip/ZipFile/Assortment.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/ZipFile/Assortment.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @bug 4770745 6234507 6303183 8048990
  * @summary test a variety of zip file entries
  * @author Martin Buchholz
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/java/util/zip/ZipFile/ClearStaleZipFileInputStreams.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/ZipFile/ClearStaleZipFileInputStreams.java	Wed Apr 29 10:25:53 2015 -0700
@@ -30,6 +30,7 @@
  * @bug 7031076
  * @summary Allow stale InputStreams from ZipFiles to be GC'd
  * @author Neil Richards <neil.richards@ngmr.net>, <neil_richards@uk.ibm.com>
+ * @key randomness
  */
 import java.lang.ref.ReferenceQueue;
 import java.lang.ref.WeakReference;
--- a/jdk/test/java/util/zip/ZipFile/FinalizeZipFile.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/ZipFile/FinalizeZipFile.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 7007609 7009618
  * @summary Check that ZipFile objects are always collected
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/java/util/zip/ZipFile/MultiThreadedReadTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/ZipFile/MultiThreadedReadTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @library /lib/testlibrary
  * @build jdk.testlibrary.FileUtils
  * @run main MultiThreadedReadTest
+ * @key randomness
  */
 
 import java.io.File;
--- a/jdk/test/java/util/zip/ZipFile/ReadZip.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/java/util/zip/ZipFile/ReadZip.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
    @bug 4241361 4842702 4985614 6646605 5032358 6923692
    @summary Make sure we can read a zip file.
+   @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/javax/crypto/Cipher/ByteBuffers.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/javax/crypto/Cipher/ByteBuffers.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4844847
  * @summary Test the Cipher.update/doFinal(ByteBuffer, ByteBuffer) methods
  * @author Andreas Sterbenz
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/javax/crypto/CipherSpi/DirectBBRemaining.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/javax/crypto/CipherSpi/DirectBBRemaining.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 7142509
  * @summary Cipher.doFinal(ByteBuffer,ByteBuffer) fails to
  *     process when in.remaining() == 0
+ * @key randomness
  */
 
 import java.nio.ByteBuffer;
--- a/jdk/test/javax/crypto/CryptoPermission/AllPermCheck.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/javax/crypto/CryptoPermission/AllPermCheck.java	Wed Apr 29 10:25:53 2015 -0700
@@ -28,6 +28,7 @@
  * InvalidKeyException is thrown instead of SecurityException when
  * crypto permssion checks failed.
  * @author Valerie Peng
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/javax/crypto/CryptoPermission/RC2PermCheck.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/javax/crypto/CryptoPermission/RC2PermCheck.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Ensure the crypto permission check on cipher algorithms
  * with restricted parameter values are correctly enforced.
  * @author Valerie Peng
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/javax/crypto/JceSecurity/SunJCE_BC_LoadOrdering.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/javax/crypto/JceSecurity/SunJCE_BC_LoadOrdering.java	Wed Apr 29 10:25:53 2015 -0700
@@ -28,6 +28,7 @@
  * @summary SunJCE depends on sun.security.provider.SignatureImpl
  * behaviour, BC can't load into 1st slot.
  * @author Brad R. Wetmore
+ * @key randomness
  */
 
 import java.security.*;
--- a/jdk/test/javax/crypto/KeyGenerator/TestKGParity.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/javax/crypto/KeyGenerator/TestKGParity.java	Wed Apr 29 10:25:53 2015 -0700
@@ -35,6 +35,7 @@
  * @bug 8048607
  * @compile ../../../com/sun/crypto/provider/Cipher/DES/TestUtility.java
  * @summary Test key generation of DES and DESEDE
+ * @key randomness
  */
 public class TestKGParity {
 
--- a/jdk/test/javax/crypto/Mac/ByteBuffers.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/javax/crypto/Mac/ByteBuffers.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4844847
  * @summary Test the Mac.update(ByteBuffer) method
  * @author Andreas Sterbenz
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/javax/crypto/NullCipher/TestNPE.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/javax/crypto/NullCipher/TestNPE.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4937853
  * @summary Make sure normal calls of NullCipher does not throw NPE.
  * @author Valerie Peng
+ * @key randomness
  */
 import java.util.Arrays;
 import java.security.AlgorithmParameters;
--- a/jdk/test/javax/management/monitor/MultiMonitorTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/javax/management/monitor/MultiMonitorTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -29,6 +29,7 @@
  * @run clean MultiMonitorTest
  * @run build MultiMonitorTest
  * @run main MultiMonitorTest
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/javax/management/mxbean/ThreadMXBeanTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/javax/management/mxbean/ThreadMXBeanTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -29,6 +29,7 @@
  * @run clean ThreadMXBeanTest
  * @run build ThreadMXBeanTest
  * @run main ThreadMXBeanTest
+ * @key randomness
  */
 
 import java.lang.management.*;
--- a/jdk/test/javax/management/remote/mandatory/loading/MissingClassTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/javax/management/remote/mandatory/loading/MissingClassTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -29,6 +29,7 @@
  * @run clean MissingClassTest SingleClassLoader
  * @run build MissingClassTest SingleClassLoader
  * @run main MissingClassTest
+ * @key randomness
  */
 
 /*
--- a/jdk/test/javax/management/timer/MissingNotificationTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/javax/management/timer/MissingNotificationTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -29,6 +29,7 @@
  * @run clean MissingNotificationTest
  * @run build MissingNotificationTest
  * @run main MissingNotificationTest
+ * @key randomness
  */
 
 import java.util.Date;
--- a/jdk/test/javax/net/ssl/SSLEngine/LargeBufs.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/javax/net/ssl/SSLEngine/LargeBufs.java	Wed Apr 29 10:25:53 2015 -0700
@@ -33,6 +33,7 @@
  * @run main/othervm -Djsse.enableCBCProtection=false LargeBufs
  *
  * @author Brad R. Wetmore
+ * @key randomness
  */
 
 import javax.net.ssl.*;
--- a/jdk/test/javax/smartcardio/TestCommandAPDU.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/javax/smartcardio/TestCommandAPDU.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 6293767
  * @summary Test for the CommandAPDU class
  * @author Andreas Sterbenz
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/management/jmxremote/startstop/JMXStartStopTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -60,6 +60,7 @@
  * @run main/othervm/timeout=600 -XX:+UsePerfData JMXStartStopTest
  * @summary Makes sure that enabling/disabling the management agent through JCMD
  *          achieves the desired results
+ * @key randomness
  */
 public class JMXStartStopTest {
 
--- a/jdk/test/sun/misc/CopyMemory.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/misc/CopyMemory.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
  * @bug 6565543
  * @summary Minimal test for unsafe.copyMemory() and unsafe.setMemory()
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/misc/FloatingDecimal/TestFloatingDecimal.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/misc/FloatingDecimal/TestFloatingDecimal.java	Wed Apr 29 10:25:53 2015 -0700
@@ -62,6 +62,7 @@
  * @build DoubleConsts FloatConsts
  * @run main TestFloatingDecimal
  * @author Brian Burkhalter
+ * @key randomness
  */
 public class TestFloatingDecimal {
     private static enum ResultType {
--- a/jdk/test/sun/net/www/ParseUtil_4922813.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/net/www/ParseUtil_4922813.java	Wed Apr 29 10:25:53 2015 -0700
@@ -24,6 +24,7 @@
 /* @test
    @bug 4922813
    @summary Check the new impl of encodePath will not cause regression
+   @key randomness
  */
 
 import java.util.BitSet;
--- a/jdk/test/sun/nio/cs/FindDecoderBugs.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/nio/cs/FindDecoderBugs.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Decode many byte sequences in many ways
  * @run main/timeout=1800 FindDecoderBugs
  * @author Martin Buchholz
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/nio/cs/FindEncoderBugs.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/nio/cs/FindEncoderBugs.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Encode many char sequences in many ways
  * @run main/timeout=1200 FindEncoderBugs
  * @author Martin Buchholz
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/nio/cs/TestStringCoding.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/nio/cs/TestStringCoding.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
    @bug 6636323 6636319 7040220 7096080 7183053
    @summary Test if StringCoding and NIO result have the same de/encoding result
  * @run main/othervm/timeout=2000 TestStringCoding
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/nio/cs/TestStringCodingUTF8.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/nio/cs/TestStringCodingUTF8.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
    @bug 7040220
    @summary Test if StringCoding and NIO result have the same de/encoding result for UTF-8
  * @run main/othervm/timeout=2000 TestStringCodingUTF8
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/security/mscapi/PrngSlow.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/mscapi/PrngSlow.java	Wed Apr 29 10:25:53 2015 -0700
@@ -25,6 +25,7 @@
  * @test
  * @bug 6449335
  * @summary MSCAPI's PRNG is too slow
+ * @key randomness
  */
 
 import java.security.SecureRandom;
--- a/jdk/test/sun/security/pkcs11/Cipher/ReinitCipher.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Cipher/ReinitCipher.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary
  * @author Andreas Sterbenz
  * @library ..
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/security/pkcs11/Cipher/TestRSACipher.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Cipher/TestRSACipher.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary basic test for RSA cipher
  * @author Andreas Sterbenz
  * @library ..
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/sun/security/pkcs11/Cipher/TestRawRSACipher.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Cipher/TestRawRSACipher.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary basic test for RSA/ECB/NoPadding cipher
  * @author Valerie Peng
  * @library ..
+ * @key randomness
  */
 
 import javax.crypto.*;
--- a/jdk/test/sun/security/pkcs11/Cipher/TestSymmCiphers.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Cipher/TestSymmCiphers.java	Wed Apr 29 10:25:53 2015 -0700
@@ -22,11 +22,12 @@
  */
 
 /**
- * @test %I% %E%
+ * @test
  * @bug 4898461 6604496
  * @summary basic test for symmetric ciphers with padding
  * @author Valerie Peng
  * @library ..
+ * @key randomness
  */
 import java.io.*;
 import java.nio.*;
--- a/jdk/test/sun/security/pkcs11/Cipher/TestSymmCiphersNoPad.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Cipher/TestSymmCiphersNoPad.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary basic test for symmetric ciphers with no padding
  * @author Valerie Peng
  * @library ..
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/sun/security/pkcs11/KeyGenerator/DESParity.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/KeyGenerator/DESParity.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Verify that the parity bits are set correctly
  * @author Andreas Sterbenz
  * @library ..
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/sun/security/pkcs11/Mac/MacSameTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Mac/MacSameTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -37,6 +37,7 @@
  * @author Yu-Ching Valerie Peng, Bill Situ, Alexander Fomin
  * @library ..
  * @run main MacSameTest
+ * @key randomness
  */
 public class MacSameTest extends PKCS11Test {
 
--- a/jdk/test/sun/security/pkcs11/Mac/ReinitMac.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Mac/ReinitMac.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary
  * @author Andreas Sterbenz
  * @library ..
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/security/pkcs11/MessageDigest/ByteBuffers.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/MessageDigest/ByteBuffers.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Test the MessageDigest.update(ByteBuffer) method
  * @author Andreas Sterbenz
  * @library ..
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/security/pkcs11/MessageDigest/ReinitDigest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/MessageDigest/ReinitDigest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary
  * @author Andreas Sterbenz
  * @library ..
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/security/pkcs11/MessageDigest/TestCloning.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/MessageDigest/TestCloning.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Ensure the cloning functionality works.
  * @author Valerie Peng
  * @library ..
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Secmod/AddPrivateKey.java	Wed Apr 29 10:25:53 2015 -0700
@@ -28,6 +28,7 @@
  * @author Andreas Sterbenz
  * @library ..
  * @run main/othervm AddPrivateKey
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/sun/security/pkcs11/Secmod/Crypto.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Secmod/Crypto.java	Wed Apr 29 10:25:53 2015 -0700
@@ -28,6 +28,7 @@
  * @author Andreas Sterbenz
  * @library ..
  * @run main/othervm Crypto
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Secmod/GetPrivateKey.java	Wed Apr 29 10:25:53 2015 -0700
@@ -28,6 +28,7 @@
  * @author Andreas Sterbenz
  * @library ..
  * @run main/othervm GetPrivateKey
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/security/pkcs11/SecureRandom/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/SecureRandom/Basic.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary basic test for PKCS#11 SecureRandom
  * @author Andreas Sterbenz
  * @library ..
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/sun/security/pkcs11/Signature/ByteBuffers.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Signature/ByteBuffers.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Test the Signature.update(ByteBuffer) method
  * @author Andreas Sterbenz
  * @library ..
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/security/pkcs11/Signature/ReinitSignature.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Signature/ReinitSignature.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary test that reinitializing Signatures works correctly
  * @author Andreas Sterbenz
  * @library ..
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/security/pkcs11/Signature/TestDSA.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Signature/TestDSA.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary basic test of SHA1withDSA and RawDSA signing/verifying
  * @author Andreas Sterbenz
  * @library ..
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/sun/security/pkcs11/Signature/TestDSAKeyLength.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Signature/TestDSAKeyLength.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @summary verify that P11Signature impl will error out when initialized
  * with unsupported key sizes
  * @library ..
+ * @key randomness
  */
 
 
--- a/jdk/test/sun/security/pkcs11/ec/ReadPKCS12.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/ec/ReadPKCS12.java	Wed Apr 29 10:25:53 2015 -0700
@@ -28,6 +28,7 @@
  * @author Andreas Sterbenz
  * @library ..
  * @library ../../../../java/security/testlibrary
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/sun/security/pkcs11/ec/TestCurves.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/ec/TestCurves.java	Wed Apr 29 10:25:53 2015 -0700
@@ -29,6 +29,7 @@
  * @library ..
  * @compile -XDignore.symbol.file TestCurves.java
  * @run main TestCurves
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/security/pkcs11/ec/TestECDSA.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/ec/TestECDSA.java	Wed Apr 29 10:25:53 2015 -0700
@@ -28,6 +28,7 @@
  * @author Andreas Sterbenz
  * @library ..
  * @library ../../../../java/security/testlibrary
+ * @key randomness
  */
 
 import java.util.*;
--- a/jdk/test/sun/security/pkcs11/rsa/KeyWrap.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/rsa/KeyWrap.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Verify key wrapping (of extractable keys) works for RSA/PKCS1
  * @author Andreas Sterbenz
  * @library ..
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/sun/security/pkcs11/rsa/TestKeyPairGenerator.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/rsa/TestKeyPairGenerator.java	Wed Apr 29 10:25:53 2015 -0700
@@ -28,7 +28,7 @@
  * @author Andreas Sterbenz
  * @library ..
  * @run main/othervm TestKeyPairGenerator
- * @key intermittent
+ * @key intermittent randomness
  */
 
 import java.io.*;
--- a/jdk/test/sun/security/pkcs11/rsa/TestSignatures.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/rsa/TestSignatures.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Test signing/verifying using all the signature algorithms
  * @author Andreas Sterbenz
  * @library ..
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/sun/security/provider/DSA/TestDSA.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/provider/DSA/TestDSA.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4815057 4839277
  * @summary basic test of SHA1withDSA and RawDSA signing/verifying
  * @author Andreas Sterbenz
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/sun/security/provider/DSA/TestDSA2.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/provider/DSA/TestDSA2.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @run main/othervm/timeout=250 TestDSA2
  * @summary verify that DSA signature works using SHA and SHA-224 and
  *          SHA-256 digests.
+ * @key randomness
  */
 
 
--- a/jdk/test/sun/security/provider/SeedGenerator/Priority_Inversion.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/provider/SeedGenerator/Priority_Inversion.java	Wed Apr 29 10:25:53 2015 -0700
@@ -29,6 +29,7 @@
  *
  * if the test returns, then it passed.
  * if the test never returns (hangs forever), then it failed.
+ * @key randomness
  */
 
 import java.security.SecureRandom;
--- a/jdk/test/sun/security/rsa/TestKeyPairGenerator.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/rsa/TestKeyPairGenerator.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4853305 4865198 4888410 4963723
  * @summary Verify that the RSA KeyPairGenerator works
  * @author Andreas Sterbenz
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/sun/security/rsa/TestSignatures.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/rsa/TestSignatures.java	Wed Apr 29 10:25:53 2015 -0700
@@ -26,6 +26,7 @@
  * @bug 4853305 4963723
  * @summary Test signing/verifying using all the signature algorithms
  * @author Andreas Sterbenz
+ * @key randomness
  */
 
 import java.io.*;
--- a/jdk/test/sun/security/ssl/ClientHandshaker/LengthCheckTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/ssl/ClientHandshaker/LengthCheckTest.java	Wed Apr 29 10:25:53 2015 -0700
@@ -27,6 +27,7 @@
  * @summary Vectors and fixed length fields should be verified
  *          for allowed sizes.
  * @run main/othervm LengthCheckTest
+ * @key randomness
  */
 
 /**
--- a/jdk/test/sun/security/ssl/GenSSLConfigs/main.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/jdk/test/sun/security/ssl/GenSSLConfigs/main.java	Wed Apr 29 10:25:53 2015 -0700
@@ -3,6 +3,7 @@
  * @build TestThread Traffic Handler ServerHandler ServerThread ClientThread
  * @run main/othervm/timeout=140 -Djsse.enableCBCProtection=false main
  * @summary Make sure that different configurations of SSL sockets work
+ * @key randomness
  */
 
 /*