Sun, 30 Dec 2012 06:17:36 -0800
8005195: Doclint regression tests fail on windows
Reviewed-by: mcimadamore
test/tools/doclint/DocLintTester.java | file | annotate | diff | comparison | revisions |
1.1 --- a/test/tools/doclint/DocLintTester.java Sat Dec 29 17:33:17 2012 -0800 1.2 +++ b/test/tools/doclint/DocLintTester.java Sun Dec 30 06:17:36 2012 -0800 1.3 @@ -107,7 +107,7 @@ 1.4 1.5 private static final Pattern dirFileLine = Pattern.compile( 1.6 "(?m)" // multi-line mode 1.7 - + "^([^: ]+?)" // directory part of file name 1.8 + + "^(.*?)" // directory part of file name 1.9 + "([A-Za-z0-9.]+:[0-9]+:)"); // file name and line number 1.10 1.11 String removeFileNames(String s) {