6976528: PS: assert(!limit_exceeded || softrefs_clear) failed: Should have been cleared
Reviewed-by: johnc
/*
* @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() { }
}