--- old/src/java.management/share/classes/sun/management/counter/perf/PerfByteArrayCounter.java 2019-10-16 19:12:48.961961838 -0700 +++ new/src/java.management/share/classes/sun/management/counter/perf/PerfByteArrayCounter.java 2019-10-16 19:12:48.725961838 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2019, 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 @@ -31,6 +31,7 @@ public class PerfByteArrayCounter extends AbstractCounter implements ByteArrayCounter { + @SuppressWarnings("serial") // Value indirectly copied as a byte[] in writeReplace ByteBuffer bb; PerfByteArrayCounter(String name, Units u, Variability v,