jdk/src/share/classes/sun/security/pkcs11/Secmod.java
changeset 12813 c10ab96dcf41
parent 10336 0bb1999251f8
child 13565 6298d600104f
--- a/jdk/src/share/classes/sun/security/pkcs11/Secmod.java	Wed Jul 05 18:09:43 2017 +0200
+++ b/jdk/src/share/classes/sun/security/pkcs11/Secmod.java	Thu Jun 07 18:05:09 2012 -0700
@@ -35,6 +35,8 @@
 import sun.security.pkcs11.wrapper.*;
 import static sun.security.pkcs11.wrapper.PKCS11Constants.*;
 
+import javax.tools.annotation.GenerateNativeHeader;
+
 /**
  * The Secmod class defines the interface to the native NSS
  * library and the configuration information it stores in its
@@ -55,6 +57,8 @@
  * @since   1.6
  * @author  Andreas Sterbenz
  */
+/* No native methods here, but the constants are needed in the supporting JNI code */
+@GenerateNativeHeader
 public final class Secmod {
 
     private final static boolean DEBUG = false;