--- old/test/javax/smartcardio/TestCardPermission.java 2017-03-08 10:33:21.000000000 +0800 +++ new/test/javax/smartcardio/TestCardPermission.java 2017-03-08 10:33:21.000000000 +0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 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,6 @@ * @bug 6293767 6469513 * @summary Test for the CardPermission class * @author Andreas Sterbenz - * @compile --add-modules=java.smartcardio TestCardPermission.java - * @run main/othervm --add-modules=java.smartcardio TestCardPermission */ import javax.smartcardio.*;