redhat-developer / redhat-developer/vscode-java

Encountering a BUG when developing Java with vscode

Open
#1,219 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

[provide a description of the issue]

Environment
  • Operating System::Linux x64 5.0.0-37-generic
  • JDK version:1.8.0_201
  • Visual Studio Code version:1.40.1
  • Java extension version:
Steps To Reproduce
  1. [step 1]
    Screenshot from 2019-12-26 11-27-03

  2. [step 2]
    As shown above, the department ID on line 61 of the code prompts an error, but there is actually no error here. The error is that the parenthesis is missing from line 64.I think this is a hint to locate the bug.

  3. [step 3]
    When I remove the parentheses on line 64, the error is no longer prompted

  4. [step 4]
    Screenshot from 2019-12-26 11-48-55

[attach a sample project reproducing the error]
attach logs

Current Result
Expected Result
Additional Informations

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 report on Linux with JDK 1.8.0_201 and VS Code 1.40.1, comparing the diagnostic on line 61 with the missing parenthesis on line 64. Collect the missing Java extension version, sample project, complete code, and logs; done means the incorrect diagnostic is reproduced and its cause is identified.

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
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.