harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r824634 - /harmony/enhanced/classlib/trunk/modules/nio/make/findbugs-exclude-filter.xml
Date Tue, 13 Oct 2009 08:18:39 GMT
Author: tellison
Date: Tue Oct 13 08:18:38 2009
New Revision: 824634

URL: http://svn.apache.org/viewvc?rev=824634&view=rev
Log:
The adapter simply forwards all messages to the wrapped buffer.
Ignore the fact that some messages will always throw an Unsupported exception.

Modified:
    harmony/enhanced/classlib/trunk/modules/nio/make/findbugs-exclude-filter.xml

Modified: harmony/enhanced/classlib/trunk/modules/nio/make/findbugs-exclude-filter.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio/make/findbugs-exclude-filter.xml?rev=824634&r1=824633&r2=824634&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio/make/findbugs-exclude-filter.xml (original)
+++ harmony/enhanced/classlib/trunk/modules/nio/make/findbugs-exclude-filter.xml Tue Oct 13
08:18:38 2009
@@ -31,4 +31,16 @@
 		<Bug code="IS" />
 	</Match>
 
+	<!--
+		We realize that the invocation always invokes unsupported operation.
+	-->
+	<Match>
+		<Class name="java.nio.MappedByteBufferAdapter" />
+		<Or>
+			<Method name="protectedArray" />
+			<Method name="protectedArrayOffset" />
+		</Or>
+		<Bug pattern="DMI_UNSUPPORTED_METHOD" />
+	</Match>
+
 </FindBugsFilter>



Mime
View raw message