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

(doc) javax.net.ssl.KeyManagerFactory.getInstance throws unspecified NPE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6
    • security-libs
    • None

      KeyManagerFactory.getInstance( null );
      KeyManagerFactory.getInstance( null, Provider );
      KeyManagerFactory.getInstance( null, String );

      throws NPE.

      It would be good to mention this fact in the spec (for the methods or the package).

      failing tests:
      api/javax_net/ssl/KeyManagerFactory/index.html#KeyManagerFactoryTests[getInstance003]
      api/javax_net/ssl/KeyManagerFactory/index.html#KeyManagerFactoryTests[getInstance004]
      api/javax_net/ssl/KeyManagerFactory/index.html#KeyManagerFactoryTests[getInstance005]

            xuelei Xuelei Fan
            itseytin Igor Tseytin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: