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. This pull request has now been integrated. Changeset: 1f99cf94 Author: Chen Liang <[email protected]> URL: https://git.openjdk.org/jdk/commit/1f99cf942449728cdeb9918b93fd9a97a51eb0b6 Stats: 53 lines in 4 files changed: 38 ins; 2 del; 13 mod 8372002: VarHandle for receiver's superclass instance fields fails describeConstable Reviewed-by: psandoz, jvernee ------------- PR: https://git.openjdk.org/jdk/pull/28355
