Wed, 27 Apr 2016 01:34:52 +0800
Initial load
http://hg.openjdk.java.net/jdk8u/jdk8u/langtools/
changeset: 2573:53ca196be1ae
tag: jdk8u25-b17
1 /*
2 * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
24 package p1;
26 /**
27 * Dummy first sentence to suppress breakiterator warning.
28 * <p>
29 *
30 * Case 0 Actual: <A HREF=".">.</A> Current directory
31 * <p>
32 *
33 * Sub-test 1 Actual: <A HREF="{@docroot}">{@docroot}</A> Bare tag - ALL LOWERCASE <br>
34 * Sub-test 1 Expect: <A HREF=""></A> <br>
35 * (Expect empty string because lowercase docroot is illegal)
36 * <p>
37 *
38 * Sub-test 2 Actual: <A HREF="{@docRoot}">{@docRoot}</A> Bare tag - "R" UPPERCASE <br>
39 * Sub-test 2 Expect: <A HREF="..">..</A>
40 * <p>
41 *
42 * Sub-test 3 Actual: <A HREF="{@docRoot}/package-list">{@docRoot}/package-list</A> <br>
43 * Sub-test 3 Expect: <A HREF="../package-list">../package-list</A>
44 * <p>
45 *
46 * Sub-test 4 Actual: <A HREF="{@docRoot}/p2/C2.html">{@docRoot}/p2/C2.html</A> <br>
47 * Sub-test 4 Expect: <A HREF="../p2/C2.html">../p2/C2.html</A>
48 * <p>
49 *
50 * Sub-test 5 Actual: <A HREF="{@docRoot}/../docs1/p2/C2.html">{@docRoot}/../docs1/p2/C2.html</A> <br>
51 * Sub-test 5 Expect: <A HREF="../../docs1/p2/C2.html">../../docs1/p2/C2.html</A>
52 * <p>
53 *
54 * Sub-test 6 Actual: <A HREF="{@docRoot}/p2/package-summary.html#package_description">{@docRoot}/p2/package-summary.html#package_description</A> <br>
55 * Sub-test 6 Expect: <A HREF="../p2/package-summary.html#package_description">../p2/package-summary.html#package_description</A>
56 * <p>
57 *
58 * Sub-test 7 Actual: <A HREF="{@docRoot}/../docs1/p2/package-summary.html#package_description">{@docRoot}/../docs1/p2/package-summary.html#package_description</A> <br>
59 * Sub-test 7 Expect: <A HREF="../../docs1/p2/package-summary.html#package_description">../../docs1/p2/package-summary.html#package_description</A>
60 * <p>
61 *
62 * <!-- ----------------------------------------------------- -->
63 *
64 * Allow docRoot to work without a trailing slash for those who had to change their comments
65 * to work with the 1.4.0 bug:
66 * <p>
67 *
68 * Sub-test 8 Actual: <A HREF="{@docRoot}p2/C2.html">{@docRoot}p2/C2.html</A> <br>
69 * Sub-test 8 Expect: <A HREF="..p2/C2.html">../p2/C2.html</A>
70 * <p>
71 *
72 * Sub-test 9 Actual: <A HREF="{@docRoot}../docs1/p2/C2.html">{@docRoot}../docs1/p2/C2.html</A> <br>
73 * Sub-test 9 Expect: <A HREF="..../docs1/p2/C2.html">../../docs1/p2/C2.html</A>
74 * <p>
75 *
76 * Sub-test 10 Actual: <A HREF="{@docRoot}p2/package-summary.html#package_description">{@docRoot}/p2/package-summary.html#package_description</A> <br>
77 * Sub-test 10 Expect: <A HREF="..p2/package-summary.html#package_description">../p2/package-summary.html#package_description#package_description</A>
78 * <p>
79 *
80 * Sub-test 11 Actual: <A HREF="{@docRoot}../docs1/p2/package-summary.html#package_description">{@docRoot}/../docs1/p2/package-summary.html#package_description</A> <br>
81 * Sub-test 11 Expect: <A HREF="..../docs1/p2/package-summary.html#package_description">../../docs1/p2/package-summary.html#package_description</A>
82 *
83 */
84 public class C1 {
85 }