JDK-8196587 : Remove use of deprecated finalize method from JPEGImageLoader
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 9,10
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-02-01
  • Updated: 2019-12-25
  • Resolved: 2019-12-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjfx14Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
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. 
Comments
Changeset: 1140d343 Author: Ambarish Rapte <arapte@openjdk.org> Date: 2019-12-18 17:03:12 +0000 URL: https://git.openjdk.java.net/jfx/commit/1140d343
18-12-2019