2016-12-16 17:07:57 +00:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 8160196
|
|
|
|
* @summary Module summary page should display information based on "api" or "detail" mode.
|
2020-09-23 19:55:08 +00:00
|
|
|
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
|
2016-12-16 17:07:57 +00:00
|
|
|
* @build DocLintTester
|
2021-08-11 18:03:40 +00:00
|
|
|
* @run main DocLintTester -Xmsgs:all,-missing -ref UsesTest.out UsesTest.java
|
2016-12-16 17:07:57 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Invalid use of uses in class documentation.
|
|
|
|
*
|
2017-04-24 21:59:43 +00:00
|
|
|
* @uses NotFound
|
2016-12-16 17:07:57 +00:00
|
|
|
*/
|
|
|
|
public class UsesTest {
|
|
|
|
/**
|
|
|
|
* Invalid use of uses in field documentation
|
|
|
|
*
|
2017-04-24 21:59:43 +00:00
|
|
|
* @uses NotFound Test description.
|
2016-12-16 17:07:57 +00:00
|
|
|
*/
|
|
|
|
public int invalid_param;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Invalid use of uses in method documentation
|
|
|
|
*
|
2017-04-24 21:59:43 +00:00
|
|
|
* @uses NotFound Test description.
|
2016-12-16 17:07:57 +00:00
|
|
|
*/
|
|
|
|
public class InvalidParam { }
|
|
|
|
}
|