From 3d3d03b2898a16658e281583d3912b24db1c0ac1 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 3 Sep 2009 16:21:37 +0000 Subject: [PATCH] 288505: fix --- org.aspectj.matcher/src/org/aspectj/weaver/Lint.java | 6 ++++++ 1 file changed, 6 insertions(+) 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) { + // ... + } } } -- 2.39.5