[rfc][icedtea-web] Don't be silent if JNLPClassLoader gets a ClassFormatError

Adam Domurad adomurad at redhat.com
Fri Mar 22 08:20:58 PDT 2013


On 03/22/2013 11:15 AM, Omair Majid wrote:
> On 03/22/2013 08:47 AM, Jiri Vanek wrote:
>> I think it would be worthy to have printStackTrace in all catches in
>> block you are modifying.
>> Feel free to skip where you think it is redundant (nowhere?) and push.
> Hm.. maybe it makes sense to print it for PrivilegedActionException. If
> you add it for ClassNotFoundException (which is completely expected
> during a lookup), it will just be noise.
>
> Cheers,
> Omair
>

Hi Omair. I added it just for ClassFormatError, none of the other ones 
made sense. 90% of the ClassNotFoundException's were wrapped as 
PrivilegedActionException due to limitations with checked exceptions 
(<insert checked exception hate here>).

Thanks,
-Adam



More information about the distro-pkg-dev mailing list