Q: Why is java.lang.Runtime non-final?
Joseph D. Darcy
joe.darcy at oracle.com
Fri Nov 22 03:46:08 UTC 2024
On 11/18/2024 1:17 PM, Chen Liang wrote:
> Hi Eirik,
> I think it might have been a legacy oversight; note that even
> java.util.Arrays was just recently made final.
>
PS it would be a "small matter of programming" to write an annotation
processor to find the not subclassable public classes in the JDK that
were not marked final.
-Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20241121/41acc133/attachment.htm>
More information about the core-libs-dev
mailing list