changeset 12811:86e39496209e

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 c9b4bc199dca
children ebb557eaea32
files test/com/sun/crypto/provider/CICO/PBEFunc/CipherNCFuncTest.java test/javax/crypto/KeyGenerator/TestKGParity.java
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/com/sun/crypto/provider/CICO/PBEFunc/CipherNCFuncTest.java	Wed Sep 23 21:28:14 2015 +0000
+++ b/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/test/javax/crypto/KeyGenerator/TestKGParity.java	Wed Sep 23 21:28:14 2015 +0000
+++ b/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
  */