-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Insert Null value check if array component type is unknown during com…
…pilation time If the value being stored is NULL and the destination array component is null restricted in runtime, a NPE is expected to throw. Therefore, when the array component type is not known to be identity type in compilation time, a NULLCHK on store value is required. Also add two test cases to test storing NULL into null restricted array, and update the class name in the tests to primitive class to reflect more accurately the type of the class. Signed-off-by: Annabelle Huo <[email protected]>
- Loading branch information
Showing
2 changed files
with
83 additions
and
44 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