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

Erik Joelsson erik.joelsson at oracle.com
Thu Dec 14 11:58:13 UTC 2017


And here it is: http://cr.openjdk.java.net/~erikj/8173382/webrev.01/

Feel free to incorporate this into whichever changeset you want, or I 
can push this separately.

/Erik


On 2017-12-14 10:37, Erik Joelsson wrote:
>
> On 2017-12-14 05:40, David Holmes wrote:
>> On 14/12/2017 1:51 PM, mark.reinhold at oracle.com wrote:
>>> I just went through this for the versioning changes.  The attached 
>>> patch
>>> (against d2a837cf9ff1) does what you want, I think.
>>
>> We can't do that. 
>> src/java.base/share/native/include/classfile_constants.h is an 
>> exported interface - at least at present - so it can't depend on 
>> something that has to come from the build. You'd have to generate the 
>> exported version with the appropriate value substituted.
>>
> I'm preparing a patch where we generate classfile_constants.h during 
> the build, based on Mark's patch.
>
> /Erik




More information about the build-dev mailing list