JDK 7 and above