diff mx/mx_graal.py @ 14777:10c6700908ef

mx: removed use of exclusion filter files from findbugs command
author Doug Simon <doug.simon@oracle.com>
date Wed, 26 Mar 2014 22:20:23 +0100
parents 78343531acc7
children aaecb0ca0c7d
line wrap: on
line diff
--- a/mx/mx_graal.py	Wed Mar 26 22:19:33 2014 +0100
+++ b/mx/mx_graal.py	Wed Mar 26 22:20:23 2014 +0100
@@ -1701,12 +1701,7 @@
     outputDirs = [p.output_dir() for p in nonTestProjects]
     findbugsResults = join(_graal_home, 'findbugs.results')
 
-    cmd = ['-jar', findbugsJar, '-textui', '-low', '-maxRank', '15', '-exclude', join(_graal_home, 'graal', 'findbugsExcludeFilter.xml')]
-    for s in mx.suites():
-        filt = join(s.dir, 'findbugsExcludeFilter.xml')
-        if exists(filt):
-            cmd.append('-exclude')
-            cmd.append(filt)
+    cmd = ['-jar', findbugsJar, '-textui', '-low', '-maxRank', '15']
     if sys.stdout.isatty():
         cmd.append('-progress')
     cmd = cmd + ['-auxclasspath', mx.classpath([p.name for p in nonTestProjects]), '-output', findbugsResults, '-progress', '-exitcode'] + args + outputDirs