RFR: 8339603: Seal the class hierarchy of Node, Camera, LightBase, Shape, Shape3D [v3]
Michael Strauß
mstrauss at openjdk.org
Tue Oct 8 04:51:02 UTC 2024
On Tue, 8 Oct 2024 04:36:16 GMT, Nir Lisker <nlisker at openjdk.org> wrote:
> 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.
They are in the same package, and they are related insofar as an argument for sealing `Material` would also apply for `Paint`. I'll do that in a separate PR.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1556#issuecomment-2398827435
More information about the openjfx-dev
mailing list