RFR: JEP 359-Records: compiler code

Jan Lahoda jan.lahoda at oracle.com
Tue Oct 22 17:27:11 UTC 2019


On 22. 10. 19 18:48, Brian Goetz wrote:
> This doesn’t work when you invoke the tests through `make run-test`, 
> which is why I used the explicit 14.

Maybe it does not work for the "jdk" tests (due to 
https://bugs.openjdk.java.net/browse/JDK-8219408), but we use -source 
${jdk.version} is langtools tests extensively.

Jan

> 
>> On Oct 22, 2019, at 11:21 AM, Jan Lahoda <jan.lahoda at oracle.com 
>> <mailto:jan.lahoda at oracle.com>> wrote:
>>
>> -for tests, "--enable-preview -source 14" is used on many places. This 
>> will cause issues when JDK 15 is started (and --enable-preview -source 
>> 14 will be replaced with --enable-preview -source 15). On all places 
>> where that is possible, "--enable-preview -source ${jdk.version}" 
>> should be used, or a programmatic equivalent.
> 


More information about the amber-dev mailing list