On Fri, 5 Jun 2026 22:12:00 GMT, Dan Smith <[email protected]> wrote:

>> We can indeed drop this safely. Do you think this comment should be dropped 
>> as well? If so, I can drop the comment in `ProxyGenerator` too.
>
> It's actually a useful comment, and relevant even when we're out of preview. 
> So I don't mind keeping it.
> 
> But I would undo the code change, there's no need to be generating preview 
> classes.

I now think that preview classes are useful - the capturing fields should be 
generated as strictly-initialized fields.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/31123#discussion_r3365865252

Reply via email to