Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QJniArray: assert that source container is not too large
Java still only can handle arrays of at most 2^31 entries, and the JNI API for working with arrays is using types that are essentially int. Assert that the container passed in is not larger than that. Found during API review. Task-number: QTBUG-119952 Pick-to: 6.7 Change-Id: Ia0cbdbf098cf5b2c8ec50f0dd24dadf833bf40d0 Reviewed-by: Juha Vuolle <[email protected]> Reviewed-by: Marc Mutz <[email protected]>
- Loading branch information