[lworld] Integrated: 8242402: multianewarray is missing checks on the bottom class

Frederic Parain fparain at openjdk.java.net
Tue Jul 7 13:43:24 UTC 2020


On Mon, 6 Jul 2020 19:13:00 GMT, Frederic Parain <fparain at openjdk.org> wrote:

> Please review this patch which adds a missing check in array class resolution.
> 
> When an array class is resolved and the bottom type is not a primitive type, the envelope of the bottom type signature
> is removed in order to extract the class name and load it. Currently, there's no check that the kind of the loaded
> class matches the enveloped stripped from the signature.  The patch adds this check and includes an unit test.
> 
> Tested on all all platforms with mach5, tiers 1 to 3.
> 
> Thank you,
> 
> Fred

This pull request has now been integrated.

Changeset: e9c44351
Author:    Frederic Parain <fparain at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/e9c44351
Stats:     268 lines in 5 files changed: 0 ins; 268 del; 0 mod

8242402: multianewarray is missing checks on the bottom class

Reviewed-by: hseigel

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

PR: https://git.openjdk.java.net/valhalla/pull/105


More information about the valhalla-dev mailing list