changeset 22061:5b3e245aca2b

added witness for when class files are out of date
author Doug Simon <doug.simon@oracle.com>
date Tue, 23 Jun 2015 12:43:52 +0200
parents acd43093257d
children beaf3f31a802
files mxtool/mx.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Tue Jun 23 12:41:17 2015 +0200
+++ b/mxtool/mx.py	Tue Jun 23 12:43:52 2015 +0200
@@ -3022,7 +3022,7 @@
                         classfile = TimeStampFile(outputDir + javafile[len(sourceDir):-len('java')] + 'class')
                         if not classfile.exists() or classfile.isOlderThan(javafile):
                             if basename(classfile.path) != 'package-info.class':
-                                buildReason = 'class file(s) out of date'
+                                buildReason = 'class file(s) out of date (witness: ' + classfile.path + ')'
                                 break
 
         apsOutOfDate = p.update_current_annotation_processors_file()