> ReflectionFactory.newConstructorForSerializatoin might bypass strict 
> initialization. We should make sure the skipped classes in the constructor 
> chain do not declare strict instance fields.
> 
> This updates the specification of jdk.unsupported's ReflectionFactory to 
> reflect this behavioral update.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Chen Liang has updated the pull request with a new target base due to a merge 
or a rebase. The incremental webrev excludes the unrelated changes brought in 
by the merge/rebase. The pull request contains five additional commits since 
the last revision:

 - Review comments
 - Merge branch 'lworld' of https://github.com/openjdk/valhalla into 
fix/reflect-factory-strict
 - Further cleanup
 - Merge branch 'lworld' of https://github.com/openjdk/valhalla into 
fix/reflect-factory-strict
 - Prevent reflection factory hacking strict init

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/2350/files
  - new: https://git.openjdk.org/valhalla/pull/2350/files/136e1a20..7db0b73b

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

  Stats: 119315 lines in 3217 files changed: 48197 ins; 60997 del; 10121 mod
  Patch: https://git.openjdk.org/valhalla/pull/2350.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2350/head:pull/2350

PR: https://git.openjdk.org/valhalla/pull/2350

Reply via email to