Some classes could be sealed
Thiago Milczarek Sayão
thiago.sayao at gmail.com
Wed Feb 1 14:47:07 UTC 2023
Hi,
NodeHelper.java has this:
throw new UnsupportedOperationException(
"Applications should not extend the "
+ nodeType + " class directly.");
I think it's replaceable with selead classes. Am I right?
The benefit will be compile time error instead of runtime.
-- Thiago.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20230201/314c28f1/attachment.htm>
More information about the openjfx-dev
mailing list