javac8 with jdk7

Liam Miller-Cushon cushon at google.com
Tue Mar 25 21:04:02 UTC 2014


Hi,

I'm curious if there's any interest in reducing javac's dependence on the
specific JDK version it's running on. Currently javac8 works with jdk7 only
if it's on the jvm's bootclasspath, because of some changes to the javax
classes that are also in rt.jar. (Specifically: the addition of
StandardLocation.NATIVE_HEADER_OUTPUT and SourceVersion.RELEASE_8.)

Being able to run javacN on at least jdkN-1 would be convenient when
working with code that invokes javac programmatically, since configuring
the bootclasspath complicates deployment.

Any thoughts on whether this would be worthwhile?

Thanks,
Liam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20140325/bcd7307f/attachment.html>


More information about the compiler-dev mailing list