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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 6
    • Component/s: 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]

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: