-
Bug
-
Resolution: Fixed
-
P3
-
repo-valhalla
As specified in JEP 401, when preview features are enabled, the following standard library classes are considered to be value classes, despite not having been declared or compiled with the value modifier:
java.lang.Byte
java.lang.Short
java.lang.Integer
java.lang.Long
java.lang.Float
java.lang.Double
java.lang.Boolean
java.lang.Character
java.util.Optional
java.lang.Number
java.lang.Record
java.lang.Byte
java.lang.Short
java.lang.Integer
java.lang.Long
java.lang.Float
java.lang.Double
java.lang.Boolean
java.lang.Character
java.util.Optional
java.lang.Number
java.lang.Record
- duplicates
-
JDK-8327481 [lworld] Update primitive wrappers to value classes when --enable-preview
- Closed
- relates to
-
JDK-8327637 [lworld] runtime/valhalla/inlinetypes/PreloadCircularityTest.java fails with --enable-preview
- Resolved
-
JDK-8327639 [lworld] test/jdk/java/lang/invoke/callerSensitive/CallerSensitiveAccess.java fails with --enable-preview
- Resolved
-
JDK-8328261 public lookup fails with IllegalAccessException when used while module system is being initialized
- Resolved
(1 links to)