mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
This commit is contained in:
parent
270fe13182
commit
3789983e89
56923 changed files with 3 additions and 15727 deletions
67
test/langtools/tools/doclint/ReferenceTest.java
Normal file
67
test/langtools/tools/doclint/ReferenceTest.java
Normal file
|
@ -0,0 +1,67 @@
|
|||
/*
|
||||
* @test /nodynamiccopyright/
|
||||
* @bug 8004832 8020556 8002154
|
||||
* @summary Add new doclint package
|
||||
* @modules jdk.compiler/com.sun.tools.doclint
|
||||
* @build DocLintTester
|
||||
* @run main DocLintTester -Xmsgs:-reference ReferenceTest.java
|
||||
* @run main DocLintTester -ref ReferenceTest.out ReferenceTest.java
|
||||
*/
|
||||
|
||||
/** */
|
||||
public class ReferenceTest {
|
||||
/**
|
||||
* @param x description
|
||||
*/
|
||||
public int invalid_param;
|
||||
|
||||
/**
|
||||
* @param x description
|
||||
*/
|
||||
public class InvalidParam { }
|
||||
|
||||
/**
|
||||
* @param x description
|
||||
*/
|
||||
public void param_name_not_found(int a) { }
|
||||
|
||||
/**
|
||||
* @param <X> description
|
||||
*/
|
||||
public class typaram_name_not_found { }
|
||||
|
||||
/**
|
||||
* @see Object#tooStrong()
|
||||
*/
|
||||
public void ref_not_found() { }
|
||||
|
||||
/**
|
||||
* @return x description
|
||||
*/
|
||||
public int invalid_return;
|
||||
|
||||
/**
|
||||
* @return x description
|
||||
*/
|
||||
public void invalid_return();
|
||||
|
||||
/**
|
||||
* @throws Exception description
|
||||
*/
|
||||
public void exception_not_thrown() { }
|
||||
|
||||
/**
|
||||
* @param <T> throwable
|
||||
* @throws T description
|
||||
*/
|
||||
public <T extends Throwable> void valid_throws_generic() throws T { }
|
||||
|
||||
/**
|
||||
* {@link java.util.List<String>}
|
||||
* {@link java.util.List<String>#equals}
|
||||
* @see java.util.List<String>
|
||||
* @see java.util.List<String>#equals
|
||||
*/
|
||||
public void invalid_type_args() { }
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue