redhat-developer / redhat-developer/vscode-java
The method finalize() from the type Object is deprecated since version 9
Open
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
- Open one java project
- 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

Expected Result
We shouldn't provide a deprecated method to user
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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