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

java.util.jar.Manifest.getEntries() Map format not specified

    • b63
    • sparc
    • solaris_2.6

      Name: saC57035 Date: 02/16/99


      javadoc for java.util.jar.Manifest.getEntries() says nothing regarding
      Map format. It is not indicated whether or not that Map permits
      null keys. It makes java.util.jar.Manifes.getAttributes(null) behavior
      undetermined. Since getAttributes() is defined as:
      return (Attributes)getEntries().get(name),
      getAttributes() should either throw NullPointerException(if Map does not
      permit null keys) or return null(if null keys permitted but such key not found)
      in this case. It is not specified what is the correct behavior.

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

          Loading...
          Uploaded image for project: 'JDK'
          1. JDK
          2. JDK-4211779

          java.util.jar.Manifest.getEntries() Map format not specified

            • b63
            • sparc
            • solaris_2.6

              Name: saC57035 Date: 02/16/99


              javadoc for java.util.jar.Manifest.getEntries() says nothing regarding
              Map format. It is not indicated whether or not that Map permits
              null keys. It makes java.util.jar.Manifes.getAttributes(null) behavior
              undetermined. Since getAttributes() is defined as:
              return (Attributes)getEntries().get(name),
              getAttributes() should either throw NullPointerException(if Map does not
              permit null keys) or return null(if null keys permitted but such key not found)
              in this case. It is not specified what is the correct behavior.

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

                    bristor Dave Bristor (Inactive)
                    savzan Stanislav Avzan (Inactive)
                    Votes:
                    0 Vote for this issue
                    Watchers:
                    0 Start watching this issue

                      Created:
                      Updated:
                      Resolved:
                      Imported:
                      Indexed:

                        bristor Dave Bristor (Inactive)
                        savzan Stanislav Avzan (Inactive)
                        Votes:
                        0 Vote for this issue
                        Watchers:
                        0 Start watching this issue

                          Created:
                          Updated:
                          Resolved:
                          Imported:
                          Indexed: