Skip to content

Remove MissingKotlinParameterException and replace with MismatchedInputException #617

Open
@k163377

Description

@k163377

This change was originally scheduled to take place in 2.16, but later discussions postponed the decision to the 2.17 transition.


If the work on removing kotlin-reflect is reflected in jackson-module-kotlin, the MissingKotlinParameterException change is unavoidable since it references KParameter.
#450

The same applies to resolving the following issue
#572

I have also found a way to significant improve performance when the strictNullChecks option is enabled, but it is difficult to avoid changing error messages when enabling this option as well.
ProjectMapK/jackson-module-kogera#44

So, remove MissingKotlinParameterException and replace it with MismatchedInputException(MismatchedInputException is a superclass of MissingKotlinParameterException).
This removal process will be done in phases, with deprecation in 2.15 and removal in 2.16.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions