LDAP-268: Oops, Java7 specific API calls were used.