Hi All, Please review test fix for the below bug:

 

Bug: https://bugs.openjdk.java.net/browse/JDK-8196616

 

Webrev: http://cr.openjdk.java.net/~pbansal/8196616/webrev.00/

 

 

The test case create a BufferedReader  and this BufferedReader is used to find 
XRanderModes and JavaModes and compare them.

It is assumed in this test that the first two lines of the  BufferedReader 
don't have the useful mode data and contain some other information. So it 
ignores first two lines. But this is not always true and test may have to 
ignore more or less lines depending upon the data. 

 

Made changes to the test to check how many lines should be ignored, instead of 
hard coding the number of lines to ignore.

 

Regards,
Pankaj Bansal

 

Reply via email to