JDK-6699090 : Avoid NPE if parse fails in isMimeTypeEqual, do a string comparison instead
  • Type: Bug
  • Component: other-libs
  • Sub-Component: javax.activation
  • Affected Version: 1.1.1
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-05-08
  • Updated: 2018-03-21
  • Resolved: 2008-05-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6 Other
1.1.1,OpenJDK6Fixed 6u10Fixed OpenJDK6Fixed
Related Reports
Relates :  
Description
If parsing a mime type in isMimeTypeEqual() failed, a null pointer exception will result.

Comments
EVALUATION Fix is, on parse exception, merely do a crude string compare on the mime types.
08-05-2008

EVALUATION Bug found and fixed by by Bill Shannon as part of changes in JAF 1.1.1
08-05-2008