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

MimeType throws NPE when parsing type with trailing space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.0.1fcs
    • 1.0fcs
    • other-libs
    • None
    • 1.0.1fcs
    • generic
    • solaris_2.6
    • Verified

      new MimeType("multipart/mixed;boundary=foo ") fails with a NullPointerException.

      In MimeTypeParameterList.skipWhiteSpace it fails to test for the end
      of the string correctly.

            bshannon Bill Shannon (Inactive)
            bshannon Bill Shannon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: