Skip to content

Commit

Permalink
Merge pull request #746 from k163377/fix-module-instance
Browse files Browse the repository at this point in the history
The KotlinModule#serialVersionUID is set to private
  • Loading branch information
k163377 committed Dec 30, 2023
2 parents 7862ca0 + 70265c9 commit 22838e5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@
<!-- public -->
<!-- removed -->
<exclude>com.fasterxml.jackson.module.kotlin.SequenceSerializer</exclude>
<exclude>com.fasterxml.jackson.module.kotlin.KotlinModule#serialVersionUID</exclude>
<!-- internal -->
</excludes>
</parameter>
Expand Down
1 change: 1 addition & 0 deletions release-notes/CREDITS-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Contributors:
# 2.17.0 (not yet released)

WrongWrong (@k163377)
* #746: The KotlinModule#serialVersionUID is set to private.
* #745: Modified isKotlinClass determination method.
* #744: API deprecation update for KotlinModule.
* #743: Fix handling of vararg deserialization.
Expand Down
1 change: 1 addition & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Co-maintainers:

2.17.0 (not yet released)

#746: The KotlinModule#serialVersionUID is set to private.
#745: Modified isKotlinClass determination method.
#744: Functions that were already marked as deprecated,
such as the primary constructor in KotlinModule and some functions in Builder,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class KotlinModule @Deprecated(
) : SimpleModule(KotlinModule::class.java.name, PackageVersion.VERSION) {
companion object {
// Increment when option is added
const val serialVersionUID = 2L
private const val serialVersionUID = 2L
}

init {
Expand Down

0 comments on commit 22838e5

Please sign in to comment.