Environment
- Dubbo version: 2.7.0+
- Operating System version: mac
- Java version: 1.8
Steps to reproduce this issue
Assume that there is an interface below:
package com.youzan.nova.service;
import java.util.Set;
public interface OverrideService {
void invoke(Integer id, Set<String> orderNumbers);
void invoke(Long id, Set<String> orderNumbers);
}
package com.youzan.nova.service;
import java.util.Set;
public class OverrideServiceImpl implements OverrideService {
@Override
public void invoke(Integer id, Set<String> orderNumbers) {
System.out.println(id);
}
@Override
public void invoke(Long id, Set<String> orderNumbers) {
System.out.println(id);
}
}
Start telnet call service:
invoke com.youzan.nova.service.OverrideService.invoke("13", Set["1"])
invoke com.youzan.nova.service.OverrideService.invoke("13L", Set["1"])
Always only call the method invoke(Long id, Set<String> orderNumbers).
Environment
Steps to reproduce this issue
Assume that there is an interface below:
Start telnet call service:
Always only call the method
invoke(Long id, Set<String> orderNumbers).