Q: Why is java.lang.Runtime non-final?
Eirik Bjørsnøs
eirbjo at gmail.com
Mon Nov 18 20:38:40 UTC 2024
Hi,
Tried to find an answer to this question in JBS, but found nothing:
Since java.lang.Runtime has a single private constructor, it seems
effectively final. Why is it not declared final?
If Runtime was made final it seems we could remove the CheckCSMs test.
Are there compatibility concerns here that I don't see?
Eirik.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20241118/05535257/attachment.htm>
More information about the core-libs-dev
mailing list