On Thu, 23 Sep 2021 21:55:57 GMT, delvh <github.com+51889757+de...@openjdk.org> 
wrote:

>> We still build JavaFX with `--release 11` so applications using JavaFX can 
>> run on JDK 11 or later. At some point we will bump the minimum version of 
>> Java that is required, but until then we cannot use records or any other 
>> feature that isn't in Java 11.
>
> That is indeed a valid argument as to why this isn't a record.
> Obviously, I did not think about that while reviewing.

@delvh If you are interested, I already have a branch with records replacements 
for when we are able to use them https://github.com/nlisker/jfx/tree/Records. 
It hasn't been updated in a while so it doesn't include everything on my list.

-------------

PR: https://git.openjdk.java.net/jfx/pull/627

Reply via email to