JSP Compiler swallows exceptions when removing files

2011-04-07 Thread Christopher Schultz
All,

While reading the code for jasper.compiler.Compiler on an unrelated
errand, I noticed that the removeGeneratedFiles and
removeGeneratedClassFiles methods contain this code:

} catch (Exception e) {
// Remove as much as possible, ignore possible exceptions
}

This code appears in both TC 6.0.x trunk and TC 7.0.x trunk.

This situation seems worthy of a log statement, no?

-chris



signature.asc
Description: OpenPGP digital signature


Re: JSP Compiler swallows exceptions when removing files

2011-04-07 Thread Filip Hanik - Dev Lists

yes

On 4/7/2011 1:32 PM, Christopher Schultz wrote:

All,

While reading the code for jasper.compiler.Compiler on an unrelated
errand, I noticed that the removeGeneratedFiles and
removeGeneratedClassFiles methods contain this code:

 } catch (Exception e) {
 // Remove as much as possible, ignore possible exceptions
 }

This code appears in both TC 6.0.x trunk and TC 7.0.x trunk.

This situation seems worthy of a log statement, no?

-chris




-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org