diff options
author | aclement <aclement> | 2009-09-03 16:21:37 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-09-03 16:21:37 +0000 |
commit | 3d3d03b2898a16658e281583d3912b24db1c0ac1 (patch) | |
tree | fb852d5cb58e4ab66435e4a0d00c93d5872f6aa1 | |
parent | 64c613985aa8c128c1423af97d27d08fb6e074f7 (diff) | |
download | aspectj-3d3d03b2898a16658e281583d3912b24db1c0ac1.tar.gz aspectj-3d3d03b2898a16658e281583d3912b24db1c0ac1.zip |
288505: fix
-rw-r--r-- | org.aspectj.matcher/src/org/aspectj/weaver/Lint.java | 6 |
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) { + // ... + } } } |