changeset 32767:7c9edd1bbf35

8137068: Tests added in JDK-8048604 fail to compile Summary: Fixed the 2 tests with correct jprt tags Reviewed-by: xuelei
author valeriep
date Thu, 24 Sep 2015 01:45:44 +0000
parents 2322e6c2a032
children 0e27fe2ca88b
files jdk/test/com/sun/crypto/provider/CICO/PBEFunc/CipherNCFuncTest.java jdk/test/javax/crypto/KeyGenerator/TestKGParity.java
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/test/com/sun/crypto/provider/CICO/PBEFunc/CipherNCFuncTest.java	Wed Sep 23 21:28:14 2015 +0000
+++ b/jdk/test/com/sun/crypto/provider/CICO/PBEFunc/CipherNCFuncTest.java	Thu Sep 24 01:45:44 2015 +0000
@@ -23,7 +23,7 @@
 /*
  * @test
  * @bug 8048604
- * @library /lib/testlibrary/
+ * @library ../ /lib/testlibrary
  * @summary This test verifies the assertion "There should be no transformation
  *  on the plaintext/ciphertext in encryption/decryption mechanism" for
  *  feature "NullCipher".
--- a/jdk/test/javax/crypto/KeyGenerator/TestKGParity.java	Wed Sep 23 21:28:14 2015 +0000
+++ b/jdk/test/javax/crypto/KeyGenerator/TestKGParity.java	Thu Sep 24 01:45:44 2015 +0000
@@ -33,7 +33,8 @@
 /*
  * @test
  * @bug 8048607
- * @library ../../../com/sun/crypto/provider/Cipher/DES/TestUtility.java
+ * @compile ../../../com/sun/crypto/provider/Cipher/DES/TestUtility.java
+ * @run main TestKGParity
  * @summary Test key generation of DES and DESEDE
  * @key randomness
  */