Hi,

When calling varargs methods from JDI, we end up in MethodImpl.handleVarArgs() 
which has some logic to figure out how to call the varargs method with the 
parameters given. It depends on InvokeableType.isAssignableTo() to do this. 
This patch fixes a bug in isAssignableTo() where the implementation would say 
that an interface type was not assignable to java.lang.Object. With that fix in 
place, the reproducer from the bug and the new test passes.

Testing: all com/sun/jdi test and nsk.jdi.testlist on all platforms.

bug: https://bugs.openjdk.java.net/browse/JDK-8075331 
<https://bugs.openjdk.java.net/browse/JDK-8075331>
webrev: http://cr.openjdk.java.net/~sla/8075331/webrev.00/ 
<http://cr.openjdk.java.net/~sla/8075331/webrev.00/>

Thanks,
/Staffan

Reply via email to