Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8156716

Incorrect condition in test SupportedDHKeys.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • security-libs
    • None

      It is expected to run the block except SunPKCS11 on Solaris, but the following code will never get called because SunPKCS11-Solaris is only on SunOS.

      if (provider.getName().equals("SunPKCS11-Solaris") &&
             !System.getProperty("os.name").equals("SunOS")) {
      ....
      }

            xuelei Xuelei Fan
            xuelei Xuelei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: