JEP draft: Identity Warnings for Inline Class Candidates

Dan Smith daniel.smith at oracle.com
Fri Aug 14 17:49:43 UTC 2020



> On Aug 13, 2020, at 6:06 PM, Dan Smith <daniel.smith at oracle.com> wrote:
> 
>> I would also remind users what the _benefits_ of migrating, say, `Duration` to inline classes, to head off the inevitable  "why are you guys always changing stuff that makes more work for me" objections.
> 
> I say "there are significant benefits" in the "alternatives" section, but don't bother to explain what those are. :-) I think maybe "those are the rules of a @ValueBased class, sorry" is more persuasive now that I've framed it in that way ("your beef is with @ValueBased, not this JEP"). But I suppose the bottom line is that there will be new warnings due to this JEP, and programmers will come here looking for answers. I'll think about what to say.

Updated with a couple sentences about the benefits of eventually migrating to be inline.


More information about the valhalla-spec-observers mailing list