On Fri, 2 Aug 2024 15:28:37 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

>> Yes, I think that's good, as it will alert us to the impact of adding a new 
>> enum value. We would probably need to account for the new value here 
>> (there's no good default we can choose).
>
> IllegalArgumentException?

Sure, but that would be a runtime errro as compared to a compile-time error, so 
we run the risk of missing it.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1522#discussion_r1702067250

Reply via email to