mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-27 05:42:24 +00:00
8381475: Test tools/sincechecker/modules/jdk.compiler/JdkCompilerCheckSince.java fails for DocSourcePositions.java
Reviewed-by: mikael
This commit is contained in:
parent
5e89669d18
commit
e05eb1418e
@ -83,6 +83,7 @@ public interface DocSourcePositions extends SourcePositions {
|
||||
* @param comment the comment tree that encloses the tree for which the
|
||||
* position is being sought
|
||||
* @param tree tree for which a position is sought
|
||||
* @since 27
|
||||
*/
|
||||
long getStartPosition(DocCommentTree comment, DocTree tree);
|
||||
|
||||
@ -146,6 +147,7 @@ public interface DocSourcePositions extends SourcePositions {
|
||||
* @param comment the comment tree that encloses the tree for which the
|
||||
* position is being sought
|
||||
* @param tree tree for which a position is sought
|
||||
* @since 27
|
||||
*/
|
||||
long getEndPosition(DocCommentTree comment, DocTree tree);
|
||||
|
||||
|
||||
@ -74,6 +74,7 @@ public interface SourcePositions {
|
||||
* </p>
|
||||
*
|
||||
* @param tree tree for which a position is sought
|
||||
* @since 27
|
||||
*/
|
||||
long getStartPosition(Tree tree);
|
||||
|
||||
@ -130,6 +131,7 @@ public interface SourcePositions {
|
||||
* </p>
|
||||
*
|
||||
* @param tree tree for which a position is sought
|
||||
* @since 27
|
||||
*/
|
||||
long getEndPosition(Tree tree);
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8341399
|
||||
* @bug 8341399 8381475
|
||||
* @summary Test for `@since` in jdk.compiler module
|
||||
* @library /test/lib /test/jdk/tools/sincechecker
|
||||
* @run main SinceChecker jdk.compiler
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user