Skip to content

[JENKINS-75443] Migrate from deprecated finalization API #1509

@jenkins-infra-bot

Description

@jenkins-infra-bot

Recent versions of Java have deprecated Object#finalize and marked it for removal. We ought to proactively migrate away from this deprecated API in favor of its non-deprecated replacement.

See jenkinsci/jenkins#8486 for an example of how to do this.


Originally reported by basil, imported from: Migrate from deprecated finalization API
  • assignee: jay_vts
  • status: In Review
  • priority: Minor
  • component(s): remoting
  • label(s): newbie-friendly
  • resolution: Unresolved
  • votes: 1
  • watchers: 4
  • imported: 2025-11-25
Raw content of original issue

Recent versions of Java have deprecated Object#finalize and marked it for removal. We ought to proactively migrate away from this deprecated API in favor of its non-deprecated replacement.

See jenkinsci/jenkins#8486 for an example of how to do this.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions