New candidate JEP: 402: Unify the Basic Primitives with Objects (Preview)


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…

More at https://mail.openjdk.java.net/pipermail/jdk-dev/2021-March/005198.html