This will help reducing the number of casts. `Runtime1::store_flat_array` had an incorrect type and had to be fixed.
------------- Commit messages: - Add covariant klass() impl for ref/flat arrays Changes: https://git.openjdk.org/valhalla/pull/2224/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2224&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8380026 Stats: 52 lines in 9 files changed: 19 ins; 1 del; 32 mod Patch: https://git.openjdk.org/valhalla/pull/2224.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2224/head:pull/2224 PR: https://git.openjdk.org/valhalla/pull/2224
