去掉RMI的类型转换不兼容
git-svn-id: http://code.alibabatech.com/svn/dubbo/trunk@229 1a56cb94-b969-4eaa-88fa-be21384802f2
This commit is contained in:
parent
d3613d678a
commit
3d82de1295
|
|
@ -203,7 +203,7 @@ public class RmiProtocol extends AbstractProtocol {
|
|||
} catch (ClassNotFoundException e) {
|
||||
ClassPool pool = ClassGenerator.getClassPool(type.getClassLoader());
|
||||
CtClass ctClass = pool.makeInterface(remoteType);
|
||||
ctClass.addInterface(pool.getCtClass(type.getName()));
|
||||
// ctClass.addInterface(pool.getCtClass(type.getName()));
|
||||
ctClass.addInterface(pool.getCtClass(Remote.class.getName()));
|
||||
Method[] methods = type.getMethods();
|
||||
for (Method method : methods) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue