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

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Feb 6 17:59:02 UTC 2015

Looks good.


On 2/6/15 7:34 AM, Sergei Kovalev wrote:
> 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,
> Sergei

More information about the hotspot-compiler-dev mailing list