eclipse-jdt / eclipse-jdt/eclipse.jdt.core

[28] JEP 539: Strict Field Initialization in the JVM (Preview)

Open
#5,226 0 comments 0 reactions 1 assignee Claimed by @mpalat View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

ref: https://openjdk.org/jeps/539

Summary
Introduce strictly-initialized fields in the Java Virtual Machine. Such fields must be initialized before they are read, thus default values such as 0 or null are never observed. For strictly-initialized fields that are final, the same value is always observed. This is a [preview VM feature](https://openjdk.org/jeps/12), available for use by compilers that emit class files.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.