jdk-24/test/langtools/tools/doclint/MultipleDocLintOptionsTest.java
Jan Lahoda 7b9d38622b 8198552: Multiple javac plugins do not work at the same time
Fixing handling of multiple -Xplugin, -Xdoclint: and -Xdoclint/packages: parameters.

Reviewed-by: jjg, vromero
2018-03-22 12:13:08 +01:00

13 lines
375 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8198552
* @summary Check that -Xdoclint: option can be specified multiple times
* @compile/fail/ref=MultipleDocLintOptionsTest.out -Xdoclint:html -Xdoclint:syntax -XDrawDiagnostics MultipleDocLintOptionsTest.java
*/
/** <html> */
public class MultipleDocLintOptionsTest {
/** @return */
int emptyReturn() { return -1; }
}