You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2009/10/02 20:25:11 UTC
svn commit: r821120 -
/harmony/enhanced/classlib/trunk/modules/security/make/findbugs-exclude-filter.xml
Author: tellison
Date: Fri Oct 2 18:25:11 2009
New Revision: 821120
URL: http://svn.apache.org/viewvc?rev=821120&view=rev
Log:
Ok to call URL equals in these cases.
Modified:
harmony/enhanced/classlib/trunk/modules/security/make/findbugs-exclude-filter.xml
Modified: harmony/enhanced/classlib/trunk/modules/security/make/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/make/findbugs-exclude-filter.xml?rev=821120&r1=821119&r2=821120&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/make/findbugs-exclude-filter.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/security/make/findbugs-exclude-filter.xml Fri Oct 2 18:25:11 2009
@@ -24,8 +24,19 @@
<FindBugsFilter>
+ <!-- CodeSource needs to call equals on a URL in a few methods. -->
+ <Match>
+ <Class name="java.security.CodeSource" />
+ <Or>
+ <Method name="equals" />
+ <Method name="hashCode" />
+ <Method name="implies" />
+ </Or>
+ <Bug pattern="DMI_BLOCKING_METHODS_ON_URL" />
+ </Match>
+
<!--
- Spec requires that the class implements clone, but not cloneable.
+ Spec requires that the class implements clone, but not cloneable.
-->
<Match>
<Class name="java.security.MessageDigest" />