Thanks to JDK7 :)