jackson-module-kotlin
jackson-module-kotlin copied to clipboard
jackson-module-kotlin 3.0.0-SNAPSHOT tests against Kotlin 2.0 fail
Search before asking
- [X] I searched in the issues and found nothing similar.
- [X] I searched in the issues of databind and other modules used and found nothing similar.
- [X] I have confirmed that the problem only occurs when using Kotlin.
Describe the bug
After latest fix, version 3.0.0-SNAPSHOT of Kotlin module passes tests for all JDKs and Kotlin version -- except for Kotlin 2.0. See f.ex:
https://github.com/FasterXML/jackson-module-kotlin/actions/runs/9635973986/job/26573371169
Errors look like:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.249 s
[INFO] Finished at: 2024-06-23T19:43:30Z
[INFO] ------------------------------------------------------------------------
Error: Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:2.0.0:compile (compile) on project jackson-module-kotlin: Compilation failure: Compilation failure:
Error: /home/runner/work/jackson-module-kotlin/jackson-module-kotlin/src/main/kotlin/tools/jackson/module/kotlin/KotlinModule.kt:[45,63] Unresolved reference 'DISABLED'.
Error: /home/runner/work/jackson-module-kotlin/jackson-module-kotlin/src/main/kotlin/tools/jackson/module/kotlin/KotlinModule.kt:[59,87] Unresolved reference 'CANONICALIZE'.
Error: /home/runner/work/jackson-module-kotlin/jackson-module-kotlin/src/main/kotlin/tools/jackson/module/kotlin/KotlinModule.kt:[79,69] Unresolved reference 'CANONICALIZE'.
Error: /home/runner/work/jackson-module-kotlin/jackson-module-kotlin/src/main/kotlin/tools/jackson/module/kotlin/KotlinModule.kt:[80,38] Unresolved reference 'DISABLED'.
To Reproduce
CI test run so right Kotlin-core and JDK versions used
Expected behavior
All tests pass
Versions
Kotlin: 2.0 Jackson-module-kotlin: 3.0.0-SNAPSHOT Jackson-databind: 3.0.0-SNAPSHOT
Additional context
No response
#815 Might fix the issue
Sorry for the late reply. I was not able to catch up, may I close this issue?
If u think so, yes👍🏼