On Fri, 6 Sep 2024 15:41:45 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

> > The fact that you can't extend `Node` is a system invariant
> 
> But I **can**, and the code provided above runs with no exception - in either 
> `init()` or `start()`, making this change a breaking one.
> 
> Whether such code is meaningful is another story.
> 
> I would vote against this change.

But you just proved that you can violate a system invariant. The existing code 
tries to detect some violations and alerts you that extending Node is not 
supported by JavaFX.

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

PR Comment: https://git.openjdk.org/jfx/pull/1556#issuecomment-2334345965

Reply via email to