RFR(S): 8067822 test/testlibrary_tests/RandomGeneratorTest.java failed on Assert Unexpected random number sequence for mode: NO_SEED

Sergei Kovalev sergei.kovalev at oracle.com
Fri Feb 6 15:34:06 UTC 2015

Hello All,

Please review the fix for

bug: https://bugs.openjdk.java.net/browse/JDK-8067822
Webrev: http://cr.openjdk.java.net/~skovalev/8067822/webrev.00/

_Synopsis:_ test test/testlibrary_tests/RandomGeneratorTest.java failing 
on embedded platform in case NMT detail options provided.
_Root cause:_ Embedded platforms do not support NMT details and printing 
out error message. Test case uses ProcessTool utility class and request 
output from it by method getOutput. The method returns combined output 
from stdout and std error (return stdout + stderror). Thus on embedded 
platforms we comparing error message (tests take last string from 
output) instead of test output.

_Solution:_ replace ProcessTools::getOutput by ProcessTools::getStdout.

Testing done: tested locally on embedded platform with NMT options provided.

With best regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20150206/841a8d28/attachment.html>

More information about the hotspot-compiler-dev mailing list