Object as a concrete class
Kevin Bourrillion
kevinb at google.com
Fri Apr 1 15:48:16 UTC 2022
On Fri, Apr 1, 2022 at 7:28 AM Remi Forax <forax at univ-mlv.fr> wrote:
It is too magic for me, especially because
> new Object().getClass() != Object.class
>
Sounds
* not weird enough to rule out, but
* weird enough to "deprecate" `new Object()` and make Object abstract
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/valhalla-spec-experts/attachments/20220401/c2d3c755/attachment.htm>
More information about the valhalla-spec-experts
mailing list