Integrated: 8221503: vmTestbase/nsk/jdb/eval/eval001/eval001.java fails with: com.sun.jdi.InvalidTypeException: Can't assign double[][][] to double[][][]

Fairoz Matte fmatte at openjdk.java.net
Wed May 5 07:15:05 UTC 2021


On Fri, 23 Apr 2021 15:03:42 GMT, Fairoz Matte <fmatte at openjdk.org> wrote:

> findComponentType() logic is wrong. In findComponentType() method, We always get vm.classesByName() retruns empty list
> list = vm.classesByName(parser.typeName());
> We have "parser.typeName()" retruns " double[][]"
> vm.classesByName("") is expecting the fully qualified name example "java.lang.Double"
> This always returns empty list, resulting into ClassNotLoadedException as it assumes the Component class has not yet been loaded, hence the test case fails.
> 
> There was a suggested fix from Egor Ushakov from JetBrains, I am proposing the same to get this fix. I have verified the patch with required testing it works fine.

This pull request has now been integrated.

Changeset: 82768d9a
Author:    Fairoz Matte <fmatte at openjdk.org>
Committer: Serguei Spitsyn <sspitsyn at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/82768d9a31edcfe5b27e75d681d3592c8f4a2ece
Stats:     41 lines in 3 files changed: 0 ins; 36 del; 5 mod

8221503: vmTestbase/nsk/jdb/eval/eval001/eval001.java fails with: com.sun.jdi.InvalidTypeException: Can't assign double[][][] to double[][][]

Reviewed-by: cjplummer, sspitsyn

-------------

PR: https://git.openjdk.java.net/jdk/pull/3658


More information about the serviceability-dev mailing list