New candidate JEP: 402: Unify the Basic Primitives with Objects (Preview)
mark.reinhold at oracle.com
mark.reinhold at oracle.com
Wed Mar 17 21:49:45 UTC 2021
https://openjdk.java.net/jeps/402
Summary: Unify the basic primitives (int, double, etc.) with objects by
modeling the basic primitive values as instances of primitive classes
(introduced by JEP 401) and repurposing the wrapper class declarations
to act as the basic primitives' class declarations. As a result
of this change, all Java values will be objects. This is a preview
language and VM feature.
- Mark
More information about the jdk-dev
mailing list