Remove old jdk7 api