<Beans Dev> [9] Review Request: 8151786 [TESTBUG] java/beans/XMLEncoder/Test4625418.java timed out intermittently

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue May 3 17:14:17 UTC 2016

Please review the fix for jdk9.

This is an attempt to fix the intermittent failure of correspondent test 
on the overloaded systems. Currently the test has lots of @run tags and 
the overall execution time is 3+- minutes. After the fix the execution 
time decreased to 30+- seconds.

In the fix instead of list of @run tags the simple loop over an array of 
encodings is used. Also I eliminated creation of files, and uses 
ByteArrayOutputStream/ByteArrayInputStream instead.

Bug: https://bugs.openjdk.java.net/browse/JDK-8151786
Webrev can be found at: http://cr.openjdk.java.net/~serb/8151786/webrev.00

Best regards, Sergey.

More information about the beans-dev mailing list