Recognize JDK 9

This patch fixes `JavaVersion` so that it recognizes if the current JDK is JDK 9.

This would be helpful for Groovy where we setup a build against the latest JDK9 sources, but Gradle fails recognizing the JDK.