Please review the attached fix for https://jbs.oracle.com/bugs/browse/JDK-8006984 "introducing local into a function inside with statement confuses its scope" Mailing the patch as the network at my current location prevents webrev from getting to the Mercurial repo.