changeset 21776:0c60e14e7796

include package-info.java in mx driven Java compilation
author Doug Simon <doug.simon@oracle.com>
date Mon, 08 Jun 2015 11:47:32 +0200
parents b0df81ea5b20
children 76c162c69c2f
files mxtool/mx.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Mon Jun 08 11:46:48 2015 +0200
+++ b/mxtool/mx.py	Mon Jun 08 11:47:32 2015 +0200
@@ -2824,7 +2824,7 @@
         nonjavafiletuples = []
         for sourceDir in sourceDirs:
             for root, _, files in os.walk(sourceDir):
-                javafiles = [join(root, name) for name in files if name.endswith('.java') and name != 'package-info.java']
+                javafiles = [join(root, name) for name in files if name.endswith('.java')]
                 javafilelist += javafiles
 
                 nonjavafiletuples += [(sourceDir, [join(root, name) for name in files if not name.endswith('.java')])]