< prev index next >
jdk/test/javax/crypto/Cipher/CipherStreamClose.java
Print this page
@@ -25,12 +25,12 @@
* @test
* @bug 7160837
* @summary Make sure Cipher IO streams doesn't call extra doFinal if close()
* is called multiple times. Additionally, verify the input and output streams
* match with encryption and decryption with non-stream crypto.
- * @compile -addmods java.xml.bind CipherStreamClose.java
- * @run main/othervm -addmods java.xml.bind CipherStreamClose
+ * @modules java.xml.bind
+ * @run main CipherStreamClose
*/
import java.io.*;
import java.security.DigestOutputStream;
import java.security.DigestInputStream;
< prev index next >