redhat-developer / redhat-developer/vscode-java

Lombok: Duplicate annotation of non-repeatable type @JsonProperty.

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

Nobody has claimed this yet.

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

Description

I went from 1.41 to 1.49. Downgraded to 1.48, 1.47, 1.46 with same issue, so not sure when that started. I cannot go back too far since I think it becomes incompatible with Cursor.

It seems that this is the issue: https://github.com/projectlombok/lombok/issues/3946

And theres this PR that supposedly would fix it: https://github.com/projectlombok/lombok/pull/3963

To reproduce (taken from other issue, same error in vscode):

Set up lombok.config with lombok.copyJacksonAnnotationsToAccessors=true.
Create a class like the one below in Eclipse with Lombok plugin installed.

@Data
public class Person {

@JsonProperty("name")
private String name;

}

This seems like a fairly important fix. Any way to fasttrack that fix on the other side ?

Thanks!

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 problem with lombok.config set to lombok.copyJacksonAnnotationsToAccessors=true and the Person example using @Data and @JsonProperty. Review the related Lombok issue #3946 and pull request #3963, then determine whether vscode-java has a defined integration change to make. Done is unclear because the report primarily requests an upstream Lombok fix.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.