From: aclement Date: Thu, 3 Sep 2009 16:21:37 +0000 (+0000) Subject: 288505: fix X-Git-Tag: PRE_J5~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3d3d03b2898a16658e281583d3912b24db1c0ac1;p=aspectj.git 288505: fix --- 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) { + // ... + } } }