Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

建议ASMDeserializerFactory中一段代码 ASMDeserializerFactory.class.getPackage().getName();修改为ASMDeserializerFactory.class.getName(),因为在一些情况下会出现null #1652

Closed
HunterPan opened this issue Dec 14, 2017 · 1 comment
Labels
Milestone

Comments

@HunterPan
Copy link

例如:使用Mockito mock数据单元测试时,如果我们使用mockClassLoader类加载器时,mockClassLoader不会definePackages,导致getPackAge为null

@wenshao wenshao added this to the 1.2.43 milestone Dec 16, 2017
@wenshao wenshao added the bug label Dec 16, 2017
@wenshao
Copy link
Member

wenshao commented Dec 16, 2017

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

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

No branches or pull requests

2 participants