Add support for upcoming JDK 18.
Add support for upcoming JDK 18.