mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8006228: Doclint doesn't detect <code> {@code nested inline} </code>
Reviewed-by: darcy
This commit is contained in:
parent
e942cdde81
commit
7b493a180e
4 changed files with 22 additions and 1 deletions
16
langtools/test/tools/doclint/LiteralTest.java
Normal file
16
langtools/test/tools/doclint/LiteralTest.java
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* @test /nodynamiccopyright/
|
||||
* @bug 8006228
|
||||
* @summary Doclint doesn't detect <code> {@code nested inline} </code>
|
||||
* @build DocLintTester
|
||||
* @run main DocLintTester -ref LiteralTest.out LiteralTest.java
|
||||
*/
|
||||
|
||||
/** */
|
||||
public class LiteralTest {
|
||||
/** <code> abc {@literal < & > } def </code> */
|
||||
public void ok_literal_in_code() { }
|
||||
|
||||
/** <code> abc {@code < & > } def </code> */
|
||||
public void bad_code_in_code() { }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue