8166450: smartcardio related tests failed on compilation during execution with jtreg tool
Reviewed-by: weijun
--- a/jdk/test/sun/security/smartcardio/TestChannel.java Wed Sep 21 02:19:59 2016 -0700
+++ b/jdk/test/sun/security/smartcardio/TestChannel.java Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
* questions.
*/
-/**
+/*
* @test
* @bug 6239117
* @summary test logical channels work
* @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
* @run main/manual TestChannel
*/
--- a/jdk/test/sun/security/smartcardio/TestConnect.java Wed Sep 21 02:19:59 2016 -0700
+++ b/jdk/test/sun/security/smartcardio/TestConnect.java Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
* questions.
*/
-/**
+/*
* @test
* @bug 6293769 6294527 6309280
* @summary test connect() works
* @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
* @run main/manual TestConnect
*/
--- a/jdk/test/sun/security/smartcardio/TestConnectAgain.java Wed Sep 21 02:19:59 2016 -0700
+++ b/jdk/test/sun/security/smartcardio/TestConnectAgain.java Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
* questions.
*/
-/**
+/*
* @test
* @bug 6239117
* @summary test connect works correctly if called multiple times/card removed
* @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
* @run main/manual TestConnectAgain
*/
--- a/jdk/test/sun/security/smartcardio/TestControl.java Wed Sep 21 02:19:59 2016 -0700
+++ b/jdk/test/sun/security/smartcardio/TestControl.java Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
* questions.
*/
-/**
+/*
* @test
* @bug 6239117 6470320
* @summary test if transmitControlCommand() works
* @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
* @run main/manual TestControl
*/
--- a/jdk/test/sun/security/smartcardio/TestDefault.java Wed Sep 21 02:19:59 2016 -0700
+++ b/jdk/test/sun/security/smartcardio/TestDefault.java Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
* questions.
*/
-/**
+/*
* @test
* @bug 6327047
* @summary verify that TerminalFactory.getDefault() works
* @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
* @run main/manual TestDefault
*/
--- a/jdk/test/sun/security/smartcardio/TestDirect.java Wed Sep 21 02:19:59 2016 -0700
+++ b/jdk/test/sun/security/smartcardio/TestDirect.java Wed Sep 21 17:09:41 2016 +0300
@@ -21,10 +21,11 @@
* questions.
*/
-/**
+/*
* @test
* @bug 8046343
* @summary Make sure that direct protocol is available
+ * @modules java.smartcardio/javax.smartcardio
* @run main/manual TestDirect
*/
--- a/jdk/test/sun/security/smartcardio/TestExclusive.java Wed Sep 21 02:19:59 2016 -0700
+++ b/jdk/test/sun/security/smartcardio/TestExclusive.java Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
* questions.
*/
-/**
+/*
* @test
* @bug 6239117
* @summary verify that beginExclusive()/endExclusive() works
* @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
* @run main/manual TestExclusive
*/
--- a/jdk/test/sun/security/smartcardio/TestMultiplePresent.java Wed Sep 21 02:19:59 2016 -0700
+++ b/jdk/test/sun/security/smartcardio/TestMultiplePresent.java Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
* questions.
*/
-/**
+/*
* @test
* @bug 6239117 6445367
* @summary test that CardTerminals.waitForCard() works
* @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
* @run main/manual TestMultiplePresent
*/
--- a/jdk/test/sun/security/smartcardio/TestPresent.java Wed Sep 21 02:19:59 2016 -0700
+++ b/jdk/test/sun/security/smartcardio/TestPresent.java Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
* questions.
*/
-/**
+/*
* @test
* @bug 6293769 6294527
* @summary test that the isCardPresent()/waitForX() APIs work correctly
* @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
* @run main/manual TestPresent
*/
--- a/jdk/test/sun/security/smartcardio/TestTransmit.java Wed Sep 21 02:19:59 2016 -0700
+++ b/jdk/test/sun/security/smartcardio/TestTransmit.java Wed Sep 21 17:09:41 2016 +0300
@@ -21,11 +21,12 @@
* questions.
*/
-/**
+/*
* @test
* @bug 6293769 6294527
* @summary test transmit() works
* @author Andreas Sterbenz
+ * @modules java.smartcardio/javax.smartcardio
* @run main/manual TestTransmit
*/