On Tue, 21 Apr 2026 18:02:28 GMT, Chen Liang <[email protected]> wrote:
> 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). This pull request has now been integrated. Changeset: 168f56be Author: Chen Liang <[email protected]> URL: https://git.openjdk.org/valhalla/commit/168f56bedd1af9aa8172cfef1ef6510421c5ff76 Stats: 256 lines in 6 files changed: 233 ins; 4 del; 19 mod 8382556: [lworld] newConstructorForSerialization should not bypass strict init Reviewed-by: dlsmith, swen ------------- PR: https://git.openjdk.org/valhalla/pull/2350
