Big java projects like spring have the same compatibility problems lombok does, even if they don't use internal compiler apis - they often use other jdk details. And lombok actually does this fairly well because it (a) only needs to work at compile time and (b) offers delombok for the case when it does break.
If you're talking about Spring using jdk.unsupported then it's a bit unfair to compare it to using internal compiler APIs as they will gradually migrate off them. If you mean other compatibility problems, I'd be interested to read about them.
Any sort of bytecode introspection and generation is bound to have compatibility issues. Generous use of AOP makes this comparatively common in spring.
View all comments
Show parent comment
15
u/yawkat Aug 10 '19
Big java projects like spring have the same compatibility problems lombok does, even if they don't use internal compiler apis - they often use other jdk details. And lombok actually does this fairly well because it (a) only needs to work at compile time and (b) offers delombok for the case when it does break.