RFR: JDK-8001191: use -source 8 -target 8 when compiling the JDK

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Nov 1 02:09:35 UTC 2012


David,

For a long time now, the JDK 8 langtools repo has accepted -source 8 and 
-target 8, so this should not affect which version of langtools you need 
to use. Of course, you do need to make sure that these options are not 
used with the bootstrap javac, which will typically be from JDK 7.

-- Jon


On 10/31/2012 06:38 PM, David Holmes wrote:
> Hi Kumar,
>
> So after this jdk8 builds will have to use current langtools javac in 
> order to work?
>
> The corresponding changes to the new build system will be needed as well.
>
> David
>
> On 1/11/2012 3:43 AM, Kumar Srinivasan wrote:
>> Hello,
>>
>> Please review changes to rev up the default -source and -target for jdk
>> compilation,
>> thus producing v52.0 class files.
>>
>> Bug is here:
>> https://jbs.oracle.com/bugs/browse/JDK-8001191
>>
>> Webrev is here:
>> http://cr.openjdk.java.net/~ksrini/8001191/webrev.0/
>>
>> Note: this webrev is generated against the master repository but changes
>> will be
>> pushed via tl after the tl-master sync is completed.
>>
>> Thanks
>> Kumar
>>




More information about the build-dev mailing list