harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r821120 - /harmony/enhanced/classlib/trunk/modules/security/make/findbugs-exclude-filter.xml
Date Fri, 02 Oct 2009 18:25:11 GMT
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" />



Mime
View raw message