RFR: 8339603: Seal the class hierarchy of Node, Camera, LightBase, Shape, Shape3D
Michael Strauß
mstrauss at openjdk.org
Fri Sep 6 16:26:12 UTC 2024
On Fri, 6 Sep 2024 16:01:55 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> "should" and "may" are not the same as "must" and "will".
I think this is just suboptimal language, and not a material distinction. You _will_ get a runtime error if you use it in any meaningful way. Anyway, if a developer _really_ wants to create an instance of `Node`, they can use the non-exported `AbstractNode` at their own peril.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1556#issuecomment-2334409097
More information about the openjfx-dev
mailing list