ProvidesTest.java revision 4147:f260f1a2acf6
145296Sdfr/* 245296Sdfr * @test /nodynamiccopyright/ 345296Sdfr * @bug 8160196 445296Sdfr * @summary Module summary page should display information based on "api" or "detail" mode. 545296Sdfr * @modules jdk.compiler/com.sun.tools.doclint 645296Sdfr * @build DocLintTester 745296Sdfr * @run main DocLintTester -ref ProvidesTest.out ProvidesTest.java 845296Sdfr */ 945296Sdfr 1045296Sdfr/** 1145296Sdfr * Invalid use of provides in class documentation. 1245296Sdfr * 1345296Sdfr * @provides NotFound 1445296Sdfr */ 1545296Sdfrpublic class ProvidesTest { 1645296Sdfr /** 1745296Sdfr * Invalid use of provides in field documentation 1845296Sdfr * 1945296Sdfr * @provides NotFound Test description. 2045296Sdfr */ 2145296Sdfr public int invalid_param; 2245296Sdfr 2345296Sdfr /** 2445296Sdfr * Invalid use of provides in method documentation 2545296Sdfr * 2679754Sdd * @provides NotFound Test description. 2745296Sdfr */ 28233631Sjimharris public class InvalidParam { } 2945296Sdfr} 3079531Sru