Skip to content
New issue

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

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

Already on GitHub? # to your account

[BUG] 使用 jdk9 module 功能后,要求不同的 module 中的 package 不能相同 #2176

Closed
EthanKk opened this issue Jan 11, 2024 · 3 comments
Labels
bug Something isn't working fixed
Milestone

Comments

@EthanKk
Copy link

EthanKk commented Jan 11, 2024

问题描述

简要描述您碰到的问题。

fastjson2 和 fastjson2-extension 包含了相同的包名。

根据 JDK9 module 功能的规定,不同 module 中不能出现相同名称的 package “com.alibaba.fastjson2.support”。

Uploading image.png…

环境信息

请填写以下信息:

  • OS信息: [e.g.:CentOS 8.4.2105 4Core 3.10GHz 16 GB]
  • JDK信息: [e.g.:jdk9]
  • 版本信息:[e.g.:Fastjson2 2.0.45]

#1923

@EthanKk EthanKk added the bug Something isn't working label Jan 11, 2024
@EthanKk
Copy link
Author

EthanKk commented Jan 11, 2024

补充截图
image

@wenshao
Copy link
Member

wenshao commented Jan 13, 2024

这个是通过src/main/moditect/modle-info.java配置实现的,你可以提交一个PR参与进来么?

@wenshao wenshao added this to the 2.0.46 milestone Jan 13, 2024
@wenshao wenshao added the fixed label Jan 27, 2024
@wenshao
Copy link
Member

wenshao commented Jan 29, 2024

https://github.com/alibaba/fastjson2/releases/tag/2.0.46
问题已修复,请用新版本

@wenshao wenshao closed this as completed Jan 29, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants