--- old/jdk/test/javax/crypto/Cipher/CipherStreamClose.java 2016-08-08 16:33:55.000000000 -0700 +++ new/jdk/test/javax/crypto/Cipher/CipherStreamClose.java 2016-08-08 16:33:55.000000000 -0700 @@ -27,8 +27,8 @@ * @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.*;