WALA/com.ibm.wala.ide.tests
Ben Liblit 191904d607 Remove "throws XYZ" declarations where XYZ cannot be thrown
Unnecessary "throws" declarations tend to cascade.  If foo() calls
bar() and bar() falsely declares that it might throw IOException, that
often leads a programmer to declare that foo() might throw IOException
as well.  Fixing the bar() throws declaration then reveals that we can
fix the foo() throws declaration too.  By the time we reach a fixed
point with cleaning these up, we have removed roughly 320 unnecessary
throws declarations.

In a few cases, this cleanup even lets us remove entire "try
... catch" statements where the only thing being caught was an
exception that we now statically know cannot be thrown.  Nice!

In Eclipse project configurations, upgrade any future such shenanigans
from warnings to errors.  Now that we've fixed this, we don't want it
coming back again.

There is a potential drawback to this change.  Conceivably some public
WALA API entry point might have declared that it could throw some
exception merely to reserve the *option* of throwing that exception in
third-party code that subclasses and overrides the API entry point in
question.  I have no idea whether this is a significant concern in
practice, though.
2017-07-28 10:20:28 -07:00
..
.settings Remove "throws XYZ" declarations where XYZ cannot be thrown 2017-07-28 10:20:28 -07:00
META-INF Export all packages 2017-06-07 17:42:11 +02:00
launchers cross-cutting changes to make more of WALA runnable with TeaVM. The biggest change is refactoring to AnalysisCache and friends; since TeaVM does not support SoftReference, I needed to add a layer of interfaces so that I can use a more simpleminded caching implementation for TeaVM. There are other changes to Module and friends to break connections with File and URL, which also cause TeaVM grief. I also organized imports in many places to remove unused types that caused trouble. 2017-02-02 20:33:27 -05:00
src/com/ibm/wala Remove "throws XYZ" declarations where XYZ cannot be thrown 2017-07-28 10:20:28 -07:00
.classpath Use consistent Java versions, usually 1.7 2016-11-29 21:29:30 -06:00
.project complete conversion to Unix line endings 2012-09-04 16:05:49 -07:00
build.properties Fix warnings about unset javacProjectSettings build entries (#176) 2017-05-04 11:44:32 -07:00
plugin.properties complete conversion to Unix line endings 2012-09-04 16:05:49 -07:00
plugin.xml Add stub DOCTYPE declarations for Eclipse plug-in manifest files 2016-11-28 14:55:34 -06:00
pom.xml update version to 1.4.3-SNAPSHOT 2017-04-19 09:19:09 -07:00