java 7-ify