RFR: 8075331 jdb eval java.util.Arrays.asList(array) shows inconsistent behaviour
Jaroslav Bachorik
jaroslav.bachorik at oracle.com
Wed Apr 8 12:25:18 UTC 2015
Looks good!
Just update the copyright year in InterfaceTypeImpl.java
-JB-
On 8.4.2015 13:40, Staffan Larsen wrote:
> 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
> webrev: http://cr.openjdk.java.net/~sla/8075331/webrev.00/
>
> Thanks,
> /Staffan
More information about the serviceability-dev
mailing list