Fork of the T.J. Watson Libraries for Analysis used by DASCA.
Go to file
Ben Liblit 522c382a19 Use consistent Java versions, usually 1.7
Previously, the various Eclipse projects' Java configurations used
mixtures of 1.6, 1.7, and 1.8.  Many were internally inconsistent,
such as requiring 1.7 in "MANIFEST.MF" but 1.6 in the Eclipse JDT
build preferences.  The Travis-CI configuration tests against both 1.7
and 1.8, but does not test against 1.6.

Across all projects, the most common version was 1.7.  So I'm going to
assume that 1.7 is the intended build target.  This commit makes 1.7
the selected version nearly everywhere.

"com.ibm.wala.core.testdata" is the one exception.  This specific
project uses a few features only found in 1.8, such as lambda
expressions.  Previously, "com.ibm.wala.core.testdata" used 1.7 in
some aspects of its configuration but 1.8 in others.  Now it
consistently targets 1.8.  I wish this one project didn't need to be
inconsistent with the rest of WALA, but at least now it's consistent
with itself.

(Personally, I'd be happy to target 1.8 only.  But my impression
across all of these configuration files is that the WALA developers
still want to be compatible with 1.7.  If that is no longer a
requirement, let me know and I will adjust these changes accordingly
to target 1.8 only.)

This change eliminates 11 "There is no 'jre.compilation.profile' build
entry and the project has Java compliance preferences set" warnings
and 13 "The JRE container on the classpath is not a perfect match to
the 'JavaSE-1.7' execution environment" warnings.  However, it also
adds 450 "Redundant specification of type arguments <...>" warnings
and 17 "Resource '...' should be managed by try-with-resource"
warnings.  So this seems like a net step backward in my wish to reduce
WALA warnings.  However, those new warnings concern Java 1.7 language
features that we were not previously using to good effect in projects
that targeted 1.6.  If we all agree that we can now target 1.7
instead, then we can use these helpful features as the newly-added
warnings suggest.  So I call that a step in the right direction.
2016-11-29 21:29:30 -06:00
com.ibm.wala-feature Merge branch 'master' into warning-fixes-xml-validation 2016-11-29 10:08:00 -06:00
com.ibm.wala-repository Exclude Maven-generated HTML pages from validation 2016-11-27 21:24:03 -06:00
com.ibm.wala.cast Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
com.ibm.wala.cast.java Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
com.ibm.wala.cast.java.ecj Merge branch 'master' into warning-fixes-xml-validation 2016-11-29 10:08:00 -06:00
com.ibm.wala.cast.java.test Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
com.ibm.wala.cast.java.test.data Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
com.ibm.wala.cast.js Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
com.ibm.wala.cast.js.html.nu_validator Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
com.ibm.wala.cast.js.rhino Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
com.ibm.wala.cast.js.rhino.test Merge branch 'master' into warning-fixes-xml-validation 2016-11-29 10:08:00 -06:00
com.ibm.wala.cast.js.test Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
com.ibm.wala.cast.js.test.data Merge branch 'master' into warning-fixes-xml-validation 2016-11-29 10:08:00 -06:00
com.ibm.wala.cast.test Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
com.ibm.wala.core Merge branch 'master' into warning-fixes-xml-validation 2016-11-29 10:08:00 -06:00
com.ibm.wala.core.testdata Merge branch 'master' into warning-fixes-xml-validation 2016-11-29 10:08:00 -06:00
com.ibm.wala.core.tests Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
com.ibm.wala.dalvik Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
com.ibm.wala.dalvik.test Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
com.ibm.wala.ide Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
com.ibm.wala.ide-feature Merge branch 'master' into warning-fixes-xml-validation 2016-11-29 10:08:00 -06:00
com.ibm.wala.ide.jdt Merge branch 'master' into warning-fixes-xml-validation 2016-11-29 10:08:00 -06:00
com.ibm.wala.ide.jdt.test Merge branch 'master' into warning-fixes-xml-validation 2016-11-29 10:08:00 -06:00
com.ibm.wala.ide.jsdt Merge branch 'master' into warning-fixes-xml-validation 2016-11-29 10:08:00 -06:00
com.ibm.wala.ide.jsdt.tests Merge branch 'master' into warning-fixes-xml-validation 2016-11-29 10:08:00 -06:00
com.ibm.wala.ide.tests Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
com.ibm.wala.scandroid Merge branch 'master' into warning-fixes-xml-validation 2016-11-29 10:08:00 -06:00
com.ibm.wala.shrike Merge branch 'master' into warning-fixes-xml-validation 2016-11-29 10:08:00 -06:00
com.ibm.wala.tests-feature Exclude Eclipse feature manifest files from XML validation 2016-11-28 14:03:03 -06:00
com.ibm.wala.tests.ide-feature Exclude Eclipse feature manifest files from XML validation 2016-11-28 14:03:03 -06:00
com.ibm.wala.util Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
targets switch version to 1.3.10-SNAPSHOT 2016-05-10 22:53:28 +09:00
.gitignore Update ignores 2016-04-03 12:44:32 -07:00
.travis.yml Do a shallow clone of DroidBench 2016-09-20 13:55:47 -07:00
README.md Restore README.md 2014-12-02 13:14:26 -08:00
build-maven-jars.py More output to debug maven jar script on Travis 2016-05-25 15:09:51 +02:00
change-version.py script to change version numbers consistently across files 2015-05-29 12:19:18 -07:00
pom.xml Create new com.ibm.wala.cast.java.ecj project. 2016-05-24 11:39:00 +02:00

README.md

This is the main source repository for WALA. For more details on WALA, see the WALA home page.