Merge r1154023 from trunk: * r1154023 Improve working copy context lifetimes in JavaHL. Justification: Fixes problem in Subclipse with leaving SQLite handles open. Votes: +1: hwright, markphip