redhat-developer / redhat-developer/vscode-java

java 11 issue only in vscode (no error in intellij, no error on mvn clean install)

Open
#1,755 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Environment
  • Operating System: macos
  • JDK version: 11.0.4
  • Visual Studio Code version: Version: 1.52.1
  • Java extension version: v0.73.0

Vscode shows errors and it should not:
steps to reproduce:
-get java 11 configured

  • git clone https://github.com/clembo590/issues.git --branch vscode-java/issues/1755
  • mvn clean install (NO ERROR)
  • open the repo in vscode (vscode shows compilation erros)

if mvn clean install does not show any errors and if intellij does not show any errors, vscode should not show any errors.

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

Clone the repository from the referenced vscode-java/issues/1755 branch, configure JDK 11, and reproduce the diagnostics in VS Code after running mvn clean install. Compare the reported VS Code errors with Maven and IntelliJ, then identify why VS Code reports errors that those tools do not; done means the false diagnostics no longer appear.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.