-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

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()?

Bye,
- --
Sze'kelyi Szabolcs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD2TnOGJRwVVqzMkMRAvmKAKCTkan7nhq/481sTSyg0vVXdEz4XACdH+9G
Riwl9LSaPOj6g1RIDL26DBs=
=1iBP
-----END PGP SIGNATURE-----


_______________________________________________
Classpathx-discuss mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpathx-discuss

Reply via email to