On Tue, 8 Oct 2024 04:25:53 GMT, Michael Strauß <mstra...@openjdk.org> wrote:

> > If this goes forward, please seal `Material` as well.
> 
> If we seal `Material`, we should probably also seal `Paint`. What do you 
> think?

I don't see why they are related, but if `Paint` can't be subclassed then I 
don't see a reason not to seal it. I can envision possibilities to create new 
paints, like other types of gradients. There's nothing inherently stopping that 
except for access to methods like platform paint.

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

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

Reply via email to