forked from eclipse-openj9/openj9
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly handle primitive VTs in System.arraycopy
- Create VM_ValueTypeHelpers::copyFlattenableArray function and call it instead of VM_ArrayCopyHelpers::referenceArrayCopy when copying flattened or primitive arrays - Throw a NPE instead of an ASE in doReferenceArrayCopy when an attempt is made to copy a null object into an array of primitive value types for eclipse-openj9#13182 Signed-off-by: Ehren Julien-Neitzert <[email protected]>
- Loading branch information
Showing
2 changed files
with
132 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters