-
Bug
-
Resolution: Duplicate
-
P4
-
repo-valhalla
Only identity objects can support finalization.
The javadoc of the Object.finalize() should mention that finalization is not supported for value classes.
javac should warn if a value class overrides `finalize()`.
The javadoc of the Object.finalize() should mention that finalization is not supported for value classes.
javac should warn if a value class overrides `finalize()`.
- csr for
-
JDK-8332532 [valhalla] Value classes do not support finalize
-
- Closed
-
- duplicates
-
JDK-8334692 [lworld] add missing compiler warnings
-
- Resolved
-