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

Remove use of deprecated finalize method from JPEGImageLoader

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: openjfx14
    • Component/s: javafx
    • Labels:

      Description

       The implementation of JPEGImageLoader 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:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: