Integrated: 8337622: IllegalArgumentException in java.lang.reflect.Field.get

Coleen Phillimore coleenp at openjdk.org
Mon Aug 12 17:59:42 UTC 2024


On Wed, 7 Aug 2024 18:32:18 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> Make the object init_lock be an injected field in the mirror so that reflecting on componentType will not inadvertently return the init_lock.  The init_lock is a Java object and the VM holds it during class linking and uses it to set state during class initialization.
> Tested with tier1-8.

This pull request has now been integrated.

Changeset: 41e31d6b
Author:    Coleen Phillimore <coleenp at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/41e31d6b0ae00d70b6fb20c89318fde2bc605edb
Stats:     58 lines in 3 files changed: 51 ins; 7 del; 0 mod

8337622: IllegalArgumentException in java.lang.reflect.Field.get

Reviewed-by: dholmes, shade

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

PR: https://git.openjdk.org/jdk/pull/20498


More information about the hotspot-runtime-dev mailing list