]> source.dussan.org Git - aspectj.git/commitdiff
288505: fix
authoraclement <aclement>
Thu, 3 Sep 2009 16:21:37 +0000 (16:21 +0000)
committeraclement <aclement>
Thu, 3 Sep 2009 16:21:37 +0000 (16:21 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/Lint.java

index 4c4f5f7ddc82c263dfc78c552f277c985a73ffe5..bc2b44ba40fdf64cbc145f55ee972f7f517e2a62 100644 (file)
@@ -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) {
+                               // ...
+                       }
                }
 
        }