Skip to content

2.10 introduces another binary compatibility issue in KotlinModule constructor #279

@kilink

Description

@kilink

This is essentially the same issue as in #178, but again there is a binary compatibility issue. For instance, code that instantiates KotlinModule and was compiled against 2.9.10 will break if 2.10.1 is used at runtime. This time it's due to the introduction of the nullisSameAsDefault parameter.

As was mentioned in the other issue, backwards compatibility can be restored by re-introducing a constructor with the old signature.

I would again urge using something like japicmp to ensure this doesn't happen going forward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions