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

java.util.jar.Attributes spec says nothing about handling null names

    XMLWordPrintable

    Details

      Description

      Name: ksC84122 Date: 12/28/98


      JavaDoc for java.util.jar.Attributes.containsKey(Object name)
      java.util.jar.Attributes.get(Object name),
      java.util.jar.Attributes.put(Object name, Object value),
      java.util.jar.Attributes.getValue(Attributes.Name name)
      says nothing about handling null name.

      Bug report for Bug Id 4199920 shows that currently null names(keys) are permitted,
      what is wrong. Bug report also shows that all above mentioned methods should
      throw NullPointerException with null name (key).

      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            bristor Dave Bristor
            Reporter:
            ksoshals Kirill Soshalskiy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: