Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7371

Usage of sun.security.pkcs11 is not allowed when compiling in Java 11

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Title says it all, try to compile EJBCA with Java 11 gives you:

       

       

      jar:
       [mkdir] Created dir: /home/user/Dev/workspace/ejbca-trunk-clean/modules/cesecore-p11/build
       [javac] Compiling 1 source file to /home/user/Dev/workspace/ejbca-trunk-clean/modules/cesecore-p11/build
       [javac] /home/user/Dev/workspace/ejbca-trunk-clean/modules/cesecore-p11/src/sun/security/pkcs11/CESeCoreUtils.java:15: error: package sun.security.pkcs11.wrapper is not visible
       [javac] import static sun.security.pkcs11.wrapper.PKCS11Constants.CKA_SENSITIVE;
       [javac] ^
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tomas Tomas Gustavsson
                Reporter:
                tomas Tomas Gustavsson
                Verified by:
                Johan Eklund
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: