-encoding and -source in module-info.java
Neal Gafter
neal at gafter.com
Tue Jan 24 20:31:52 PST 2012
On Tue, Jan 24, 2012 at 2:07 PM, Jesse Glick <jesse.glick at oracle.com> wrote:
>
> I am not sure precisely how the language spec would be worded but it would
> say that for this revision of the spec, 1.9 is the only legal value
The compiler is required to obey the platform specifications, which
includes the language spec. If "source 1.8" is illegal, then it must be
rejected. And therefore a source file written for the previous version of
the language "source 1.8" is not legal in the latest version of the
language. This is exactly the opposite of what Oracle should be trying to
achieve with version-to-version source compatibility.
More information about the jigsaw-dev
mailing list