[lworld] RFR: Remove ensure_objArray and copying code and write a test

Chen Liang liach at openjdk.org
Mon Jul 28 16:15:08 UTC 2025


On Thu, 10 Jul 2025 18:15:22 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This is the diff for removing copy_flatArray_to_objArray and ensure_objArray.  This is relative to lworld but should apply cleanly to your PR Fred.  I tested it against the tier1 tests in the lworld repo (in progress).

Note these two paths are only used by `Constructor::newInstance` and `Method::invoke` if system property `-Djdk.reflect.useNativeAccessorOnly=true` is set.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1507#issuecomment-3067337040


More information about the valhalla-dev mailing list