Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6699090
Votes 0
Synopsis Avoid NPE if parse fails in isMimeTypeEqual, do a string comparison instead
Category javax_activation:classes
Reported Against
Release Fixed 1.1.1
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 08-MAY-2008
Description
If parsing a mime type in isMimeTypeEqual() failed, a null pointer exception will result.
Posted Date : 2008-05-08 01:53:29.0
Work Around
N/A
Evaluation
Bug found and fixed by by Bill Shannon as part of changes in JAF 1.1.1
Posted Date : 2008-05-08 01:56:02.0

Fix is, on parse exception, merely do a crude string compare on the mime types.
Posted Date : 2008-05-08 01:57:48.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang