--- old/test/javax/smartcardio/CommandAPDUTest.java 2017-03-08 10:33:16.000000000 +0800 +++ new/test/javax/smartcardio/CommandAPDUTest.java 2017-03-08 10:33:16.000000000 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -26,8 +26,7 @@ * @bug 8049021 * @summary Test different constructors for CommandAPDU and check CLA,INS,NC,NE, * P1,and P2 - * @compile --add-modules=java.smartcardio CommandAPDUTest.java - * @run testng/othervm --add-modules=java.smartcardio CommandAPDUTest + * @run testng CommandAPDUTest */ import java.nio.ByteBuffer; import javax.smartcardio.CommandAPDU;