To be fair, Wayland is still new (compared to how long Java has existed), and Java/OpenJDK may improve support in the future.
I hope they support wayland natively but its just not necessary atm.
The first distro to use Wayland by default was Hannah Montana Linux, 10 years ago. Only recently have more widespread distros started using Wayland by default.
Java is old, and Wayland is comparatively new.