Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

use PropertyNamingStrategy's static field instead of new its subclass #186

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fangwentong
Copy link

jackson的PropertyNamingStrategy类存在潜在的类初始化死锁的问题。
可以直接使用PropertyNamingStrategy中定义好的strategy对象,这样修改后,总是先加载父类再加载子类,不会死锁,能绕过这个问题

参考: FasterXML/jackson-databind#2715

bypass the potential deadlock when PropertyNamingStrategy class initialization
see: FasterXML/jackson-databind#2715
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant