Also catch compiled java classes in the scanner

This commit is contained in:
Daniel Martí 2014-02-18 08:32:16 +01:00
parent e1581d0d38
commit d185e04d9e

View file

@ -1204,6 +1204,8 @@ def scan_source(build_dir, root_dir, thisbuild):
handleproblem('static library', fd, fp)
elif mime == 'application/x-executable':
handleproblem('binary executable', fd, fp)
elif mime == 'application/x-java-applet':
handleproblem('Java compiled class', fd, fp)
elif mime == 'application/jar' and has_extension(fp, 'apk'):
removeproblem('APK file', fd, fp)
elif mime == 'application/jar':