Details
-
Type:
Enhancement
-
Status: Resolved
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: 1.1
-
Fix Version/s: 1.1.1
-
Component/s: other-libs
-
Labels:None
-
Subcomponent:
-
Resolved In Build:1.1.1
-
CPU:generic
-
OS:generic
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2162449 | 6u10 | J. Duke | P4 | Resolved | Fixed | b25 |
Description
Users of JavaMail often create DataHandlers with an object and an unknown
(no DataContentHandler) MIME type. The object is often a simple type such
as a byte array or a String. JavaMail fails to "serialize" these types
because DataHandler doesn't know how to convert these objects to a byte stream.
DataHandler should do the obvious "conversion" for byte arrays and Strings.
(no DataContentHandler) MIME type. The object is often a simple type such
as a byte array or a String. JavaMail fails to "serialize" these types
because DataHandler doesn't know how to convert these objects to a byte stream.
DataHandler should do the obvious "conversion" for byte arrays and Strings.
Attachments
Issue Links
- backported by
-
JDK-2162449 DataHandler.writeTo should have built-in support for byte arrays and Strings
-
- Resolved
-