--- old/test/com/sun/javadoc/DocRootSlash/p1/C1.java Fri Jan 22 12:21:30 2016 +++ /dev/null Fri Jan 22 12:21:30 2016 @@ -1,85 +0,0 @@ -/* - * Copyright (c) 2002, 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 - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -package p1; - -/** - * Dummy first sentence to suppress breakiterator warning. - *
- * - * Case 0 Actual: . Current directory - *
- *
- * Sub-test 1 Actual: {@docroot} Bare tag - ALL LOWERCASE
- * Sub-test 1 Expect:
- * (Expect empty string because lowercase docroot is illegal)
- *
- *
- * Sub-test 2 Actual: {@docRoot} Bare tag - "R" UPPERCASE
- * Sub-test 2 Expect: ..
- *
- *
- * Sub-test 3 Actual: {@docRoot}/package-list
- * Sub-test 3 Expect: ../package-list
- *
- *
- * Sub-test 4 Actual: {@docRoot}/p2/C2.html
- * Sub-test 4 Expect: ../p2/C2.html
- *
- *
- * Sub-test 5 Actual: {@docRoot}/../docs1/p2/C2.html
- * Sub-test 5 Expect: ../../docs1/p2/C2.html
- *
- *
- * Sub-test 6 Actual: {@docRoot}/p2/package-summary.html#package_description
- * Sub-test 6 Expect: ../p2/package-summary.html#package_description
- *
- *
- * Sub-test 7 Actual: {@docRoot}/../docs1/p2/package-summary.html#package_description
- * Sub-test 7 Expect: ../../docs1/p2/package-summary.html#package_description
- *
- * - * - * - * Allow docRoot to work without a trailing slash for those who had to change their comments - * to work with the 1.4.0 bug: - *
- *
- * Sub-test 8 Actual: {@docRoot}p2/C2.html
- * Sub-test 8 Expect: ../p2/C2.html
- *
- *
- * Sub-test 9 Actual: {@docRoot}../docs1/p2/C2.html
- * Sub-test 9 Expect: ../../docs1/p2/C2.html
- *
- *
- * Sub-test 10 Actual: {@docRoot}/p2/package-summary.html#package_description
- * Sub-test 10 Expect: ../p2/package-summary.html#package_description#package_description
- *
- *
- * Sub-test 11 Actual: {@docRoot}/../docs1/p2/package-summary.html#package_description
- * Sub-test 11 Expect: ../../docs1/p2/package-summary.html#package_description
- *
- */
-public class C1 {
-}
--- /dev/null Fri Jan 22 12:21:30 2016
+++ new/test/jdk/javadoc/doclet/DocRootSlash/p1/C1.java Fri Jan 22 12:21:29 2016
@@ -0,0 +1,85 @@
+/*
+ * Copyright (c) 2002, 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
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+package p1;
+
+/**
+ * Dummy first sentence to suppress breakiterator warning.
+ *
+ * + * Case 0 Actual: . Current directory + *
+ *
+ * Sub-test 1 Actual: {@docroot} Bare tag - ALL LOWERCASE
+ * Sub-test 1 Expect:
+ * (Expect empty string because lowercase docroot is illegal)
+ *
+ *
+ * Sub-test 2 Actual: {@docRoot} Bare tag - "R" UPPERCASE
+ * Sub-test 2 Expect: ..
+ *
+ *
+ * Sub-test 3 Actual: {@docRoot}/package-list
+ * Sub-test 3 Expect: ../package-list
+ *
+ *
+ * Sub-test 4 Actual: {@docRoot}/p2/C2.html
+ * Sub-test 4 Expect: ../p2/C2.html
+ *
+ *
+ * Sub-test 5 Actual: {@docRoot}/../docs1/p2/C2.html
+ * Sub-test 5 Expect: ../../docs1/p2/C2.html
+ *
+ *
+ * Sub-test 6 Actual: {@docRoot}/p2/package-summary.html#package_description
+ * Sub-test 6 Expect: ../p2/package-summary.html#package_description
+ *
+ *
+ * Sub-test 7 Actual: {@docRoot}/../docs1/p2/package-summary.html#package_description
+ * Sub-test 7 Expect: ../../docs1/p2/package-summary.html#package_description
+ *
+ * + * + * + * Allow docRoot to work without a trailing slash for those who had to change their comments + * to work with the 1.4.0 bug: + *
+ *
+ * Sub-test 8 Actual: {@docRoot}p2/C2.html
+ * Sub-test 8 Expect: ../p2/C2.html
+ *
+ *
+ * Sub-test 9 Actual: {@docRoot}../docs1/p2/C2.html
+ * Sub-test 9 Expect: ../../docs1/p2/C2.html
+ *
+ *
+ * Sub-test 10 Actual: {@docRoot}/p2/package-summary.html#package_description
+ * Sub-test 10 Expect: ../p2/package-summary.html#package_description#package_description
+ *
+ *
+ * Sub-test 11 Actual: {@docRoot}/../docs1/p2/package-summary.html#package_description
+ * Sub-test 11 Expect: ../../docs1/p2/package-summary.html#package_description
+ *
+ */
+public class C1 {
+}