On 25 November 2015 at 09:29, Emmanuel Bourg <ebo...@apache.org> wrote: > Le 24/11/2015 22:06, Thomas Neidhart a écrit : > >> If the idea is to roll out a bugfix release that people are awaiting >> then I do not see the point in updating the minimum java version and >> changing the code to use new language / jdk features. > > I agree with Thomas. Let's update the JDK for simplifying the release > process, but updating the syntax now isn't necessary.
One simple addition you can do when moving to Java-7 is to add java.lang.AutoCloseable to any relevant classes that are not already java.io.Closeable, but still have resources that need to be cleaned up. Then users can then use them in try-with-resources (and IDE's can start warning about resource cleanups), even if the jxpath codebase doesn't internally change from the previous try pattern to try-with-resources immediately. Cheers, Peter --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org