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

Remove use of deprecated finalize method from PiscesRenderer and AbstractSurface

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: openjfx13
    • Fix Version/s: openjfx15
    • Component/s: javafx
    • Labels:
      None

      Description

      The implementation of PiscesRenderer and AbstractSurface uses the deprecated Object::finalize method to dispose of native resources.

      We should instead use an alternative disposal mechanism, such as a weak or phantom reference-based Disposer used in other places in JavaFX.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                arapte Ambarish Rapte
                Reporter:
                arapte Ambarish Rapte
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: