Skip to content

Document annotation processors change in Java 23+#2575

Open
vmikhailenko wants to merge 2 commits into
mainfrom
java-migration-mention-java-25-gotcha
Open

Document annotation processors change in Java 23+#2575
vmikhailenko wants to merge 2 commits into
mainfrom
java-migration-mention-java-25-gotcha

Conversation

@vmikhailenko

Copy link
Copy Markdown
Contributor

Documents the change affecting Java applications that use Lombok and switch to Java 25.

Comment thread java/migration.md
Comment on lines +149 to +150
If your project uses Lombok, you need to explicitly add its annotation processor to your POM when you switch to Java 25. See https://projectlombok.org/setup/maven.
This is a change in Java compiler and affects all other annotation processors. See https://bugs.java.com/bugdatabase/JDK-8321314/description.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If your project uses Lombok, you need to explicitly add its annotation processor to your POM when you switch to Java 25. See https://projectlombok.org/setup/maven.
This is a change in Java compiler and affects all other annotation processors. See https://bugs.java.com/bugdatabase/JDK-8321314/description.
If your project uses Lombok, you need to explicitly add its annotation processor to your POM when you switch to Java 25. This is a change in Java compiler and affects all other annotation processors.
[Learn more about Maven setup with Lombok.](https://projectlombok.org/setup/maven){.learn-more}
[Learn more about about the change in the Java compiler.](https://bugs.java.com/bugdatabase/JDK-8321314/description){.learn-more}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants