1.1 --- a/test/tools/javadoc/api/basic/GetTask_WriterTest.java Tue Nov 20 07:21:07 2012 -0800 1.2 +++ b/test/tools/javadoc/api/basic/GetTask_WriterTest.java Tue Nov 20 07:25:11 2012 -0800 1.3 @@ -67,8 +67,9 @@ 1.4 String out = sw.toString(); 1.5 System.err.println(">>" + out + "<<"); 1.6 for (String f: standardExpectFiles) { 1.7 - if (f.endsWith(".html") && !out.contains(f)) 1.8 - throw new Exception("expected string not found: " + f); 1.9 + String f1 = f.replace('/', File.separatorChar); 1.10 + if (f1.endsWith(".html") && !out.contains(f1)) 1.11 + throw new Exception("expected string not found: " + f1); 1.12 } 1.13 } else { 1.14 throw new Exception("task failed");