jdk-24/test/langtools/tools/doclint/tidy/UnescapedOrUnknownEntity.java
Jonathan Gibbons f765a7f513 8252712: move doclint to jdk.javadoc module
Reviewed-by: hannesw
2020-09-23 19:55:08 +00:00

21 lines
524 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8004832
* @summary Add new doclint package
* @library ..
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
* @build DocLintTester
* @run main DocLintTester -ref UnescapedOrUnknownEntity.out UnescapedOrUnknownEntity.java
*/
// tidy: Warning: unescaped & or unknown entity ".*"
// tidy: Warning: unescaped & which should be written as &
// tidy: Warning: entity ".*" doesn't end in ';'
/**
* L&F
* Drag&Drop
* if (a & b);
*/
public class UnescapedOrUnknownEntity { }