Upgrade to JDK 21.0.1.
And that’s it ;-)
No need to touch anything else. If you fancy more explanation, please follow on this Twitter thread.
And we shall all remember that upgrading is a good thing, because we’re not going to stay on Java 8 forever, right? ;-)