United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6699090 : Avoid NPE if parse fails in isMimeTypeEqual, do a string comparison instead

Details
Type:
Bug
Submit Date:
2008-05-08
Status:
Resolved
Updated Date:
2010-04-02
Project Name:
JDK
Resolved Date:
2008-05-08
Component:
core-libs
OS:
generic
Sub-Component:
javax.activation
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.1.1
Fixed Versions:
1.1.1 (1.1.1)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
If parsing a mime type in isMimeTypeEqual() failed, a null pointer exception will result.

                                    

Comments
EVALUATION

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

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



Hardware and Software, Engineered to Work Together