Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove javac support for getter on enum members #3494

Merged
merged 1 commit into from
Sep 17, 2023

Conversation

Rawi01
Copy link
Collaborator

@Rawi01 Rawi01 commented Aug 31, 2023

This PR fixes #3427

This is a breaking change for javac but I cannot imagine why someone want to generate a static getter for an enum member.

@rzwitserloot
Copy link
Collaborator

Any 'breaking change' that only breaks obviously buggy / 'just to make a point' code is, in my book, actually a good thing :) Better to throw a compiler error in a coder's face than silently compiling gobbledygook.

@rzwitserloot rzwitserloot merged commit 67cd7a6 into projectlombok:master Sep 17, 2023
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Eclipse handlers don't support enum constants
2 participants