mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +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
|
@ -2778,6 +2778,7 @@ public class ForkJoinPool extends AbstractExecutorService {
|
|||
@SuppressWarnings("serial") // Conditionally serializable
|
||||
volatile E result;
|
||||
final AtomicInteger count; // in case all throw
|
||||
@SuppressWarnings("serial")
|
||||
final ForkJoinPool pool; // to check shutdown while collecting
|
||||
InvokeAnyRoot(int n, ForkJoinPool p) {
|
||||
pool = p;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue