JDK-8326618 : Replace usage of deprecated method getId() in Thread
  • Type: Bug
  • Component: javafx
  • Sub-Component: base
  • Affected Version: jfx23
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-02-24
  • Updated: 2024-10-12
  • Resolved: 2024-02-29
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
jfx23 b07Fixed
Related Reports
Blocks :  
Description
The method getId() in Thread has been deprecated since JDK 19. It's usage should be replaced with recommended method threadId().
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx/pull/1383 Date: 2024-02-27 17:58:13 +0000
12-10-2024

Changeset: 5512a5ad Author: Anirvan Sarkar <asarkar@openjdk.org> Committer: John Hendrikx <jhendrikx@openjdk.org> Date: 2024-02-29 11:48:43 +0000 URL: https://git.openjdk.org/jfx/commit/5512a5add0b5ce4a41e6c377c274b9518ee68489
29-02-2024

This proposed fix is now possible because we bumped the minimum JDK to JDK 21 in JDK-8321603. As such, this must not be backported to earlier versions of JavaFX.
27-02-2024

Affected files: modules/javafx.base/src/main/java/com/sun/javafx/logging/PrintLogger.java modules/javafx.web/src/main/java/com/sun/javafx/webkit/drt/DumpRenderTree.java
24-02-2024