-
Notifications
You must be signed in to change notification settings - Fork 932
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
Ftr: support java generic #48
Comments
I think this request is not reasonable. Golang either returns the determined type or returns an empty interface. SoIn summary, I think that implementing this function is too expensive. java codepublic class JavaClass<V> {
private V verification(V a) {
System.out.println(a.getClass());
return a;
}
private void test() {
JavaClass<Integer> integerJavaTest = new JavaClass<>();
integerJavaTest.verification(1);
}
} java byte code
You can see that the java type is erased and the method signature is
|
upgrade seata-golang version
go-for-apache-dubbo hessian2 doesn't support generics yet,like
Response<T>
。test case:
The text was updated successfully, but these errors were encountered: