I have problems using message flags in GNUMail. I get
IllegalAccessException in all methods of the Flags class which contain
(direct) access to Flag.flag. I guess it's because of Flag.flag is
declared private. Tell me if I'm wrong.
Should Flag.flag be declared public (providing read-write access, which
is not we want since Flag sould contain a single flag, not a set) or
create a new method, say Flag.getFlag() which simply returns Flag.flag
(not a part of the JavaMail specification, but may be OK) and replace
all accesses of Flag.flag with Flag.getFlag()?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org