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

Update inner class type when creating a static class #3101

Merged
merged 1 commit into from Jan 30, 2022

Conversation

Rawi01
Copy link
Collaborator

@Rawi01 Rawi01 commented Jan 29, 2022

This PR fixes #3097

Inner classes reference the outer type, if we convert it into a static class we have to remove this reference because javac > 8 checks if this reference is valid.

@rzwitserloot rzwitserloot merged commit 1ba5fe8 into projectlombok:master Jan 30, 2022
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] @UtilityClass fails to make inner class static in Java 9+
2 participants