<div dir="ltr">Hey Chen,<br>"
do you mean to implement annotation instances as value objects?"<br>Yes that is what I mean, although I had forgotten they were actually instances of java.lang.reflect.Proxy! <br><br>Waiting for other changes that would allow for Annotations to be backed more directly with Value objects is fine, I was mostly interested in if it had been considered. Thank you for your fast response on a Saturday.<br><br>-Peter</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Feb 21, 2026 at 4:14 PM Chen Liang <<a href="mailto:liangchenblue@gmail.com">liangchenblue@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>Hi Peter, do you mean to implement annotation instances as value objects?<div dir="auto"><br></div><div dir="auto">This seems possible specifiation-wise, but since annotations from core reflection are implemented with java.lang.reflect.Proxy, there are serialization incompatibility risks. (This risk also blocks a few other annotation improvement proposals) Other risks may exist too.</div><div dir="auto"><br></div><div dir="auto">So I think the situation is:</div><div dir="auto">1. User can start implementing annotations with value objects</div><div dir="auto">2. The JDK won't consider migrating builtin annotations for now</div><div dir="auto">3. The door to future migration of builtin annos remain open, but we need to identify and resolve blockers, and is likely of lower priority given resource constraints</div><div dir="auto"><br></div>Regards<br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 21, 2026, 17:04 Peter Eastham <<a href="mailto:petereastham@gmail.com" target="_blank">petereastham@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Since this request feels a bit early in the preview lifecycle I'll try to keep it brief. I decided to bring it up as it would likely involve a Specification Update and I have no idea how long that takes to outline.<br><br>Have annotations been considered for the value modifier? My thought process here is that the identity of a given annotation isn't particularly useful, and the immutable behavior of Annotations mean they fall into a similar bucket as Records, where Identity <i>could</i> be useful, but not necessary.<br><br>I tried to scrub over some of the resources, but I couldn't find if this topic had been covered.<br><br>Thanks,<br>-Peter Eastham</div>
</blockquote></div></div></div>
</blockquote></div>