Apache Lucene open-source search software
make sure Java 1.7 was used to compile the JARs in binary release
Michael McCandless25bd58b826b8
diff --git a/dev-tools/scripts/smokeTestRelease.py b/dev-tools/scripts/smokeTestRelease.pyindex 631421a4ff5..f294382a80b 100644--- a/dev-tools/scripts/smokeTestRelease.py+++ b/dev-tools/scripts/smokeTestRelease.py@@ -188,7 +188,9 @@ def checkJARMetaData(desc, jarFile, version):# Make sure .class files are 1.7 format:'X-Compile-Target-JDK: 1.7',# Make sure this matches the version we think we are releasing:- 'Specification-Version: %s' % version):+ 'Specification-Version: %s' % version,+ # Make sure the release was compiled with 1.7:+ 'Created-By: 1.7'):if s.find(verify) == -1:raise RuntimeError('%s is missing "%s" inside its META-INF/MANIFES.MF' % \(desc, verify))