ProvidesTest.java revision 3831:209b0eab0e1f
1/* 2 * @test /nodynamiccopyright/ 3 * @bug 8160196 4 * @summary Module summary page should display information based on "api" or "detail" mode. 5 * @modules jdk.compiler/com.sun.tools.doclint 6 * @build DocLintTester 7 * @run main DocLintTester -ref ProvidesTest.out ProvidesTest.java 8 */ 9 10/** 11 * Invalid use of provides in class documentation. 12 * 13 * @provides UsesTest 14 */ 15public class ProvidesTest { 16 /** 17 * Invalid use of provides in field documentation 18 * 19 * @provides UsesTest Test description. 20 */ 21 public int invalid_param; 22 23 /** 24 * Invalid use of provides in method documentation 25 * 26 * @provides UsesTest Test description. 27 */ 28 public class InvalidParam { } 29} 30