JDK 9 RFR of JDK-8039038: Fix serial lint warnings in com.sun.jmx.snmp (original) (raw)
Daniel Fuchs daniel.fuchs at oracle.com
Wed Apr 2 09:04:49 UTC 2014
- Previous message: JDK 9 RFR of JDK-8039038: Fix serial lint warnings in com.sun.jmx.snmp
- Next message: JDK 9 RFR of JDK-8039038: Fix serial lint warnings in com.sun.jmx.snmp
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 4/2/14 8:39 AM, Joe Darcy wrote:
Hello,
fingers crossed The patch below should be the last change needed to fully clear the JDK 9 jdk repo of serialization warnings.
Looks good Joe!
best regards,
-- daniel
Thanks, -Joe diff -r b6997dd0667e src/share/classes/com/sun/jmx/snmp/Enumerated.java --- a/src/share/classes/com/sun/jmx/snmp/Enumerated.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/com/sun/jmx/snmp/Enumerated.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2014, 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 @@ -45,7 +45,7 @@ *
*/ - + at SuppressWarnings("serial") // JDK implementation class abstract public class Enumerated implements Serializable { /** diff -r b6997dd0667e src/share/classes/com/sun/jmx/snmp/IPAcl/Host.java --- a/src/share/classes/com/sun/jmx/snmp/IPAcl/Host.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/com/sun/jmx/snmp/IPAcl/Host.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2014, 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 @@ -44,6 +44,7 @@ * The class defines an abstract representation of a host. * */ + at SuppressWarnings("serial") // JDK implementation class abstract class Host extends SimpleNode implements Serializable { public Host(int id) { diff -r b6997dd0667e src/share/classes/com/sun/jmx/snmp/SnmpPdu.java --- a/src/share/classes/com/sun/jmx/snmp/SnmpPdu.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/com/sun/jmx/snmp/SnmpPdu.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2014, 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 @@ -45,6 +45,7 @@ * * @since 1.5 */ + at SuppressWarnings("serial") // JDK implementation class public abstract class SnmpPdu implements SnmpDefinitions, Serializable { /** diff -r b6997dd0667e src/share/classes/com/sun/jmx/snmp/SnmpScopedPduPacket.java --- a/src/share/classes/com/sun/jmx/snmp/SnmpScopedPduPacket.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/com/sun/jmx/snmp/SnmpScopedPduPacket.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2014, 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 @@ -47,6 +47,7 @@ * * @since 1.5 */ + at SuppressWarnings("serial") // JDK implementation class public abstract class SnmpScopedPduPacket extends SnmpPdu implements Serializable { /** diff -r b6997dd0667e src/share/classes/com/sun/jmx/snmp/SnmpUnsignedInt.java --- a/src/share/classes/com/sun/jmx/snmp/SnmpUnsignedInt.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/com/sun/jmx/snmp/SnmpUnsignedInt.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2014, 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 @@ -34,7 +34,7 @@ *This API is a Sun Microsystems internal API and is subject
* to change without notice.This API is a Sun Microsystems internal API and is subject
* to change without notice. */ - + at SuppressWarnings("serial") // JDK implementation class public abstract class SnmpUnsignedInt extends SnmpInt { /** diff -r b6997dd0667e src/share/classes/com/sun/jmx/snmp/SnmpValue.java --- a/src/share/classes/com/sun/jmx/snmp/SnmpValue.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/com/sun/jmx/snmp/SnmpValue.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2014, 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 @@ -38,7 +38,7 @@ *This API is a Sun Microsystems internal API and is subject
* to change without notice. */ - + at SuppressWarnings("serial") // JDK implementation class public abstract class SnmpValue implements Cloneable, Serializable, SnmpDataTypeEnums { /** diff -r b6997dd0667e src/share/classes/com/sun/jmx/snmp/agent/SnmpMib.java --- a/src/share/classes/com/sun/jmx/snmp/agent/SnmpMib.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/com/sun/jmx/snmp/agent/SnmpMib.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2014, 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 @@ -59,6 +59,7 @@ *This API is a Sun Microsystems internal API and is subject
* to change without notice. */ + at SuppressWarnings("serial") // JDK implementation class public abstract class SnmpMib extends SnmpMibAgent implements Serializable { /** diff -r b6997dd0667e src/share/classes/com/sun/jmx/snmp/agent/SnmpMibAgent.java --- a/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibAgent.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibAgent.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2014, 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 @@ -59,7 +59,7 @@ *This API is a Sun Microsystems internal API and is subject
* to change without notice. */ - + at SuppressWarnings("serial") // JDK implementation class public abstract class SnmpMibAgent implements SnmpMibAgentMBean, MBeanRegistration, Serializable { diff -r b6997dd0667e src/share/classes/com/sun/jmx/snmp/agent/SnmpMibEntry.java --- a/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibEntry.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibEntry.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2014, 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 @@ -41,7 +41,7 @@ *This API is a Sun Microsystems internal API and is subject
* to change without notice. */ - + at SuppressWarnings("serial") // JDK implementation class public abstract class SnmpMibEntry extends SnmpMibNode implements Serializable { diff -r b6997dd0667e src/share/classes/com/sun/jmx/snmp/agent/SnmpMibGroup.java --- a/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibGroup.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibGroup.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2014, 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 @@ -49,7 +49,7 @@ *This API is a Sun Microsystems internal API and is subject
* to change without notice. */ - + at SuppressWarnings("serial") // JDK implementation class public abstract class SnmpMibGroup extends SnmpMibOid implements Serializable { diff -r b6997dd0667e src/share/classes/com/sun/jmx/snmp/agent/SnmpMibNode.java --- a/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibNode.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibNode.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2014, 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 @@ -53,7 +53,7 @@ *This API is a Sun Microsystems internal API and is subject
* to change without notice. */ - + at SuppressWarnings("serial") // JDK implementation class public abstract class SnmpMibNode implements Serializable { // --------------------------------------------------------------------- diff -r b6997dd0667e src/share/classes/com/sun/jmx/snmp/agent/SnmpMibTable.java --- a/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibTable.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/com/sun/jmx/snmp/agent/SnmpMibTable.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2014, 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 @@ -84,7 +84,7 @@ * @see com.sun.jmx.snmp.agent.SnmpTableSupport * */ - + at SuppressWarnings("serial") // JDK implementation class public abstract class SnmpMibTable extends SnmpMibNode implements NotificationBroadcaster, Serializable { diff -r b6997dd0667e src/share/classes/com/sun/jmx/snmp/agent/SnmpTableSupport.java --- a/src/share/classes/com/sun/jmx/snmp/agent/SnmpTableSupport.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/com/sun/jmx/snmp/agent/SnmpTableSupport.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2000, 2014, 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 @@ -80,6 +80,7 @@ * @see com.sun.jmx.snmp.agent.SnmpMibTable * */ + at SuppressWarnings("serial") // JDK implementation class public abstract class SnmpTableSupport implements SnmpTableEntryFactory, // NPCTE fix for bugId 4499265, esc 0, MR 04 sept 2001 // SnmpTableCallbackHandler { diff -r b6997dd0667e src/share/classes/sun/management/snmp/util/SnmpListTableCache.java --- a/src/share/classes/sun/management/snmp/util/SnmpListTableCache.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/sun/management/snmp/util/SnmpListTableCache.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2014, 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 @@ -43,6 +43,7 @@ *NOTE: This class is not synchronized, subclasses must implement
* the appropriate synchronization whwn needed. **/ + at SuppressWarnings("serial") // JDK implementation class public abstract class SnmpListTableCache extends SnmpTableCache {diff -r b6997dd0667e src/share/classes/sun/management/snmp/util/SnmpNamedListTableCache.java --- a/src/share/classes/sun/management/snmp/util/SnmpNamedListTableCache.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/sun/management/snmp/util/SnmpNamedListTableCache.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2014, 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 @@ -49,6 +49,7 @@ *
**/ + at SuppressWarnings("serial") // JDK implementation class public abstract class SnmpNamedListTableCache extends SnmpListTableCache { /** diff -r b6997dd0667e src/share/classes/sun/management/snmp/util/SnmpTableCache.java --- a/src/share/classes/sun/management/snmp/util/SnmpTableCache.java Tue Apr 01 09:12:51 2014 -0700 +++ b/src/share/classes/sun/management/snmp/util/SnmpTableCache.java Tue Apr 01 23:36:42 2014 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2014, 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 @@ -45,6 +45,7 @@ *NOTE: This class is not synchronized, subclasses must implement
* the appropriate synchronization whwn needed.NOTE: This class is not synchronized, subclasses must implement
* the appropriate synchronization when needed. **/ + at SuppressWarnings("serial") // JDK implementation class public abstract class SnmpTableCache implements Serializable { /**
- Previous message: JDK 9 RFR of JDK-8039038: Fix serial lint warnings in com.sun.jmx.snmp
- Next message: JDK 9 RFR of JDK-8039038: Fix serial lint warnings in com.sun.jmx.snmp
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]