mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
8232442: Suppress warnings on non-serializable non-transient instance fields in java.management.*
Reviewed-by: rriggs, mchung
This commit is contained in:
parent
36ac846d35
commit
d8240afe42
24 changed files with 62 additions and 25 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 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
|
||||
|
@ -46,6 +46,7 @@ import javax.management.openmbean.TabularType;
|
|||
public abstract class LazyCompositeData
|
||||
implements CompositeData, Serializable {
|
||||
|
||||
@SuppressWarnings("serial") // Not statically typed as Serializable
|
||||
private CompositeData compositeData;
|
||||
|
||||
// Implementation of the CompositeData interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue