JDK7 specific examples added