Skip to content

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

Open
fangwentong wants to merge 1 commit into
KscSDK:masterfrom
fangwentong:master
Open

use PropertyNamingStrategy's static field instead of new its subclass#186
fangwentong wants to merge 1 commit into
KscSDK:masterfrom
fangwentong:master

Conversation

@fangwentong

Copy link
Copy Markdown

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