RFR: JEP 359-Records: compiler code

Jonathan Gibbons jonathan.gibbons at oracle.com
Tue Oct 22 17:25:41 UTC 2019


Brian,

What doesn't work with "make run-test"?   Are you saying there's a 
problem with "--enable-preview -source ${jdk.version}", or with the 
general methodology of specifying --enable-preview and -source?

If there's an issue with the jtreg support for ${jdk.version}, I guess 
I'd like to know.

-- Jon

On 10/22/19 9:48 AM, Brian Goetz wrote:
> This doesn’t work when you invoke the tests through `make run-test`, which is why I used the explicit 14.
>
>> On Oct 22, 2019, at 11:21 AM, Jan Lahoda <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 compiler-dev mailing list