logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

FindDeadLocalStores / exclude filter issue: msg#00053

Subject: FindDeadLocalStores / exclude filter issue
This is a multi-part message in MIME format.
Hi,

When processing pre-compiled JSPs, I'm struggling with excluding the
generated variables:

The following exclude filter does not work for me:

   <Match>
      <Or>
         <Field name="~_jspx_.*" />
         <Field name="request" />         
           <Field name="response" />
           <Field name="application" />
         <Field name="config" />
         <Field name="session" />
         <Field name="out" />
         <Field name="page" />
         <Field name="pageContext" />
      </Or>
   </Match>


I know that I can use the system property findbugs.dls.exclusions to exclude
some of the fields:

findbugs.dls.exclusions=request,response,out,session,application,config,page
Context,page

But this does not exclude _jspx_.* variables that represent most of bug
instances i want to get ride of.

I've got an ugly hack using a system property
(findbugs.dls.exclusions.jsp=true) in order to wipe out bug instances for
variable names starting with _jspx_ (see attachment).


Any better solution around?


Regards,

Etienne 

Attachment: FindDeadLocalStores.java
Description: Binary data


<Prev in Thread] Current Thread [Next in Thread>