1<?xml version="1.0"?> 2<!-- 3 Licensed to the Apache Software Foundation (ASF) under one or more 4 contributor license agreements. See the NOTICE file distributed with 5 this work for additional information regarding copyright ownership. 6 The ASF licenses this file to You under the Apache License, Version 2.0 7 (the "License"); you may not use this file except in compliance with 8 the License. You may obtain a copy of the License at 9 10 http://www.apache.org/licenses/LICENSE-2.0 11 12 Unless required by applicable law or agreed to in writing, software 13 distributed under the License is distributed on an "AS IS" BASIS, 14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 See the License for the specific language governing permissions and 16 limitations under the License. 17--> 18 19<!-- 20 This file contains some false positive bugs detected by findbugs. Their 21 false positive nature has been analyzed individually and they have been 22 put here to instruct findbugs it must ignore them. 23--> 24<FindBugsFilter> 25 26<!-- N.B. Using wild-card class names so exclusions work regardless of the top-level package --> 27 28 <!-- Waiting on BCEL-252 --> 29 <Match> 30 <Class name="~.*\.util\.Class2HTML" /> 31 <Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD" /> 32 </Match> 33 34 <!-- Class is not supposed to be an Exception itself --> 35 <Match> 36 <Class name="~.*\.classfile\.CodeException" /> 37 <Bug pattern="NM_CLASS_NOT_EXCEPTION" /> 38 </Match> 39 40 <!-- Ignore GC here --> 41 <Match> 42 <Class name="~.*\.verifier\.TransitiveHull" /> 43 <Bug pattern="DM_GC" /> 44 </Match> 45 46 <!-- clone() creates a new instance so does not need to call super.clone() --> 47 <Match> 48 <Bug pattern="CN_IDIOM_NO_SUPER_CALL"/> 49 <Method name="clone"/> 50 <Or> 51 <Class name="~.*\.verifier\.structurals\.LocalVariables"/> 52 <Class name="~.*\.verifier\.structurals\.OperandStack"/> 53 </Or> 54 </Match> 55 56 <!-- Reason: TODO, perhaps? --> 57 <Match> 58 <Class name="~.*" /> 59 <Or> 60 <Bug pattern="EI_EXPOSE_REP" /> 61 <Bug pattern="EI_EXPOSE_REP2" /> 62 </Or> 63 </Match> 64 65 <!-- TODO - enable later --> 66 <Match> 67 <Class name="~.*" /> 68 <Bug pattern="MS_MUTABLE_ARRAY" /> 69 </Match> 70 71 <!-- Test data classes --> 72 <Match> 73 <Or> 74 <Class name="~.*\.data\..*" /> 75 <Class name="~.*\.tests\.Test.*" /> 76 </Or> 77 </Match> 78 79</FindBugsFilter> 80