2013-01-17 04:41:14 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 8006228
|
|
|
|
* @summary Doclint doesn't detect <code> {@code nested inline} </code>
|
2020-09-23 19:55:08 +00:00
|
|
|
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
|
2013-01-17 04:41:14 +00:00
|
|
|
* @build DocLintTester
|
|
|
|
* @run main DocLintTester -ref LiteralTest.out LiteralTest.java
|
|
|
|
*/
|
|
|
|
|
2021-08-16 20:48:25 +00:00
|
|
|
/** . */
|
2013-01-17 04:41:14 +00:00
|
|
|
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() { }
|
2021-08-11 18:03:40 +00:00
|
|
|
|
2021-08-16 20:48:25 +00:00
|
|
|
/** . */
|
2021-08-11 18:03:40 +00:00
|
|
|
LiteralTest() { }
|
2013-01-17 04:41:14 +00:00
|
|
|
}
|