title: import sun.security.pkcs11 cannot be resolved
body: <p>I'm updating a code from Java8 to Java11 and eclipse is not recognizing these packages:</p>
  <pre><code>import sun.security.pkcs11.*; 
  import sun.security.pkcs11.wrapper.*;
  </code></pre>
  <blockquote>
  <p>The error is &quot;The package is not acessible&quot;</p>
  </blockquote>
  <p>But the package is available in JDK</p>
  <pre><code>module jdk.crypto.cryptoki {
      // Depends on SunEC provider for EC related functionality
      requires jdk.crypto.ec;
  
      provides java.security.Provider with sun.security.pkcs11.SunPKCS11; }
  </code></pre>
  <p>I tryed to add this line to maven args without success</p>
  <pre><code>&lt;arg&gt;-XDignore.symbol.file&lt;/arg&gt;
  </code></pre>
  <p>Any suggestions?</p>