mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8330954: since-checker - Fix remaining @ since tags in java.base
Reviewed-by: liach, naoto
This commit is contained in:
parent
3050ba0176
commit
f4fa35e28b
12 changed files with 69 additions and 4 deletions
|
@ -887,6 +887,9 @@ public abstract class ForkJoinTask<V> implements Future<V>, Serializable {
|
|||
return (status & (DONE | ABNORMAL)) == DONE;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 19
|
||||
*/
|
||||
@Override
|
||||
public State state() {
|
||||
int s = status;
|
||||
|
@ -896,6 +899,9 @@ public abstract class ForkJoinTask<V> implements Future<V>, Serializable {
|
|||
State.CANCELLED;
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 19
|
||||
*/
|
||||
@Override
|
||||
public V resultNow() {
|
||||
int s = status;
|
||||
|
@ -910,6 +916,9 @@ public abstract class ForkJoinTask<V> implements Future<V>, Serializable {
|
|||
return getRawResult();
|
||||
}
|
||||
|
||||
/**
|
||||
* @since 19
|
||||
*/
|
||||
@Override
|
||||
public Throwable exceptionNow() {
|
||||
Throwable ex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue