fastjson2 icon indicating copy to clipboard operation
fastjson2 copied to clipboard

[QUESTION]License相关问题咨询

Open like520-WQ opened this issue 1 year ago • 3 comments

@wenshao 作者大佬,麻烦问下这个路径的类一定要加上最前面的那些标注么。。。 我们最近法务审核的时候发现虽然FastJson2本身是Apache-2.0,但是里面嵌套了这个导致存在法务风险。。。目前凡是用您jar的商业项目我理解其实都存在这个风险 core/src/main/java/com/alibaba/fastjson2/internal/trove/map/hash/TLongIntHashMap.java image

like520-WQ avatar Dec 20 '24 07:12 like520-WQ

https://github.com/JetBrains/intellij-deps-trove4j/blob/master/core/src/main/java/gnu/trove/TLongIntHashMap.java

这个确实是引用了trovr4j的代码,具体法律风险自行评估

wenshao avatar Dec 22 '24 01:12 wenshao

@like520-WQ 看这个注释,使用的是 LPGL 协议,只要不修改源代码,商业项目使用应该也没什么风险吧 ?

CodePlayer avatar Dec 23 '24 11:12 CodePlayer

I also came across this TLongIntHashMap.java issue.

The LGPL-2.1 license states "2.c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License". This is something you should review with your legal dept/open source program office, but typically the effect is to consider that all of fastjson2 has to be treated as LGPL-2.1 licensed if you have included a file under LGPL-2.1.

hyandell avatar Jun 05 '25 16:06 hyandell