Github user leventov commented on the issue:
https://github.com/apache/curator/pull/282
JDK authors did the right thing... in OpenJDK 12. When the minimum Curator
requirement is bumped to at least JDK 12 (realistically: JDK 17, the next LTS
version), this specialization code could be removed.---
