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

Iris Clark iris.clark at oracle.com
Fri Dec 15 21:10:02 UTC 2017


Hi, Paul.

> We should be able to automate all the following by referring to the latest release variable, yes?

[ ... ]

>   Update link to license in Docs.gmk
>   https://bugs.openjdk.java.net/browse/JDK-818999
>   http://hg.openjdk.java.net/jdk10/master/rev/a6e591e12f12

Yes!

iris

-----Original Message-----
From: Paul Sandoz 
Sent: Friday, December 15, 2017 10:41 AM
To: Iris Clark <iris.clark at oracle.com>
Cc: Erik Joelsson <erik.joelsson at oracle.com>; Joseph D. Darcy <joe.darcy at oracle.com>; compiler-dev at openjdk.java.net; build-dev <build-dev at openjdk.java.net>; Stuart Marks <stuart.marks at oracle.com>; David Holmes <david.holmes at oracle.com>
Subject: Re: Initial JDK 11 RFR of JDK-8173382: Add -source 11 and -target 11 to javac - Java Bug System & JDK-8193291: Add SourceVersion.RELEASE_11

Hi Iris, Erik

We should be able to automate all the following by referring to the latest release variable, yes?

  Nashorn build targets version 9 source
  https://bugs.openjdk.java.net/browse/JDK-8188012
  http://hg.openjdk.java.net/jdk10/master/rev/0e67ab18b511

  symbolgenerator targets jdk 9 source
  https://bugs.openjdk.java.net/browse/JDK-8188013
  http://hg.openjdk.java.net/jdk10/master/rev/b4c8426fe105

  Update link to license in Docs.gmk
  https://bugs.openjdk.java.net/browse/JDK-818999
  http://hg.openjdk.java.net/jdk10/master/rev/a6e591e12f12

Paul.


> On 15 Dec 2017, at 08:43, Iris Clark <iris.clark at oracle.com> wrote:
> 
> Hi.
> 
> Another build target we need to update is LICENSE_URL in make/Docs.gmk.  Here's the equivalent bug for 10:
> 
>    https://bugs.openjdk.java.net/browse/JDK-8189919
> 
> I've requested this link:
> 
>    
> http://www.oracle.com/technetwork/java/javase/terms/license/java11spec
> license.html
> 
> Thanks,
> iris
> 
> -----Original Message-----
> From: Erik Joelsson
> Sent: Friday, December 15, 2017 4:41 AM
> To: joe darcy <joe.darcy at oracle.com>; compiler-dev at openjdk.java.net; 
> build-dev <build-dev at openjdk.java.net>; STUART.MARKS 
> <stuart.marks at oracle.com>
> Cc: David Holmes <david.holmes at oracle.com>
> Subject: Re: Initial JDK 11 RFR of JDK-8173382: Add -source 11 and 
> -target 11 to javac - Java Bug System & JDK-8193291: Add 
> SourceVersion.RELEASE_11
> 
> Looking at JDK-8188015, I was just reminded of JDK-8188012 and
> JDK-8188013 which indicates that we have more than one place where 10 
> needs to be bumped to 11
> 
> make/BuildNashorn.gmk
> make/langtools/src/classes/build/tools/symbolgenerator/TransitiveDepen
> dencies.java
> 
> /Erik
> 
> On 2017-12-12 16:36, Erik Joelsson wrote:
>> Build change looks good.
>> 
>> /Erik
>> 
>> 
>> On 2017-12-12 08:04, joe darcy 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