Add JDK7 stubs