Hello, Please review the fix for jdk10. Bug: https://bugs.openjdk.java.net/browse/JDK-8178274 Webrev can be found at: http://cr.openjdk.java.net/~serb/8178274/webrev.00
We pass jchar to the SetIntArrayRegion() but jint is expected, and SetIntArrayRegion() over-reads memory allocated on stack for 'testDeadChar' variable.
In the fix the size of the testDeadChar was changed to the jint. The fix was contributed by the Artem Smotrakov. -- Best regards, Sergey.