RFR: 8316427: Duplicated code for {obj, type}ArrayKlass::array_klass
Andrew Dinn
adinn at openjdk.org
Tue Sep 19 08:50:40 UTC 2023
On Mon, 18 Sep 2023 16:40:08 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> Please review this trivial change to move duplicated array_klass(). Tested with tier1 on Oracle supported platforms.
Why is it the wrong type?
If the type array is, say, int[] then its array class is int[][] which is an array of int[] i.e. of objects.
This patch looks fine to me.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15791#issuecomment-1725081600
More information about the hotspot-dev
mailing list