< prev index next >

src/java.management/share/classes/sun/management/LockInfoCompositeData.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2012, 2018, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2012, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 36,45 **** --- 36,46 ---- * A CompositeData for LockInfo for the local management support. * This class avoids the performance penalty paid to the * construction of a CompositeData use in the local case. */ public class LockInfoCompositeData extends LazyCompositeData { + @SuppressWarnings("serial") // Not statically typed as Serializable private final LockInfo lock; private LockInfoCompositeData(LockInfo li) { this.lock = li; }
< prev index next >