mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8231202: Suppress warnings on non-serializable non-transient instance fields in serializable classes
Reviewed-by: rriggs, chegar
This commit is contained in:
parent
fbb4093562
commit
3c9b6d8554
18 changed files with 86 additions and 6 deletions
|
@ -111,6 +111,7 @@ public class PriorityQueue<E> extends AbstractQueue<E>
|
|||
* The comparator, or null if priority queue uses elements'
|
||||
* natural ordering.
|
||||
*/
|
||||
@SuppressWarnings("serial") // Conditionally serializable
|
||||
private final Comparator<? super E> comparator;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue