[rfc][icedtea-web] Don't be silent if JNLPClassLoader gets a ClassFormatError
Omair Majid
omajid at redhat.com
Wed Mar 20 09:15:25 PDT 2013
On 03/20/2013 05:51 AM, Jiri Vanek wrote:
> Yup :)) I like your points... But I'm not so sure that it will break
> anything.... I'm for rethrowing where possible, and be laud/log where
> we can not rethrow. But in this particular part of code it will need
> a lot of empiric tastings, or somebody with insight into
> classlaoders... Omair? (silently CCed O:)
My general preference in findClass (and friends) is to ignore as many
errors as possible when trying to find a class. Sometimes it just delays
an error, but often it's the only way to handle broken programs.
Logging the problems as they happen is probably a good idea, though.
Cheers,
Omair
--
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681
More information about the distro-pkg-dev
mailing list