Re: Bug in JAF 1.1 (ObjectDataContentHandler)

Archit Shah <[email protected]> Fri, 12 May 2006 11:54:51 -0400
Newsgroups gmane.comp.java.classpath.extensions.discuss
Message-ID <[email protected]>
Archit Shah wrote:
> I'm not sure if the current release contains this fix, but this bug was 
> fixed in CVS a while back. Maybe we can get this fix into 1.0.x branch 
> as well?
> 

Nevermind. The 1.0.x branch does not need this fix. The method reads:

public void writeTo(Object object, String mimeType, OutputStream out)
         throws IOException
     {
         if (dch != null)
             dch.writeTo(object, mimeType, out);
         else
             throw new UnsupportedDataTypeException("no object DCH for 
MIME type
" + mimeType);
     }