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
me on how to get it ?
Are there a lot of server-dependent issues making Gnu JavaMail not
functional ?
Regards,
Cedric
Le 12 févr. 06 à 13:14, Chris Burdess a écrit :
Cedric Hyppolite wrote:
The exception is thrown on the indicated line:
in getSharedNamespaces (IMAPStore.java)
...
Namespaces.Namespace[] n = ns.getShared();
--> Folder[] f = 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
some IMAP folders. However it seems that listing of a non default
folder returns itself as subfolder. Which make the recursive
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.
Could you give me the cvs server connection info and the module
list ?
The instructions are at
https://savannah.gnu.org/cvs/?group=classpathx
Basically
cvs -d:pserver:[EMAIL PROTECTED]:/sources/classpathx
co mail
I don't think this will solve your recursive listing problem
though. Your test code works fine for me, perhaps this is an issue
with your IMAP server? Which IMAP server is it?
--
犬 Chris Burdess
"They that can give up essential liberty to obtain a little safety
deserve neither liberty nor safety." - Benjamin Franklin
_______________________________________________
Classpathx-discuss mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpathx-discuss