langtools/test/tools/doclint/LiteralTest.java
author joehw
Mon, 26 Aug 2013 21:08:58 -0700
changeset 22415 4e3bef0828af
parent 15366 545307ec740c
child 30730 d3ce7619db2c
permissions -rw-r--r--
8022935: Enhance Apache resolver classes Reviewed-by: alanb, mchung, skoivu

/*
 * @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() { }
}