I wonder if the author has programmed in Java in the last 7 years? Most of his comments were accurate about 2015, but not since then. Perhaps like a mentor made a big deal out of these and he absorbed it.
It has become popular to hate Java, but again that goes back previous JDK's.
JDK 19 is a strong functional language that should not be dismissed lightly.