Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8332479

[lworld] Value classes do not support finalize

XMLWordPrintable

      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()`.

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: