RFR: 8337622: IllegalArgumentException in java.lang.reflect.Field.get [v2]

Coleen Phillimore coleenp at openjdk.org
Thu Aug 8 16:49:09 UTC 2024


> 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.

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  Fix copyright lines.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20498/files
  - new: https://git.openjdk.org/jdk/pull/20498/files/56c8c7b0..7b1cf018

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20498&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20498&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/20498.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20498/head:pull/20498

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


More information about the hotspot-runtime-dev mailing list