Most versions of Java have severe security flaws that will put your computer at risk. This is designed to remove the vulnerable versions of Java, either by forced upgrade to a safe version or uninstall.
Correct.
And they may be risks in the future.
It’s always a good idea to disable Java - unless and until you specifically need it for some task.