aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2009-09-03 16:21:37 +0000
committeraclement <aclement>2009-09-03 16:21:37 +0000
commit3d3d03b2898a16658e281583d3912b24db1c0ac1 (patch)
treefb852d5cb58e4ab66435e4a0d00c93d5872f6aa1
parent64c613985aa8c128c1423af97d27d08fb6e074f7 (diff)
downloadaspectj-3d3d03b2898a16658e281583d3912b24db1c0ac1.tar.gz
aspectj-3d3d03b2898a16658e281583d3912b24db1c0ac1.zip
288505: fix
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/Lint.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/Lint.java b/org.aspectj.matcher/src/org/aspectj/weaver/Lint.java
index 4c4f5f7dd..bc2b44ba4 100644
--- a/org.aspectj.matcher/src/org/aspectj/weaver/Lint.java
+++ b/org.aspectj.matcher/src/org/aspectj/weaver/Lint.java
@@ -186,6 +186,12 @@ public class Lint {
} catch (IOException ioe) {
MessageUtil.error(world.getMessageHandler(), WeaverMessages.format(WeaverMessages.XLINTDEFAULT_LOAD_PROBLEM, ioe
.getMessage()));
+ } finally {
+ try {
+ s.close();
+ } catch (IOException ioe) {
+ // ...
+ }
}
}