I believe that is mostly due to Sun's stagnation and lack of funding. Oracle released Java 7 in 2011 and Java 8 in 2014, which is arguably the start of modernizing Java.
I assumed it was Kotlin and/or Android. Oracle otherwise seemed fine to treat Java like IE6. It was only as alternatives (rise of Go, Rust, Clojure, etc) increasingly made the language look bad that really started to push development.
I assumed it was Kotlin and/or Android. Oracle otherwise seemed fine to treat Java like IE6. It was only as alternatives (rise of Go, Rust, Clojure, etc) increasingly made the language look bad that really started to push development.