- PLATFORM: JDK17 support added. .
- FEATURE: Added the
@StandardException
feature. Pull Request #2702.
- IMPROBABLE BREAKING CHANGE: If the underlying compiler and
--release
/ --source
option is 10 or higher, lombok's val
is now replaced by final var
. That means compound declarations such as val x = 10, y = 12;
now fail (lombok's old val
implementation supported it, javac's var
does not), but IDE support in particular is more reliable. We decided it was worth the tradeoff.
- BUGFIX: Syntax highlighting in VSCode now works reliably when using lombok. .
- BUGFIX: Eclipse's organize imports feature would sometimes remove your
lombok.val
import. .