--- old/jdk/test/javax/smartcardio/TestCommandAPDU.java 2016-08-08 16:34:29.000000000 -0700 +++ new/jdk/test/javax/smartcardio/TestCommandAPDU.java 2016-08-08 16:34:28.000000000 -0700 @@ -27,8 +27,8 @@ * @summary Test for the CommandAPDU class * @author Andreas Sterbenz * @key randomness - * @compile -addmods java.smartcardio TestCommandAPDU.java - * @run main/othervm -addmods java.smartcardio TestCommandAPDU + * @compile --add-modules=java.smartcardio TestCommandAPDU.java + * @run main/othervm --add-modules=java.smartcardio TestCommandAPDU */ import java.util.*;