Re: Which application uses GNU JavaMail ?
Cedric Hyppolite <[email protected]> Sun, 12 Feb 2006 19:46:48 +0100
| Newsgroups | gmane.comp.java.classpath.extensions.discuss |
|---|---|
| Message-ID | <[email protected]> |
I ran the test with the latest CVS version for javamail and inetlib. Same result, the listing is still looping. I am connecting to imap.free.fr I don't know the IMAP server name and version... If you can enlighten =20= me on how to get it ? Are there a lot of server-dependent issues making Gnu JavaMail not =20 functional ? Regards, Cedric Le 12 f=C3=A9vr. 06 =C3=A0 13:14, Chris Burdess a =C3=A9crit : > Cedric Hyppolite wrote: >> The exception is thrown on the indicated line: >> >> in getSharedNamespaces (IMAPStore.java) >> ... >> Namespaces.Namespace[] n =3D ns.getShared(); >> --> Folder[] f =3D new Folder[n.length]; > > OK, that's an easy one, I've committed a fix for it to CVS. > >> I modified the code not to open the folder. Now I start to see =20 >> some IMAP folders. However it seems that listing of a non default =20 >> folder returns itself as subfolder. Which make the recursive =20 >> listing of folders enter a loop. >> >> Here is a test that could show the loop, if you want to try it. >> >> This may be solved in the CVS_HEAD version that I will check ASAP. =20= >> Could you give me the cvs server connection info and the module =20 >> list ? > > The instructions are at > > https://savannah.gnu.org/cvs/?group=3Dclasspathx > > Basically > > cvs -d:pserver:[email protected]:/sources/classpathx =20= > co mail > > I don't think this will solve your recursive listing problem =20 > though. Your test code works fine for me, perhaps this is an issue =20 > with your IMAP server? Which IMAP server is it? > --=20 > =E7=8A=AC Chris Burdess > "They that can give up essential liberty to obtain a little safety > deserve neither liberty nor safety." - Benjamin Franklin > > > >