JSR 391 (Java SE 16): JEP Propose to Target: 390: Warnings for Value-Based Classes

Iris Clark iris.clark at oracle.com
Mon Nov 30 23:10:42 UTC 2020

The following JEP with scope "SE" has been proposed to target JDK 16:

  390: Warnings for Value-Based Classes

  Summary: Designate the primitive wrapper classes as value-based and
  deprecate their constructors for removal, prompting new deprecation
  warnings.  Provide warnings about improper attempts to synchronize on
  instances of any value-based classes in the Java Platform.

The announced deadline for feedback to jdk-dev is Mon 7 Dec 23:59 UTC:


If there are no unresolved objections at that time, then the JEP will be moved
to the Targeted state, indicating that the feature is expected to appear in
the specified release of the JDK Project.  For more information about states,
see the JEP Process document:


A dashboard that lists JEPs with "SE" scope may be found via a link on this



More information about the java-se-spec-experts mailing list