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:address@hidden:/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