author | naoto |
Tue, 29 Mar 2016 17:06:33 -0700 | |
changeset 36739 | 145210aba850 |
parent 30730 | d3ce7619db2c |
permissions | -rw-r--r-- |
15366
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
1 |
/* |
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
2 |
* @test /nodynamiccopyright/ |
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
3 |
* @bug 8006228 |
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
4 |
* @summary Doclint doesn't detect <code> {@code nested inline} </code> |
30730
d3ce7619db2c
8076543: Add @modules as needed to the langtools tests
akulyakh
parents:
15366
diff
changeset
|
5 |
* @modules jdk.compiler/com.sun.tools.doclint |
15366
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
6 |
* @build DocLintTester |
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
7 |
* @run main DocLintTester -ref LiteralTest.out LiteralTest.java |
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
8 |
*/ |
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
9 |
|
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
10 |
/** */ |
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
11 |
public class LiteralTest { |
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
12 |
/** <code> abc {@literal < & > } def </code> */ |
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
13 |
public void ok_literal_in_code() { } |
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
14 |
|
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
15 |
/** <code> abc {@code < & > } def </code> */ |
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
16 |
public void bad_code_in_code() { } |
545307ec740c
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
jjg
parents:
diff
changeset
|
17 |
} |