--- a/jdk/test/javax/smartcardio/TestCardPermission.java Wed Aug 10 22:48:25 2016 +0100
+++ b/jdk/test/javax/smartcardio/TestCardPermission.java Wed Aug 10 15:51:25 2016 -0700
@@ -26,8 +26,8 @@
* @bug 6293767
* @summary Test for the CardPermission class
* @author Andreas Sterbenz
- * @compile -addmods java.smartcardio TestCardPermission.java
- * @run main/othervm -addmods java.smartcardio TestCardPermission
+ * @compile --add-modules=java.smartcardio TestCardPermission.java
+ * @run main/othervm --add-modules=java.smartcardio TestCardPermission
*/
import javax.smartcardio.*;