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

X500Principal.getName(String format) does not specify behavior for null value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 5.0
    • security-libs
    • beta
    • sparc
    • solaris_9

      javax.security.auth.x500.X500Principal.getName(String format) does not specify
      the behavior when format is null. The current implementation suggests that
      IllegalArgumentException is thrown in this case. However, not specifying
      behavior for null arguments can also imply NullPointerException. So it needs
      to be explicitly documented.



      ###@###.### 2004-12-22 23:49:28 GMT

            xuelei Xuelei Fan
            xwangsunw Xiaozhong Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: