JDK

compilation succeeds in java7 but fails in java8