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.
|
|
|
|
* @modules jdk.compiler/com.sun.tools.doclint
|
|
|
|
* @build DocLintTester
|
|
|
|
* @run main DocLintTester -ref UsesTest.out UsesTest.java
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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 { }
|
|
|
|
}
|