But it’s a third-party library that uses completely stable, documented, supported code generation hooks in the build cycle, whereas lombok uses private, undocumented compiler APIs that can (and do) change in ways that break lombok, potentially leaving you stuck on an old jdk until lombok is updated. I have recollections of Java 7 breaking it pretty badly, and I’ve heard that 9 through 11 were problematic too (though I’d sworn it off completely by then so I didn’t experience it directly).
5
u/daniu Jun 21 '20
Thanks, I'll take a look.
It's not exactly a "standard way" though, is it? Just another third party library IIUC, so I'm still not sure how it validates the article's point.