RFR [lworld] 8239929: Object.newIdentity() replacement for new Object()

Brian Goetz brian.goetz at oracle.com
Fri Feb 28 09:21:07 UTC 2020


While we are painting this shed ....

What if the interfaces were called Object.Identity and Object.Inline?

Sent from my iPad

> On Feb 27, 2020, at 10:40 PM, John Rose <john.r.rose at oracle.com> wrote:
> 
> On Feb 25, 2020, at 11:20 AM, Roger Riggs <Roger.Riggs at oracle.com> wrote:
>> 
>> IdentityInstance
> 
> Does anyone else find this name to verbose?
> 
> Folks will see Object$IdentityInstance, like they see AbstractList$SubList.
> 
> I suggest s/IdentityInstance/Identity/, so Object$Identity is the class.
> 



More information about the valhalla-dev mailing list