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

请问支持Java8新时间类型的hessian的release版本,将在什么时候发布? #722

Closed
yonghualuo opened this issue Oct 9, 2017 · 5 comments
Labels
status/waiting-for-feedback Need reporters to triage
Milestone

Comments

@yonghualuo
Copy link

No description provided.

@chickenlj chickenlj added type/need-triage Need maintainers to triage type/question & discussion and removed type/need-triage Need maintainers to triage labels Oct 9, 2017
@chickenlj
Copy link
Contributor

将在2.5.6版本发布,本周发布。

答疑或使用疑问,请到gitter提问,实时聊天更方便

@chickenlj
Copy link
Contributor

@yonghualuo 你关注java8时间类型的原因是?当前hessian序列化有什么问题吗,能否描述一下?

@chickenlj chickenlj reopened this Oct 11, 2017
@chickenlj chickenlj self-assigned this Oct 11, 2017
@chickenlj chickenlj added this to the 2.5.6 milestone Oct 11, 2017
@RylanStar
Copy link

RylanStar commented Oct 12, 2017 via email

@yonghualuo
Copy link
Author

@chickenlj 原生hessian对java8的LocalDate等类型不支持,序列化时会报StackOverflowError

@takeseem
Copy link
Contributor

fix see #906,我们主要用的是dubbo协议,hessian不知道能不能自动把:locale的字符串反序列化为Locale对象,我想应该是ok的,jackson支持

public static void main(String[] args) throws IOException {
	ObjectMapper mapper = new ObjectMapper();
	String json = mapper.writeValueAsString(Locale.US);
	System.out.println(json);
	System.out.println(mapper.readValue(json, Locale.class));
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/waiting-for-feedback Need reporters to triage
Projects
None yet
Development

No branches or pull requests

4 participants