Re: Released: GNU JAF 1.1 and GNU JavaMail 1.1
Xavier Poinsard <[email protected]> Wed, 29 Jun 2005 17:54:37 +0200
| Newsgroups | gmane.comp.java.classpath.extensions.javamail |
|---|---|
| Message-ID | <[email protected]> |
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. _______________________________________________ Classpathx-javamail mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpathx-javamail
fixUnsupported.diff
(text/plain, 678 B)
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);
}
}