Initial JDK 11 RFR of JDK-8173382: Add -source 11 and -target 11 to javac - Java Bug System & JDK-8193291: Add SourceVersion.RELEASE_11
paul.sandoz at oracle.com
Fri Dec 15 22:23:41 UTC 2017
Here are two webrevs (in order that can be merged with the other): the class file version changes; and the build changes related to that.
Testing of all three patches (jdk-tier1,jdk-tier2,jdk-tier3,hs-tier1,hs-tier2,hs-tier3,hs-tier4,hs-tier5) produced no related test failures.
> On 11 Dec 2017, at 23:04, joe darcy <joe.darcy at oracle.com> wrote:
> With the JDK 11 line of development opening up in a few days, a few changes are needed to prepared to turn a JDK 10 code base into a JDK 11 one including:
> JDK-8173382: Add -source 11 and -target 11 to javac
> JDK-8193291: Add SourceVersion.RELEASE_11
> JDK-8193350: Add -source 11 and -target 11 to javac
> JDK-8193351: Add SourceVersion.RELEASE_11
> Please review the preliminary webrev and CSRs.
> Note that breaking with previous contentions, the current iteration of the change does *not* add -source/-target "1.11" as an alias for "11". Only "11" is recognized.
> I didn't see how to add support for an "11" value for "--release" so I problem listed two tests until that is sorted out.
> The build is simultaneously updated to user -source/-target 11, hence the inclusion of build-dev.
> Various langtools tests and test infrastructure is updated too.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 873 bytes
Desc: Message signed with OpenPGP
More information about the compiler-dev