Skip to content

Remove implicitly-included java.base dep in module-info.java #402

@UkonnRa

Description

@UkonnRa

Describe the bug
Same as this issue, java.base is implicitly-included so you cannot add it again, or exception will be thrown

java.lang.module.FindException: Error reading module: ./.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.module/jackson-module-kotlin/2.12.0/dd04be85f79db0146223bd06696798937eac70d3/jackson-module-kotlin-2.12.0.jar
Caused by: java.lang.module.InvalidModuleDescriptorException: Dependence upon java.base already declared
:absolem:test (Thread[Execution worker for ':',5,main]) completed. Took 0.228 secs.

To Reproduce
Use jackson-kotlin with Java module, you will see this error

Expected behavior
Everything should work fine

Versions
Kotlin: 1.4.30-M1
Jackson-module-kotlin: 2.12.0
Jackson-databind: 2.12.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions