Hello!

In the function Java_sun_security_mscapi_PRNG_generateSeed() a native memory is allocated, and then its content is copied into a freshly allocated Java array. The native memory allocation can be avoided, which also makes the code shorter.

Would you please help review the fix?

BUGURL: https://bugs.openjdk.java.net/browse/JDK-8201355
WEBREV: http://cr.openjdk.java.net/~igerasim/8201355/00/webrev/

--
With kind regards,
Ivan Gerasimov

Reply via email to