Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jackson-module-kotlin 3.0.0-SNAPSHOT tests against Kotlin 2.0 fail #813

Open
3 tasks done
cowtowncoder opened this issue Jun 23, 2024 · 1 comment
Open
3 tasks done
Labels

Comments

@cowtowncoder
Copy link
Member

cowtowncoder commented Jun 23, 2024

Search before asking

  • I searched in the issues and found nothing similar.
  • I searched in the issues of databind and other modules used and found nothing similar.
  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants