8275688: Suppress warnings on non-serializable non-transient instance fields in DualPivotQuicksort
Reviewed-by: rriggs
This commit is contained in:
parent
3cb241a91f
commit
0761a4b915
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2009, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2009, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -3997,6 +3997,7 @@ final class DualPivotQuicksort {
|
||||
*/
|
||||
private static final class Sorter extends CountedCompleter<Void> {
|
||||
private static final long serialVersionUID = 20180818L;
|
||||
@SuppressWarnings("serial")
|
||||
private final Object a, b;
|
||||
private final int low, size, offset, depth;
|
||||
|
||||
@ -4066,6 +4067,7 @@ final class DualPivotQuicksort {
|
||||
*/
|
||||
private static final class Merger extends CountedCompleter<Void> {
|
||||
private static final long serialVersionUID = 20180818L;
|
||||
@SuppressWarnings("serial")
|
||||
private final Object dst, a1, a2;
|
||||
private final int k, lo1, hi1, lo2, hi2;
|
||||
|
||||
@ -4115,6 +4117,7 @@ final class DualPivotQuicksort {
|
||||
*/
|
||||
private static final class RunMerger extends RecursiveTask<Object> {
|
||||
private static final long serialVersionUID = 20180818L;
|
||||
@SuppressWarnings("serial")
|
||||
private final Object a, b;
|
||||
private final int[] run;
|
||||
private final int offset, aim, lo, hi;
|
||||
|
Loading…
Reference in New Issue
Block a user