TAP5-2234: Refreshing the browser in Eclipse on Windows sometimes fails with a locking exception
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/1b437609 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/1b437609 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/1b437609 Branch: refs/heads/master Commit: 1b437609561fb0107fc034f9c57953488fb23329 Parents: 3397442 Author: Howard M. Lewis Ship <[email protected]> Authored: Wed Nov 27 11:35:34 2013 -0800 Committer: Howard M. Lewis Ship <[email protected]> Committed: Wed Nov 27 11:35:34 2013 -0800 ---------------------------------------------------------------------- .../apache/tapestry5/internal/webresources/AbstractMinimizer.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/1b437609/tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/AbstractMinimizer.java ---------------------------------------------------------------------- diff --git a/tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/AbstractMinimizer.java b/tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/AbstractMinimizer.java index 7548bed..50fcd01 100644 --- a/tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/AbstractMinimizer.java +++ b/tapestry-webresources/src/main/java/org/apache/tapestry5/internal/webresources/AbstractMinimizer.java @@ -68,6 +68,8 @@ public abstract class AbstractMinimizer implements ResourceMinimizer TapestryInternalUtils.copy(in, bos); + in.close(); + return null; } });
