8166450: smartcardio related tests failed on compilation during execution with jtreg tool
authorskovalev
Wed, 21 Sep 2016 17:09:41 +0300
changeset 41106 f37e9bfeae01
parent 41105 52157c912fd9
child 41108 60c0aa2db56a
8166450: smartcardio related tests failed on compilation during execution with jtreg tool Reviewed-by: weijun
jdk/test/sun/security/smartcardio/TestChannel.java
jdk/test/sun/security/smartcardio/TestConnect.java
jdk/test/sun/security/smartcardio/TestConnectAgain.java
jdk/test/sun/security/smartcardio/TestControl.java
jdk/test/sun/security/smartcardio/TestDefault.java
jdk/test/sun/security/smartcardio/TestDirect.java
jdk/test/sun/security/smartcardio/TestExclusive.java
jdk/test/sun/security/smartcardio/TestMultiplePresent.java
jdk/test/sun/security/smartcardio/TestPresent.java
jdk/test/sun/security/smartcardio/TestTransmit.java
--- 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
  */