File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ Contributors:
18
18
# 2 .19.0 (not yet released)
19
19
20
20
WrongWrong (@k163377 )
21
+ * #885 : Performance improvement of strictNullChecks
21
22
* #884 : Changed the base class of MissingKotlinParameterException to InvalidNullException
22
23
* #878 : Fix for #876
23
24
* #868 : Added test case for FAIL_ON_NULL_FOR_PRIMITIVES
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ Co-maintainers:
17
17
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
18
18
19
19
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 .
20
24
#884 : The base class for `MissingKotlinParameterException` has been changed to `InvalidNullException`.
21
25
If you do not catch this exception or catch `MismatchedInputException `, the behavior is unchanged .
22
26
If you are catching both `MismatchedKotlinParameterException ` and `InvalidNullException `, you must catch `MismatchedKotlinParameterException ` first .
You can’t perform that action at this time.
0 commit comments