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 paul.sandoz at oracle.com
Tue Dec 12 17:31:58 UTC 2017


Hi Joe,

I would like to see the class file version increment [*] in the same patch (the unified repo makes this easier now).

Then we have everything in one changeset (except for any ctsym changes?) that can be easily templated when the next increment is required, since we will be doing this far more regularly from now on.

Are there any technical impediments as to why this would be problematic?

Thanks,
Paul.

[*] here is the increment to 54 http://hg.openjdk.java.net/jdk/jdk/rev/89829dd3cc54 <http://hg.openjdk.java.net/jdk/jdk/rev/89829dd3cc54>

> On 11 Dec 2017, at 23:04, joe darcy <joe.darcy at oracle.com> wrote:
> 
> Hello,
> 
> 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
> 
>    Webev:
>        http://cr.openjdk.java.net/~darcy/8173382.1/
>    CSRs:
>        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.
> 
> Thanks,
> 
> -Joe
> 



More information about the build-dev mailing list