alibaba / alibaba/fastjson2

[BUG] module-info support broken for Kotlin

Open
#7,622 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
4.4k
Forks
613
Avg merge
1d 22h
Merged PRs (30d)
6

Description

Hello.

Trying to use `fastjson2-kotlin` v2.0.61 with JPMS is simply not possible since both the modules `fastjson2.kotlin` (automatically derived module name) and `com.alibaba.fastjson2` are needed but both share the package `com.alibaba.fastjson2` which is not allowed.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the JPMS setup with fastjson2-kotlin v2.0.61 and inspect how the fastjson2.kotlin and com.alibaba.fastjson2 modules are derived. Done means the Kotlin artifact can be used with JPMS without the reported shared-package conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kotlin
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.