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


More information about the valhalla-spec-observers mailing list