--- a/langtools/test/com/sun/javadoc/testParamTaglet/TestParamTaglet.java Tue Apr 15 15:55:24 2014 -0700
+++ b/langtools/test/com/sun/javadoc/testParamTaglet/TestParamTaglet.java Wed Apr 16 16:17:09 2014 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -47,20 +47,22 @@
//Input for string search tests.
private static final String[][] TEST = {
//Regular param tags.
- {BUG_ID + FS + "pkg" + FS + "C.html",
- "<span class=\"paramLabel\">Parameters:</span></dt>" + NL + "<dd><code>param1</code> - testing 1 2 3.</dd>" +
- NL + "<dd><code>param2</code> - testing 1 2 3."
+ {BUG_ID + "/pkg/C.html",
+ "<span class=\"paramLabel\">Parameters:</span></dt>\n" +
+ "<dd><code>param1</code> - testing 1 2 3.</dd>\n" +
+ "<dd><code>param2</code> - testing 1 2 3."
},
//Param tags that don't match with any real parameters.
- {BUG_ID + FS + "pkg" + FS + "C.html",
- "<span class=\"paramLabel\">Parameters:</span></dt>" + NL + "<dd><code><I>p1</I></code> - testing 1 2 3.</dd>" +
- NL + "<dd><code><I>p2</I></code> - testing 1 2 3."
+ {BUG_ID + "/pkg/C.html",
+ "<span class=\"paramLabel\">Parameters:</span></dt>\n" +
+ "<dd><code><I>p1</I></code> - testing 1 2 3.</dd>\n" +
+ "<dd><code><I>p2</I></code> - testing 1 2 3."
},
//{@inherit} doc misuse does not cause doclet to throw exception.
// Param is printed with nothing inherited.
//XXX: in the future when Configuration is available during doc inheritence,
//print a warning for this mistake.
- {BUG_ID + FS + "pkg" + FS + "C.html",
+ {BUG_ID + "/pkg/C.html",
"<code><I>inheritBug</I></code> -"
},