RFR(S): 8078145 testlibrary_tests/RandomGeneratorTest.java failed with AssertionError : Unexpected random number sequence for mode: NO_SEED

Sergei Kovalev sergei.kovalev at oracle.com
Thu Jun 11 16:13:12 UTC 2015

Hello Team,

Please review fix for CR: https://bugs.openjdk.java.net/browse/JDK-8078145
Webrev link: http://cr.openjdk.java.net/~skovalev/8078145/webrev.00/

Problem description: testlibrary_tests/RandomGeneratorTest.java test 
uses stdout from child java process for analysis. In some cases 
additional java options could force JVM to produce "system" output that 
interferes with test output that make output analysis unpredictable.

Solution: Forward all test output to a file. In this case JVM system 
information that printed out to stdout won't interfere with test output.

With best regards,

More information about the hotspot-compiler-dev mailing list