does lombok support JDK 16

227 views
Skip to first unread message

mohab shihab

unread,
Apr 1, 2021, 7:29:28 PM4/1/21
to Project Lombok
Hi, 
I want to upgrade my spring boot  app with java 8 to spring boot 2.4.4 with Java 16
but I have some issues related to lombok 

what the best way to install lombok with springboot 2.4.4 and Java 16

thank you

Daniel López

unread,
Apr 2, 2021, 1:23:36 PM4/2/21
to project...@googlegroups.com
What issues are you having?  There is a new Lombok version that is compatible with JDK 16, but even with the previous one you can use Lombok with that combo if you add the appropriate flags to the compiler process. I migrated 21 services precisely to Java 16 and Spring Boot 2.4.4 some weeks ago and that's pretty much what I had to do regarding Lombok.
Note that I could not get delombok to work because you cannot pass arguments to the JVM in that plugin. I have yet to try with the latest Lombok release for that case, but it was an optional step in my case.
D.

--
You received this message because you are subscribed to the Google Groups "Project Lombok" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/project-lombok/f7ba3608-c213-4299-aac7-83559f23a5b5n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages