[java-gnome-hackers] Enchant RuntimeException
Brought to you by:
afcowie
|
From: Serkan K. <se...@ge...> - 2010-03-09 18:34:47
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
When requestDict is called for an unexisting dictionary enchant returns
null and we're not checking this so this throws a
RuntimeException("Cannot make a Java proxy for the NULL pointer!") from
org.freedesktop.bindings.Pointer. I think this should cause a checked
exception or return *java null* if we want to mimic what the underlying
library does
So please comment on what to do (I can work on a patch when we decide on
the road to take)
- --
Sincerely,
Serkan KABA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkuWlLcACgkQRh6X64ivZaKWqwCfXJNRXLHGTTXOm3uzepIPdp8D
w1MAn16lV3mcfrx3rBgfbW+Amp+2xolf
=du9k
-----END PGP SIGNATURE-----
|