src/java.management/share/classes/sun/management/counter/perf/PerfByteArrayCounter.java
changeset 58766 54ffb15c4839
parent 47216 71c04702a3d5
--- a/src/java.management/share/classes/sun/management/counter/perf/PerfByteArrayCounter.java	Wed Oct 23 18:34:25 2019 +0200
+++ b/src/java.management/share/classes/sun/management/counter/perf/PerfByteArrayCounter.java	Wed Oct 23 13:01:40 2019 -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,