Not stagnation, but regression of Java. Where modern Java 17 loses to Java 8
Most simple demonstration using the code from Java API
Although few recent features might produce an illusion of Java evolution, Java language has not changed much since Java 8.
There are improvements in some built-in classes, but overall improvements in Java performance are not easy to detect.