harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r494844 - /harmony/standard/tools/FindBugs/exclusionFilter.xml
Date Wed, 10 Jan 2007 15:15:44 GMT
Author: tellison
Date: Wed Jan 10 07:15:43 2007
New Revision: 494844

URL: http://svn.apache.org/viewvc?view=rev&rev=494844
Log:
Apply patch for HARMONY-2939 ([classlib] [luni] Ignored Exceptions (FindBugs))

Modified:
    harmony/standard/tools/FindBugs/exclusionFilter.xml

Modified: harmony/standard/tools/FindBugs/exclusionFilter.xml
URL: http://svn.apache.org/viewvc/harmony/standard/tools/FindBugs/exclusionFilter.xml?view=diff&rev=494844&r1=494843&r2=494844
==============================================================================
--- harmony/standard/tools/FindBugs/exclusionFilter.xml (original)
+++ harmony/standard/tools/FindBugs/exclusionFilter.xml Wed Jan 10 07:15:43 2007
@@ -86,6 +86,13 @@
        <Bug code="Se" />
      </Match>
      
+     <!-- Exceptions have to be ignored because method doesn't throw an Exception in the
spec -->
+     <Match>
+       <Class name="java.lang.SecurityManager" />
+       <Method name="checkTopLevelWindow" />
+       <Bug code="DE" />
+     </Match>
+     
      <!-- OK to use mutable Objects for DatagramPacket -->
      <Match>
        <Class name="java.net.DatagramPacket" />
@@ -103,6 +110,20 @@
        <Bug code="ST" />
      </Match>
      
+     <!-- Exceptions are supposed to be ignored -->
+     <Match>
+       <Class name="java.net.URLConnection" />
+       <Method name="getContentHandler" />
+       <Bug code="DE" />
+     </Match>
+     
+     <!-- Exceptions are supposed to be ignored -->
+     <Match>
+       <Class name="java.net.URL" />
+       <Method name="setupStreamHandler" />
+       <Bug code="DE" />
+     </Match>
+     
      <!-- URLClassLoader needs to use URL.equals() method -->
      <Match>
        <Class name="java.net.URLClassLoader" />
@@ -169,6 +190,13 @@
        <Bug code="UrF" />
      </Match>
      
+     <!-- Exception is ignored on purpose -->
+     <Match>
+       <Class name="java.util.Timer$TimerImpl" />
+       <Method name="run" />
+       <Bug code="DE" />
+     </Match>
+     
      <!-- Access is synchronized - looks like FindBugs got it wrong here -->
      <Match>
        <Class name="java.util.Timer$TimerImpl" />
@@ -294,5 +322,6 @@
      </Match>
 	
 </FindBugsFilter>
+
 
 



Mime
View raw message