redhat-developer / redhat-developer/vscode-java

The method finalize() from the type Object is deprecated since version 9

Open
#889 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement upstream
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

Environment
  • Operating System: Win & Mac
  • JDK version: 12
  • Visual Studio Code version: 1.33.1
  • Java extension version: 0.43.0
Steps To Reproduce
  1. Open one java project
  2. Run the command "Source action" ->Override/Implement Methods… ==> finalize()
Current Result

Warning in probelm window, we provide this method but tell the user that it is deprecated
image

Expected Result

We shouldn't provide a deprecated method to user

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue through Source Action > Override/Implement Methods… in a Java project using JDK 12, then trace the implementation behind that command. Done means the deprecated Object.finalize() method is no longer offered while other applicable methods remain available.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.