mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8274391: Suppress more warnings on non-serializable non-transient instance fields in java.util.concurrent
Reviewed-by: lancea, bpb, alanb, iris
This commit is contained in:
parent
6a477bda85
commit
2072bc77b4
2 changed files with 2 additions and 1 deletions
|
@ -1444,8 +1444,8 @@ public abstract class ForkJoinTask<V> implements Future<V>, Serializable {
|
|||
implements RunnableFuture<T> {
|
||||
@SuppressWarnings("serial") // Conditionally serializable
|
||||
final Callable<? extends T> callable;
|
||||
@SuppressWarnings("serial") // Conditionally serializable
|
||||
transient volatile Thread runner;
|
||||
@SuppressWarnings("serial") // Conditionally serializable
|
||||
T result;
|
||||
AdaptedInterruptibleCallable(Callable<? extends T> callable) {
|
||||
if (callable == null) throw new NullPointerException();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue