Initial JDK 11 RFR of JDK-8173382: Add -source 11 and -target 11 to javac - Java Bug System & JDK-8193291: Add SourceVersion.RELEASE_11
david.holmes at oracle.com
Tue Dec 12 21:11:06 UTC 2017
On 12/12/2017 5:04 PM, joe darcy 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.
I don't see a change to the actual JDK version as part of this ?? hat's
the change that will cause hotspot to fail to build in debug mode as
soon as the version is bumped - I filed:
to at least get over that.
> 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.
Okay. It's very hard to discern what uses of "RELEASE_11" pertain to
"-release" support and what just pertain to -source/-target. ??
> 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.
test/langtools/tools/javac/versions/Versions.java looks like it needed
some updates for JDK 10!
More information about the build-dev