[jdk21u-dev] Integrated: 8333805: Replaying compilation with null static final fields results in a crash
Satyen Subramaniam
ssubramaniam at openjdk.org
Mon Mar 31 17:10:27 UTC 2025
On Wed, 26 Mar 2025 20:13:43 GMT, Satyen Subramaniam <ssubramaniam at openjdk.org> wrote:
> Backporting JDK-8333805: Replaying compilation with null static final fields results in a crash. This fix has two changes: fixing fields by leaving out the "null" string when the field is null and setting the length to -1 for a null array. Adds test to confirm this functionality.
This pull request has now been integrated.
Changeset: 70bd6f39
Author: Satyen Subramaniam <ssubramaniam at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk21u-dev/commit/70bd6f39ec2700c8ed6d613fb8338c5063b30c94
Stats: 156 lines in 3 files changed: 112 ins; 21 del; 23 mod
8333805: Replaying compilation with null static final fields results in a crash
Backport-of: fa401f37dffe7bde27e562065dfd24381d5237cc
-------------
PR: https://git.openjdk.org/jdk21u-dev/pull/1550
More information about the jdk-updates-dev
mailing list