changeset 11822:110f7f35760f

8078334: Mark regression tests using randomness Reviewed-by: xuelei, alanb
author darcy
date Wed, 29 Apr 2015 10:25:53 -0700
parents 3049fc819ac2
children 83ff0dedf9e1
files test/TEST.ROOT test/com/oracle/security/ucrypto/CipherSignNotSupported.java test/com/oracle/security/ucrypto/TestAES.java test/com/oracle/security/ucrypto/TestCICOWithGCM.java test/com/oracle/security/ucrypto/TestCICOWithGCMAndAAD.java test/com/oracle/security/ucrypto/TestDigest.java test/com/oracle/security/ucrypto/TestGCMKeyWrap.java test/com/sun/crypto/provider/Cipher/AES/CICO.java test/com/sun/crypto/provider/Cipher/AES/CTR.java test/com/sun/crypto/provider/Cipher/AES/Padding.java test/com/sun/crypto/provider/Cipher/AES/Test4513830.java test/com/sun/crypto/provider/Cipher/AES/Test4517355.java test/com/sun/crypto/provider/Cipher/AES/TestAESCipher.java test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCM.java test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCMAndAAD.java test/com/sun/crypto/provider/Cipher/AES/TestISO10126Padding.java test/com/sun/crypto/provider/Cipher/AES/TestNonexpanding.java test/com/sun/crypto/provider/Cipher/AES/TestSameBuffer.java test/com/sun/crypto/provider/Cipher/DES/FlushBug.java test/com/sun/crypto/provider/Cipher/PBE/PBESealedObject.java test/com/sun/crypto/provider/Cipher/PBE/PBKDF2Translate.java test/com/sun/crypto/provider/Cipher/PBE/PKCS12Cipher.java test/com/sun/crypto/provider/Cipher/PBE/TestCipherKeyWrapperPBEKey.java test/com/sun/crypto/provider/Cipher/RSA/TestOAEP.java test/com/sun/crypto/provider/Cipher/RSA/TestRSA.java test/com/sun/crypto/provider/Mac/HmacSaltLengths.java test/com/sun/crypto/provider/Mac/MacSameTest.java test/com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java test/java/io/DataInputStream/ReadUTF.java test/java/io/File/GetXSpace.java test/java/io/InputStream/TransferTo.java test/java/io/PrintStream/OversynchronizedTest.java test/java/io/Serializable/corruptedUTFConsumption/CorruptedUTFConsumption.java test/java/io/Serializable/longString/LongString.java test/java/io/Serializable/proxy/Basic.java test/java/io/Serializable/sanityCheck/SanityCheck.java test/java/lang/Boolean/MakeBooleanComparable.java test/java/lang/ClassLoader/Assert.java test/java/lang/Compare.java test/java/lang/Double/ParseHexFloatingPoint.java test/java/lang/Enum/ValueOf.java test/java/lang/HashCode.java test/java/lang/Integer/BitTwiddle.java test/java/lang/Long/BitTwiddle.java test/java/lang/Math/CubeRootTests.java test/java/lang/Math/HypotTests.java test/java/lang/Math/IeeeRecommendedTests.java test/java/lang/Math/Log1pTests.java test/java/lang/Runtime/exec/WinCommand.java test/java/lang/String/ContentEquals.java test/java/lang/String/ICCBasher.java test/java/lang/String/SBConstructor.java test/java/lang/String/Split.java test/java/lang/StringBuffer/AppendCharSequence.java test/java/lang/StringBuffer/AppendSB.java test/java/lang/StringBuffer/AppendStringBuilder.java test/java/lang/StringBuffer/Capacity.java test/java/lang/StringBuffer/IndexOf.java test/java/lang/StringBuffer/SBBasher.java test/java/lang/StringBuffer/Trim.java test/java/lang/StringBuilder/AppendStringBuffer.java test/java/lang/ToString.java test/java/lang/instrument/SingleTransformerTest.java test/java/lang/instrument/TransformMethodTest.java test/java/lang/invoke/MethodHandles/CatchExceptionTest.java test/java/lang/management/BufferPoolMXBean/Basic.java test/java/math/BigDecimal/StringConstructor.java test/java/math/BigInteger/BigIntegerTest.java test/java/math/BigInteger/ModPow65537.java test/java/math/BigInteger/PrimeTest.java test/java/math/BigInteger/SymmetricRangeTests.java test/java/net/InetAddress/HashSpread.java test/java/nio/Buffer/Chars.java test/java/nio/MappedByteBuffer/Force.java test/java/nio/MappedByteBuffer/ZeroMap.java test/java/nio/channels/AsynchronousChannelGroup/Basic.java test/java/nio/channels/AsynchronousChannelGroup/Identity.java test/java/nio/channels/AsynchronousChannelGroup/Restart.java test/java/nio/channels/AsynchronousFileChannel/Basic.java test/java/nio/channels/AsynchronousFileChannel/Lock.java test/java/nio/channels/AsynchronousFileChannel/LotsOfWrites.java test/java/nio/channels/AsynchronousSocketChannel/Basic.java test/java/nio/channels/AsynchronousSocketChannel/StressLoopback.java test/java/nio/channels/Channels/Basic2.java test/java/nio/channels/Channels/ShortWrite.java test/java/nio/channels/DatagramChannel/AdaptDatagramSocket.java test/java/nio/channels/DatagramChannel/MulticastSendReceiveTests.java test/java/nio/channels/DatagramChannel/Promiscuous.java test/java/nio/channels/FileChannel/AtomicAppend.java test/java/nio/channels/FileChannel/ClosedByInterrupt.java test/java/nio/channels/FileChannel/MapTest.java test/java/nio/channels/FileChannel/Position.java test/java/nio/channels/FileChannel/Pread.java test/java/nio/channels/FileChannel/Pwrite.java test/java/nio/channels/FileChannel/Size.java test/java/nio/channels/FileChannel/Transfer.java test/java/nio/channels/FileChannel/Truncate.java test/java/nio/channels/Pipe/PipeChannel.java test/java/nio/channels/Pipe/ScatteringRead.java test/java/nio/channels/Pipe/SelectPipe.java test/java/nio/channels/Selector/SelectorTest.java test/java/nio/channels/ServerSocketChannel/NonBlockingAccept.java test/java/nio/channels/SocketChannel/CloseDuringWrite.java test/java/nio/channels/SocketChannel/OutOfBand.java test/java/nio/channels/SocketChannel/ShortWrite.java test/java/nio/channels/SocketChannel/VectorIO.java test/java/nio/channels/etc/AdaptorCloseAndInterrupt.java test/java/nio/charset/coders/BashCache.java test/java/nio/charset/coders/BashStreams.java test/java/nio/file/Files/BytesAndLines.java test/java/nio/file/Files/CopyAndMove.java test/java/nio/file/Files/walkFileTree/SkipSiblings.java test/java/nio/file/Files/walkFileTree/SkipSubtree.java test/java/nio/file/Files/walkFileTree/TerminateWalk.java test/java/nio/file/WatchService/LotsOfEvents.java test/java/nio/file/WatchService/MayFlies.java test/java/nio/file/WatchService/SensitivityModifier.java test/java/nio/file/attribute/AclFileAttributeView/Basic.java test/java/nio/file/attribute/FileTime/Basic.java test/java/nio/file/attribute/UserDefinedFileAttributeView/Basic.java test/java/security/MessageDigest/ByteBuffers.java test/java/security/MessageDigest/TestDigestIOStream.java test/java/security/MessageDigest/TestSameLength.java test/java/security/MessageDigest/TestSameValue.java test/java/security/Signature/ByteBuffers.java test/java/security/Signature/NONEwithRSA.java test/java/security/spec/EllipticCurveMatch.java test/java/sql/JavatimeTest.java test/java/text/Format/MessageFormat/Bug7003643.java test/java/util/Arrays/ArrayObjectMethods.java test/java/util/Arrays/CopyMethods.java test/java/util/Arrays/Correct.java test/java/util/Base64/TestBase64.java test/java/util/BitSet/BSMethods.java test/java/util/BitSet/ImportExport.java test/java/util/BitSet/PreviousBits.java test/java/util/Calendar/JavatimeTest.java test/java/util/Collection/MOAT.java test/java/util/Collections/AddAll.java test/java/util/Collections/CheckedListBash.java test/java/util/Collections/CheckedMapBash.java test/java/util/Collections/CheckedSetBash.java test/java/util/Collections/Disjoint.java test/java/util/Collections/Rotate.java test/java/util/EnumSet/EnumSetBash.java test/java/util/HashSet/Serialization.java test/java/util/IdentityHashMap/Capacity.java test/java/util/List/LockStep.java test/java/util/Map/LockStep.java test/java/util/NavigableMap/LockStep.java test/java/util/Properties/ConcurrentLoadAndStoreXML.java test/java/util/Random/DistinctSeeds.java test/java/util/Random/RandomStreamTest.java test/java/util/Random/RandomTest.java test/java/util/ResourceBundle/Control/StressTest.java test/java/util/SplittableRandom/SplittableRandomTest.java test/java/util/Timer/DelayOverflow.java test/java/util/Timer/Purge.java test/java/util/UUID/Serial.java test/java/util/UUID/UUIDTest.java test/java/util/WeakHashMap/GCDuringIteration.java test/java/util/logging/CheckZombieLockTest.java test/java/util/logging/DrainFindDeadlockTest.java test/java/util/logging/FileHandlerLongLimit.java test/java/util/logging/FileHandlerPath.java test/java/util/logging/FileHandlerPatternExceptions.java test/java/util/logging/LogManager/Configuration/ParentLoggerWithHandlerGC.java test/java/util/logging/LoggingDeadlock.java test/java/util/logging/LoggingDeadlock2.java test/java/util/logging/TestLogConfigurationDeadLockWithConf.java test/java/util/regex/RegExTest.java test/java/util/zip/3GBZipFiles.sh test/java/util/zip/DeInflate.java test/java/util/zip/DeflateIn_InflateOut.java test/java/util/zip/FlaterTest.java test/java/util/zip/GZIP/Accordion.java test/java/util/zip/GZIP/GZIPInputStreamRead.java test/java/util/zip/InflateIn_DeflateOut.java test/java/util/zip/InflaterBufferSize.java test/java/util/zip/TimeChecksum.java test/java/util/zip/TotalInOut.java test/java/util/zip/ZipFile/Assortment.java test/java/util/zip/ZipFile/ClearStaleZipFileInputStreams.java test/java/util/zip/ZipFile/FinalizeZipFile.java test/java/util/zip/ZipFile/MultiThreadedReadTest.java test/java/util/zip/ZipFile/ReadZip.java test/javax/crypto/Cipher/ByteBuffers.java test/javax/crypto/CipherSpi/DirectBBRemaining.java test/javax/crypto/CryptoPermission/AllPermCheck.java test/javax/crypto/CryptoPermission/RC2PermCheck.java test/javax/crypto/JceSecurity/SunJCE_BC_LoadOrdering.java test/javax/crypto/KeyGenerator/TestKGParity.java test/javax/crypto/Mac/ByteBuffers.java test/javax/crypto/NullCipher/TestNPE.java test/javax/management/monitor/MultiMonitorTest.java test/javax/management/mxbean/ThreadMXBeanTest.java test/javax/management/remote/mandatory/loading/MissingClassTest.java test/javax/management/timer/MissingNotificationTest.java test/javax/net/ssl/SSLEngine/LargeBufs.java test/javax/smartcardio/TestCommandAPDU.java test/sun/management/jmxremote/startstop/JMXStartStopTest.java test/sun/misc/CopyMemory.java test/sun/misc/FloatingDecimal/TestFloatingDecimal.java test/sun/net/www/ParseUtil_4922813.java test/sun/nio/cs/FindDecoderBugs.java test/sun/nio/cs/FindEncoderBugs.java test/sun/nio/cs/TestStringCoding.java test/sun/nio/cs/TestStringCodingUTF8.java test/sun/security/mscapi/PrngSlow.java test/sun/security/pkcs11/Cipher/ReinitCipher.java test/sun/security/pkcs11/Cipher/TestRSACipher.java test/sun/security/pkcs11/Cipher/TestRawRSACipher.java test/sun/security/pkcs11/Cipher/TestSymmCiphers.java test/sun/security/pkcs11/Cipher/TestSymmCiphersNoPad.java test/sun/security/pkcs11/KeyGenerator/DESParity.java test/sun/security/pkcs11/Mac/MacSameTest.java test/sun/security/pkcs11/Mac/ReinitMac.java test/sun/security/pkcs11/MessageDigest/ByteBuffers.java test/sun/security/pkcs11/MessageDigest/ReinitDigest.java test/sun/security/pkcs11/MessageDigest/TestCloning.java test/sun/security/pkcs11/Secmod/AddPrivateKey.java test/sun/security/pkcs11/Secmod/Crypto.java test/sun/security/pkcs11/Secmod/GetPrivateKey.java test/sun/security/pkcs11/SecureRandom/Basic.java test/sun/security/pkcs11/Signature/ByteBuffers.java test/sun/security/pkcs11/Signature/ReinitSignature.java test/sun/security/pkcs11/Signature/TestDSA.java test/sun/security/pkcs11/Signature/TestDSAKeyLength.java test/sun/security/pkcs11/ec/ReadPKCS12.java test/sun/security/pkcs11/ec/TestCurves.java test/sun/security/pkcs11/ec/TestECDSA.java test/sun/security/pkcs11/rsa/KeyWrap.java test/sun/security/pkcs11/rsa/TestKeyPairGenerator.java test/sun/security/pkcs11/rsa/TestSignatures.java test/sun/security/provider/DSA/TestDSA.java test/sun/security/provider/DSA/TestDSA2.java test/sun/security/provider/SeedGenerator/Priority_Inversion.java test/sun/security/rsa/TestKeyPairGenerator.java test/sun/security/rsa/TestSignatures.java test/sun/security/ssl/ClientHandshaker/LengthCheckTest.java test/sun/security/ssl/GenSSLConfigs/main.java
diffstat 241 files changed, 258 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/test/TEST.ROOT	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/oracle/security/ucrypto/CipherSignNotSupported.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/oracle/security/ucrypto/TestAES.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/oracle/security/ucrypto/TestCICOWithGCM.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/oracle/security/ucrypto/TestCICOWithGCMAndAAD.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/oracle/security/ucrypto/TestDigest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/oracle/security/ucrypto/TestGCMKeyWrap.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/AES/CICO.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/AES/CTR.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/AES/Padding.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/AES/Test4513830.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/AES/Test4517355.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/AES/TestAESCipher.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCM.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCMAndAAD.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/AES/TestISO10126Padding.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/AES/TestNonexpanding.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/AES/TestSameBuffer.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/DES/FlushBug.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/PBE/PBESealedObject.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/PBE/PBKDF2Translate.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/PBE/PKCS12Cipher.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/PBE/TestCipherKeyWrapperPBEKey.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/RSA/TestOAEP.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Cipher/RSA/TestRSA.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Mac/HmacSaltLengths.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/crypto/provider/Mac/MacSameTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/io/DataInputStream/ReadUTF.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/io/File/GetXSpace.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/io/InputStream/TransferTo.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/io/PrintStream/OversynchronizedTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/io/Serializable/corruptedUTFConsumption/CorruptedUTFConsumption.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/io/Serializable/longString/LongString.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/io/Serializable/proxy/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/io/Serializable/sanityCheck/SanityCheck.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/Boolean/MakeBooleanComparable.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/ClassLoader/Assert.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/Compare.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/Double/ParseHexFloatingPoint.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/Enum/ValueOf.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/HashCode.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/Integer/BitTwiddle.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/Long/BitTwiddle.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/Math/CubeRootTests.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/Math/HypotTests.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/Math/IeeeRecommendedTests.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/Math/Log1pTests.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/Runtime/exec/WinCommand.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/String/ContentEquals.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/String/ICCBasher.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/String/SBConstructor.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/String/Split.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/StringBuffer/AppendCharSequence.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/StringBuffer/AppendSB.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/StringBuffer/AppendStringBuilder.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/StringBuffer/Capacity.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/StringBuffer/IndexOf.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/StringBuffer/SBBasher.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/StringBuffer/Trim.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/StringBuilder/AppendStringBuffer.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/ToString.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/instrument/SingleTransformerTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/instrument/TransformMethodTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/invoke/MethodHandles/CatchExceptionTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/lang/management/BufferPoolMXBean/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/math/BigDecimal/StringConstructor.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/math/BigInteger/BigIntegerTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/math/BigInteger/ModPow65537.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/math/BigInteger/PrimeTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/math/BigInteger/SymmetricRangeTests.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/net/InetAddress/HashSpread.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/Buffer/Chars.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/MappedByteBuffer/Force.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/MappedByteBuffer/ZeroMap.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/AsynchronousChannelGroup/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/AsynchronousChannelGroup/Identity.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/AsynchronousChannelGroup/Restart.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/AsynchronousFileChannel/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/AsynchronousFileChannel/Lock.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/AsynchronousFileChannel/LotsOfWrites.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/AsynchronousSocketChannel/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/AsynchronousSocketChannel/StressLoopback.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/Channels/Basic2.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/Channels/ShortWrite.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/DatagramChannel/AdaptDatagramSocket.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/DatagramChannel/MulticastSendReceiveTests.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/DatagramChannel/Promiscuous.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/FileChannel/AtomicAppend.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/FileChannel/ClosedByInterrupt.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/FileChannel/MapTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/FileChannel/Position.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/FileChannel/Pread.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/FileChannel/Pwrite.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/FileChannel/Size.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/FileChannel/Transfer.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/FileChannel/Truncate.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/Pipe/PipeChannel.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/Pipe/ScatteringRead.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/Pipe/SelectPipe.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/Selector/SelectorTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/ServerSocketChannel/NonBlockingAccept.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/SocketChannel/CloseDuringWrite.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/SocketChannel/OutOfBand.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/SocketChannel/ShortWrite.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/SocketChannel/VectorIO.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/channels/etc/AdaptorCloseAndInterrupt.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/charset/coders/BashCache.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/charset/coders/BashStreams.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/file/Files/BytesAndLines.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/file/Files/CopyAndMove.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/file/Files/walkFileTree/SkipSiblings.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/file/Files/walkFileTree/SkipSubtree.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/file/Files/walkFileTree/TerminateWalk.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/file/WatchService/LotsOfEvents.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/file/WatchService/MayFlies.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/file/WatchService/SensitivityModifier.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/file/attribute/AclFileAttributeView/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/file/attribute/FileTime/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/nio/file/attribute/UserDefinedFileAttributeView/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/security/MessageDigest/ByteBuffers.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/security/MessageDigest/TestDigestIOStream.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/security/MessageDigest/TestSameLength.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/security/MessageDigest/TestSameValue.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/security/Signature/ByteBuffers.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/security/Signature/NONEwithRSA.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/security/spec/EllipticCurveMatch.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/sql/JavatimeTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/text/Format/MessageFormat/Bug7003643.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Arrays/ArrayObjectMethods.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Arrays/CopyMethods.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Arrays/Correct.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Base64/TestBase64.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/BitSet/BSMethods.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/BitSet/ImportExport.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/BitSet/PreviousBits.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Calendar/JavatimeTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Collection/MOAT.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Collections/AddAll.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Collections/CheckedListBash.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Collections/CheckedMapBash.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Collections/CheckedSetBash.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Collections/Disjoint.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Collections/Rotate.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/EnumSet/EnumSetBash.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/HashSet/Serialization.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/IdentityHashMap/Capacity.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/List/LockStep.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Map/LockStep.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/NavigableMap/LockStep.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Properties/ConcurrentLoadAndStoreXML.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Random/DistinctSeeds.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Random/RandomStreamTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Random/RandomTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/ResourceBundle/Control/StressTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/SplittableRandom/SplittableRandomTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Timer/DelayOverflow.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/Timer/Purge.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/UUID/Serial.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/UUID/UUIDTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/WeakHashMap/GCDuringIteration.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/logging/CheckZombieLockTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/logging/DrainFindDeadlockTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/logging/FileHandlerLongLimit.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/logging/FileHandlerPath.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/logging/FileHandlerPatternExceptions.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/logging/LogManager/Configuration/ParentLoggerWithHandlerGC.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/logging/LoggingDeadlock.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/logging/LoggingDeadlock2.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/logging/TestLogConfigurationDeadLockWithConf.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/regex/RegExTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/3GBZipFiles.sh	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/DeInflate.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/DeflateIn_InflateOut.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/FlaterTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/GZIP/Accordion.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/GZIP/GZIPInputStreamRead.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/InflateIn_DeflateOut.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/InflaterBufferSize.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/TimeChecksum.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/TotalInOut.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/ZipFile/Assortment.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/ZipFile/ClearStaleZipFileInputStreams.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/ZipFile/FinalizeZipFile.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/ZipFile/MultiThreadedReadTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/java/util/zip/ZipFile/ReadZip.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/javax/crypto/Cipher/ByteBuffers.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/javax/crypto/CipherSpi/DirectBBRemaining.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/javax/crypto/CryptoPermission/AllPermCheck.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/javax/crypto/CryptoPermission/RC2PermCheck.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/javax/crypto/JceSecurity/SunJCE_BC_LoadOrdering.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/javax/crypto/KeyGenerator/TestKGParity.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/javax/crypto/Mac/ByteBuffers.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/javax/crypto/NullCipher/TestNPE.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/javax/management/monitor/MultiMonitorTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/javax/management/mxbean/ThreadMXBeanTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/javax/management/remote/mandatory/loading/MissingClassTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/javax/management/timer/MissingNotificationTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/javax/net/ssl/SSLEngine/LargeBufs.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/javax/smartcardio/TestCommandAPDU.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/management/jmxremote/startstop/JMXStartStopTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/misc/CopyMemory.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/misc/FloatingDecimal/TestFloatingDecimal.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/net/www/ParseUtil_4922813.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/nio/cs/FindDecoderBugs.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/nio/cs/FindEncoderBugs.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/nio/cs/TestStringCoding.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/nio/cs/TestStringCodingUTF8.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/mscapi/PrngSlow.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/Cipher/ReinitCipher.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/Cipher/TestRSACipher.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/Cipher/TestRawRSACipher.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/Cipher/TestSymmCiphers.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/Cipher/TestSymmCiphersNoPad.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/KeyGenerator/DESParity.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/Mac/MacSameTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/Mac/ReinitMac.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/MessageDigest/ByteBuffers.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/MessageDigest/ReinitDigest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/MessageDigest/TestCloning.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/Secmod/AddPrivateKey.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/Secmod/Crypto.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/Secmod/GetPrivateKey.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/SecureRandom/Basic.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/Signature/ByteBuffers.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/Signature/ReinitSignature.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/Signature/TestDSA.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/Signature/TestDSAKeyLength.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/ec/ReadPKCS12.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/ec/TestCurves.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/ec/TestECDSA.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/rsa/KeyWrap.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/rsa/TestKeyPairGenerator.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/pkcs11/rsa/TestSignatures.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/provider/DSA/TestDSA.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/provider/DSA/TestDSA2.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/provider/SeedGenerator/Priority_Inversion.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/rsa/TestKeyPairGenerator.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/rsa/TestSignatures.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/ssl/ClientHandshaker/LengthCheckTest.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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/test/sun/security/ssl/GenSSLConfigs/main.java	Wed Apr 29 08:37:57 2015 -0700
+++ b/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
  */
 
 /*