mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8280534: Enable compile-time doclint reference checking
Reviewed-by: serb, naoto, mchung, lancea, iris
This commit is contained in:
parent
4191b2b9b9
commit
4dbebb62aa
21 changed files with 28 additions and 7 deletions
|
@ -73,6 +73,7 @@ package java.util;
|
|||
* {@link java.util.concurrent.Flow} API.
|
||||
*/
|
||||
@Deprecated(since="9")
|
||||
@SuppressWarnings("doclint:reference") // cross-module links
|
||||
public class Observable {
|
||||
private boolean changed = false;
|
||||
private Vector<Observer> obs;
|
||||
|
|
|
@ -1647,6 +1647,7 @@ public final class ServiceLoader<S>
|
|||
* @revised 9
|
||||
*/
|
||||
@CallerSensitive
|
||||
@SuppressWarnings("doclint:reference") // cross-module links
|
||||
public static <S> ServiceLoader<S> load(Class<S> service,
|
||||
ClassLoader loader)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue