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

泛型基类在某种场景下序列化出错 #604

Closed
wenshao opened this issue May 4, 2016 · 0 comments
Closed

泛型基类在某种场景下序列化出错 #604

wenshao opened this issue May 4, 2016 · 0 comments
Milestone

Comments

@wenshao
Copy link
Member

wenshao commented May 4, 2016

在1.2.9/1.2.10/1.2.11版本中,如果存在如下类型的泛型基类,会导致序列化出错

public static class MyResultResult extends BaseResult<String> {
}

public static class BaseResult<T> implements Serializable {
    private T data;
    public T getData() {
        return data;
    }
}
@wenshao wenshao added this to the 1.2.12 milestone May 4, 2016
@wenshao wenshao closed this as completed May 4, 2016
asa1997 pushed a commit to Be-Secure/fastjson that referenced this issue Feb 8, 2023
asa1997 pushed a commit to Be-Secure/fastjson that referenced this issue Feb 8, 2023
asa1997 pushed a commit to Be-Secure/fastjson that referenced this issue Feb 8, 2023
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

No branches or pull requests

1 participant