Mercurial > hg > openjdk > jdk9 > langtools
view test/tools/doclint/ProvidesTest.java @ 4124:f260f1a2acf6 jdk-9+167
8176327: javac produces wrong module-info
8178518: Add method JavaFileManager.contains
Reviewed-by: jlahoda
author | jjg |
---|---|
date | Mon, 24 Apr 2017 14:59:43 -0700 |
parents | 209b0eab0e1f |
children |
line wrap: on
line source
/* * @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 ProvidesTest.out ProvidesTest.java */ /** * Invalid use of provides in class documentation. * * @provides NotFound */ public class ProvidesTest { /** * Invalid use of provides in field documentation * * @provides NotFound Test description. */ public int invalid_param; /** * Invalid use of provides in method documentation * * @provides NotFound Test description. */ public class InvalidParam { } }