Thu, 15 Jul 2010 16:31:02 +0100
6967002: JDK7 b99 javac compilation error (java.lang.AssertionError)
Summary: bug in JavacParser related to parsing of type annotations in varargs position
Reviewed-by: jjg
Contributed-by: mahmood@notnoop.com
1 <HTML>
2 <HEAD>
3 </HEAD>
5 <BODY>
7 Dummy first sentence to suppress BreakIterator warning.
8 <p>
10 Case 0 Actual: <A HREF=".">.</A> Current directory
11 <p>
12 Sub-test 23 Actual: <A HREF="{@docroot}">{@docroot}</A> Bare tag - ALL LOWERCASE <br>
13 Sub-test 23 Expect: <A HREF=""></A> <br>
14 (Expect empty string because lowercase docroot is illegal)
15 <p>
17 Sub-test 24 Actual: <A HREF="{@docRoot}">{@docRoot}</A> Bare tag - "R" UPPERCASE <br>
18 Sub-test 24 Expect: <A HREF=".">.</A>
19 <p>
21 Sub-test 25 Actual: <A HREF="{@docRoot}/package-list">{@docRoot}/package-list</A> <br>
22 Sub-test 25 Expect: <A HREF="./package-list">./package-list</A>
23 <p>
25 Sub-test 26 Actual: <A HREF="{@docRoot}/p2/C2.html">{@docRoot}/p2/C2.html</A> <br>
26 Sub-test 26 Expect: <A HREF="./p2/C2.html">./p2/C2.html</A>
27 <p>
29 Sub-test 27 Actual: <A HREF="{@docRoot}/../docs1/p2/C2.html">{@docRoot}/../docs1/p2/C2.html</A> <br>
30 Sub-test 27 Expect: <A HREF="./../docs1/p2/C2.html">./../docs1/p2/C2.html</A>
31 <p>
33 Sub-test 28 Actual: <A HREF="{@docRoot}/p2/package-summary.html#package_description">{@docRoot}/p2/package-summary.html#package_description</A> <br>
34 Sub-test 28 Expect: <A HREF="./p2/package-summary.html#package_description">./p2/package-summary.html#package_description</A>
35 <p>
37 Sub-test 29 Actual: <A HREF="{@docRoot}/../docs1/p2/package-summary.html#package_description">{@docRoot}/../docs1/p2/package-summary.html#package_description</A> <br>
38 Sub-test 29 Expect: <A HREF="./../docs1/p2/package-summary.html#package_description">./../docs1/p2/package-summary.html#package_description</A>
39 <p>
41 <!-- ----------------------------------------------- -->
43 Allow docRoot to work without a trailing slash for those who had to change their comments
44 to work with the 1.4.0 bug:
45 <p>
47 Sub-test 30 Actual: <A HREF="{@docRoot}p2/C2.html">{@docRoot}p2/C2.html</A> <br>
48 Sub-test 30 Expect: <A HREF=".p2/C2.html">./p2/C2.html</A>
49 <p>
51 Sub-test 31 Actual: <A HREF="{@docRoot}../docs1/p2/C2.html">{@docRoot}../docs1/p2/C2.html</A> <br>
52 Sub-test 31 Expect: <A HREF=".../docs1/p2/C2.html">./../docs1/p2/C2.html</A>
53 <p>
55 Sub-test 32 Actual: <A HREF="{@docRoot}p2/package-summary.html#package_description">{@docRoot}/p2/package-summary.html#package_description</A> <br>
56 Sub-test 32 Expect: <A HREF=".p2/package-summary.html#package_description">./p2/package-summary.html#package_description</A>
58 <p>
59 Sub-test 33 Actual: <A HREF="{@docRoot}../docs1/p2/package-summary.html#package_description">{@docRoot}/../docs1/p2/package-summary.html#package_description</A> <br>
60 Sub-test 33 Expect: <A HREF=".../docs1/p2/package-summary.html#package_description">./../docs1/p2/package-summary.html#package_description</A>
61 <p>
64 Bonus links, not part of automated test (bug 4662945):<br>
65 Actual: <A HREF="{@docRoot}p1/package-summary.html#package_description">package description</a> {@docRoot}p1/packagesummary#package_description</A> <br>
67 Actual: <A HREF="{@docRoot}/p1/package-summary.html#package_description">package description</A> {@docRoot}/p1/package-summary.html#package_description <br>
69 Expect: <A HREF="./p1/package-summary.html#package_description">./p1/package-summary.html#package description</a>
71 </BODY>
72 </HTML>