Initial JDK 11 RFR of JDK-8173382: Add -source 11 and -target 11 to javac - Java Bug System & JDK-8193291: Add SourceVersion.RELEASE_11

joe darcy joe.darcy at oracle.com
Tue Dec 12 07:04:40 UTC 2017


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