<AWT Dev>  Review Request: JDK-8196616 java/awt/GraphicsDevice/DisplayModes/CompareToXrandrTest.java fails
pankaj.b.bansal at oracle.com
Thu May 10 19:21:29 UTC 2018
Hi All, Please review test fix for the below bug:
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev