classpathx-javamail
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Classpathx-javamail] Re: Released: GNU JAF 1.1 and GNU JavaMail 1.1


From: Xavier Poinsard
Subject: [Classpathx-javamail] Re: Released: GNU JAF 1.1 and GNU JavaMail 1.1
Date: Wed, 29 Jun 2005 17:54:37 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050404)

Hi,
It looks like a tiny typo bug in ObjectDataContentHandler.java is generating unexpected exceptions.
Here is a patch reverting to a normal behavior.

Chris Burdess a écrit :
As the subject line says, there are new releases of the GNU JAF and
JavaMail packages available. You can retrieve them from

  ftp://ftp.gnu.org/gnu/classpathx/activation-1.1.tar.gz
  ftp://ftp.gnu.org/gnu/classpathx/mail-1.1.tar.gz

GNU JAF 1.1 implements the recently announced Java Activation Framework
1.1, and therefore introduces a few new methods.

GNU JavaMail 1.1 implements the JavaMail 1.3 API. It's primarily a bug
fix release.

GNU JavaMail depends on a recent snapshot of GNU inetlib. A snapshot
known to work has been tagged in Savannah CVS with the tag "tag_1_1_1".
A new release of GNU inetlib will be forthcoming shortly.

Index: ObjectDataContentHandler.java
===================================================================
RCS file: 
/cvsroot/classpathx/activation/source/javax/activation/ObjectDataContentHandler.java,v
retrieving revision 1.5
diff -u -r1.5 ObjectDataContentHandler.java
--- ObjectDataContentHandler.java       28 May 2005 16:54:58 -0000      1.5
+++ ObjectDataContentHandler.java       29 Jun 2005 15:45:07 -0000
@@ -107,7 +107,8 @@
       {
         dch.writeTo(object, mimeType, out);
       }
-    throw new UnsupportedDataTypeException("no object DCH for MIME type " + 
mimeType);
+    else
+       throw new UnsupportedDataTypeException("no object DCH for MIME type " + 
mimeType);
   }
   
 }

reply via email to

[Prev in Thread] Current Thread [Next in Thread]