--- a/jdk/test/javax/smartcardio/Serialize.java Wed Aug 10 22:48:25 2016 +0100
+++ b/jdk/test/javax/smartcardio/Serialize.java Wed Aug 10 15:51:25 2016 -0700
@@ -26,8 +26,8 @@
* @bug 6445367
* @summary make sure serialization works
* @author Andreas Sterbenz
- * @compile -addmods java.smartcardio Serialize.java
- * @run main/othervm -addmods java.smartcardio Serialize
+ * @compile --add-modules=java.smartcardio Serialize.java
+ * @run main/othervm --add-modules=java.smartcardio Serialize
*/
import java.io.*;