Hi with http://mail.openjdk.java.net/pipermail/jdk-dev/2017-November/000089.html we'll be seeing a new "major release" of Java every six months.
So far we've created new constants and detected the java version via classes we know have been added in JavaEnvUtils but TBH I'm not sure we'll be able to do that for every new release of Java. Other places need to get adapted as well, javac with compiler names is one that springs to mind, but there will be more cases. Maybe we really need to start parsing the java.version system property if the version detected would at least be JAVA_9 and adapt JavaEnvUtils to deal with the outcome. This will also require us to drop some of the switch statements there as the case labels couldn't be pre-determined. Has anybody got a better idea than parsing the version number? Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org