8137068: Tests added in JDK-8048604 fail to compile
authorvaleriep
Thu, 24 Sep 2015 01:45:44 +0000
changeset 32767 7c9edd1bbf35
parent 32766 2322e6c2a032
child 32768 0e27fe2ca88b
8137068: Tests added in JDK-8048604 fail to compile Summary: Fixed the 2 tests with correct jprt tags Reviewed-by: xuelei
jdk/test/com/sun/crypto/provider/CICO/PBEFunc/CipherNCFuncTest.java
jdk/test/javax/crypto/KeyGenerator/TestKGParity.java
--- 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
  */