Emit a warning if the string we get is too large for Java, and cast the size to jsize before calling JNI. For consistency, replace the Q_ASSERT in QJniArray's size check to use the same logic. Addresses header review comment; code was not handling this case before it got moved into the inline helper either. Change-Id: I00d68509be8b5f7304dda2e824fa0ced0f8f8d48 Reviewed-by: Marc Mutz <marc.mutz@qt.io> (cherry picked from commit 9d35561f6f6be125369e6020ce95a73b4aa6b51f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%