diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-05-06 22:48:11 +0200 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-05-06 22:48:11 +0200 |
commit | e69a991fcb141fb24de8afb433c753d35821b1c3 (patch) | |
tree | e396b9e38e86fa7a08568d8c59d75b29803dbd0e /doc/changelog.markdown | |
parent | d41e804fe73faed5f8b90f4b472728bc3a0c85b7 (diff) | |
download | lombok-e69a991fcb141fb24de8afb433c753d35821b1c3.tar.gz lombok-e69a991fcb141fb24de8afb433c753d35821b1c3.tar.bz2 lombok-e69a991fcb141fb24de8afb433c753d35821b1c3.zip |
[fixes #2120] ecj was not generating explicit nullchecks for builder-setters.
Diffstat (limited to 'doc/changelog.markdown')
-rw-r--r-- | doc/changelog.markdown | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/changelog.markdown b/doc/changelog.markdown index acaa74de..0ed8afe1 100644 --- a/doc/changelog.markdown +++ b/doc/changelog.markdown @@ -13,6 +13,7 @@ Lombok Changelog * BUGFIX: If you use `@Builder` and manually write the `build()` method in your builder class, javac would error out instead of deferring to your implementation. [Issue #2050](https://github.com/rzwitserloot/lombok/issues/2050) [Issue #2061](https://github.com/rzwitserloot/lombok/issues/2061) * BUGFIX: `@SuperBuilder` together with `@Singular` on non-lists would produce an erroneous `emptyList` call. [Issue #2104](https://github.com/rzwitserloot/lombok/issues/2104). * IMPROBABLE BREAKING CHANGE: For fields and parameters marked non-null, if the method body starts with an assert statement to ensure the value isn't null, no code to throw an exception will be generated. +* IMPROBABLE BREAKING CHANGE: When using `ecj` to compile java code with `@Builder` or `@SuperBuilder` in it, and a builder setter method was generated for a `@NonNull`-marked method, no explicit null check would be present. However, running `javac` on the exact same file _would_ produce the null check. Now ecj also produces this null check. [Issue #2120](https://github.com/rzwitserloot/lombok/issues/2120). ### v1.18.6 (February 12th, 2019) * FEATURE: Javadoc on fields will now also be copied to the Builders' setters. Thanks for the contribution, Emil Lundberg. [Issue #2008](https://github.com/rzwitserloot/lombok/issues/2008) |