chore(): add java11 compatibility
chore(): add java11 compatibility

fix gravitee-io/issues#2481

gravitee-io/gravitee-management-rest-api,gravitee-io/gravitee-management-rest-api,gravitee-io/gravitee-management-rest-api