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

Remove use of deprecated finalize method from JPEGImageLoader

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • jfx14
    • 9, 10
    • javafx

    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

              arapte Ambarish Rapte
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: