Skip to content

Commit f9a41b6

Browse files
committed
Update release notes wrt #885
1 parent aa167f5 commit f9a41b6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

release-notes/CREDITS-2.x

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Contributors:
1818
# 2.19.0 (not yet released)
1919

2020
WrongWrong (@k163377)
21+
* #885: Performance improvement of strictNullChecks
2122
* #884: Changed the base class of MissingKotlinParameterException to InvalidNullException
2223
* #878: Fix for #876
2324
* #868: Added test case for FAIL_ON_NULL_FOR_PRIMITIVES

release-notes/VERSION-2.x

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Co-maintainers:
1717
------------------------------------------------------------------------
1818

1919
2.19.0 (not yet released)
20+
#885: A new `StrictNullChecks` option(KotlinFeature.NewStrictNullChecks) has been added which greatly improves throughput.
21+
Benchmarks show a consistent throughput drop of less than 2% when enabled (prior to the improvement, the worst throughput drop was more than 30%).
22+
Note that the new backend changes the exception thrown to `InvalidNullException` and with it the error message.
23+
Also note that the base class for `MissingKotlinParameterException` was changed to `InvalidNullException` in #884.
2024
#884: The base class for `MissingKotlinParameterException` has been changed to `InvalidNullException`.
2125
If you do not catch this exception or catch `MismatchedInputException`, the behavior is unchanged.
2226
If you are catching both `MismatchedKotlinParameterException` and `InvalidNullException`, you must catch `MismatchedKotlinParameterException` first.

0 commit comments

Comments
 (0)