Using JDK7 features