https://bugs.openldap.org/show_bug.cgi?id=4501
--- Comment #5 from Fredrik Roubert fredrik@roubert.name --- Java 1.5 is no longer sufficient to be able to build this code base using a still supported JDK, so I propose updating the scope of this issue to Java 8 instead and then resolve that with this series of patches:
https://git.openldap.org/openldap/jdbcldap/-/merge_requests/6