/* * @test /nodynamiccopyright/ * @bug 8006228 * @summary Doclint doesn't detect {@code nested inline} * @build DocLintTester * @run main DocLintTester -ref LiteralTest.out LiteralTest.java */ /** */ public class LiteralTest { /** abc {@literal < & > } def */ public void ok_literal_in_code() { } /** abc {@code < & > } def */ public void bad_code_in_code() { } }