On Mon, 17 Nov 2025 16:15:05 GMT, Chen Liang <[email protected]> wrote:

> In project Babylon work when a VarHandle needs to be unreflected, 
> @mcimadamore discovered that our current unreflection of instance field var 
> handles cannot unreflect instance fields from superclasses, and throws an 
> InternalError instead.
> 
> We can easily fix this by iterating the superclasses for fields.

Longer term I wonder if direct VarHandle impls should have a MemberName. It 
seems like we're doing a lot of heroics to re-resolve something we have already 
resolved!

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

PR Comment: https://git.openjdk.org/jdk/pull/28355#issuecomment-3548624070

Reply via email to