8039022: Fix serial lint warnings in sun.tools.java

8039027: Fix serial lint warnings in jconsole and jstat
8039038: Fix serial lint warnings in com.sun.jmx.snmp

Reviewed-by: alanb, lancea, dfuchs
This commit is contained in:
Joe Darcy 2014-04-02 21:38:45 -07:00
parent 5cc2862287
commit a0c0ddf149
26 changed files with 52 additions and 36 deletions

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -45,7 +45,7 @@ import java.util.*;
* <p><b>This API is a Sun Microsystems internal API and is subject * <p><b>This API is a Sun Microsystems internal API and is subject
* to change without notice.</b></p> * to change without notice.</b></p>
*/ */
@SuppressWarnings("serial") // JDK implementation class
abstract public class Enumerated implements Serializable { abstract public class Enumerated implements Serializable {
/** /**

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -44,6 +44,7 @@ import static com.sun.jmx.defaults.JmxProperties.SNMP_LOGGER;
* The class defines an abstract representation of a host. * The class defines an abstract representation of a host.
* *
*/ */
@SuppressWarnings("serial") // JDK implementation class
abstract class Host extends SimpleNode implements Serializable { abstract class Host extends SimpleNode implements Serializable {
public Host(int id) { public Host(int id) {

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -45,6 +45,7 @@ import java.net.InetAddress;
* *
* @since 1.5 * @since 1.5
*/ */
@SuppressWarnings("serial") // JDK implementation class
public abstract class SnmpPdu implements SnmpDefinitions, Serializable { public abstract class SnmpPdu implements SnmpDefinitions, Serializable {
/** /**

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -47,6 +47,7 @@ import com.sun.jmx.snmp.SnmpDefinitions;
* *
* @since 1.5 * @since 1.5
*/ */
@SuppressWarnings("serial") // JDK implementation class
public abstract class SnmpScopedPduPacket extends SnmpPdu public abstract class SnmpScopedPduPacket extends SnmpPdu
implements Serializable { implements Serializable {
/** /**

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -34,7 +34,7 @@ package com.sun.jmx.snmp;
* <p><b>This API is a Sun Microsystems internal API and is subject * <p><b>This API is a Sun Microsystems internal API and is subject
* to change without notice.</b></p> * to change without notice.</b></p>
*/ */
@SuppressWarnings("serial") // JDK implementation class
public abstract class SnmpUnsignedInt extends SnmpInt { public abstract class SnmpUnsignedInt extends SnmpInt {
/** /**

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -38,7 +38,7 @@ import java.io.Serializable;
* <p><b>This API is a Sun Microsystems internal API and is subject * <p><b>This API is a Sun Microsystems internal API and is subject
* to change without notice.</b></p> * to change without notice.</b></p>
*/ */
@SuppressWarnings("serial") // JDK implementation class
public abstract class SnmpValue implements Cloneable, Serializable, SnmpDataTypeEnums { public abstract class SnmpValue implements Cloneable, Serializable, SnmpDataTypeEnums {
/** /**

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -59,6 +59,7 @@ import com.sun.jmx.snmp.SnmpStatusException;
* <p><b>This API is a Sun Microsystems internal API and is subject * <p><b>This API is a Sun Microsystems internal API and is subject
* to change without notice.</b></p> * to change without notice.</b></p>
*/ */
@SuppressWarnings("serial") // JDK implementation class
public abstract class SnmpMib extends SnmpMibAgent implements Serializable { public abstract class SnmpMib extends SnmpMibAgent implements Serializable {
/** /**

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -59,7 +59,7 @@ import com.sun.jmx.snmp.SnmpEngine;
* <p><b>This API is a Sun Microsystems internal API and is subject * <p><b>This API is a Sun Microsystems internal API and is subject
* to change without notice.</b></p> * to change without notice.</b></p>
*/ */
@SuppressWarnings("serial") // JDK implementation class
public abstract class SnmpMibAgent public abstract class SnmpMibAgent
implements SnmpMibAgentMBean, MBeanRegistration, Serializable { implements SnmpMibAgentMBean, MBeanRegistration, Serializable {

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -41,7 +41,7 @@ import com.sun.jmx.snmp.SnmpStatusException;
* <p><b>This API is a Sun Microsystems internal API and is subject * <p><b>This API is a Sun Microsystems internal API and is subject
* to change without notice.</b></p> * to change without notice.</b></p>
*/ */
@SuppressWarnings("serial") // JDK implementation class
public abstract class SnmpMibEntry extends SnmpMibNode public abstract class SnmpMibEntry extends SnmpMibNode
implements Serializable { implements Serializable {

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -49,7 +49,7 @@ import com.sun.jmx.snmp.SnmpStatusException;
* <p><b>This API is a Sun Microsystems internal API and is subject * <p><b>This API is a Sun Microsystems internal API and is subject
* to change without notice.</b></p> * to change without notice.</b></p>
*/ */
@SuppressWarnings("serial") // JDK implementation class
public abstract class SnmpMibGroup extends SnmpMibOid public abstract class SnmpMibGroup extends SnmpMibOid
implements Serializable { implements Serializable {

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -53,7 +53,7 @@ import com.sun.jmx.snmp.SnmpStatusException;
* <p><b>This API is a Sun Microsystems internal API and is subject * <p><b>This API is a Sun Microsystems internal API and is subject
* to change without notice.</b></p> * to change without notice.</b></p>
*/ */
@SuppressWarnings("serial") // JDK implementation class
public abstract class SnmpMibNode implements Serializable { public abstract class SnmpMibNode implements Serializable {
// --------------------------------------------------------------------- // ---------------------------------------------------------------------

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -84,7 +84,7 @@ import com.sun.jmx.snmp.SnmpVarBind;
* @see com.sun.jmx.snmp.agent.SnmpTableSupport * @see com.sun.jmx.snmp.agent.SnmpTableSupport
* *
*/ */
@SuppressWarnings("serial") // JDK implementation class
public abstract class SnmpMibTable extends SnmpMibNode public abstract class SnmpMibTable extends SnmpMibNode
implements NotificationBroadcaster, Serializable { implements NotificationBroadcaster, Serializable {

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -80,6 +80,7 @@ import com.sun.jmx.snmp.SnmpStatusException;
* @see com.sun.jmx.snmp.agent.SnmpMibTable * @see com.sun.jmx.snmp.agent.SnmpMibTable
* *
*/ */
@SuppressWarnings("serial") // JDK implementation class
public abstract class SnmpTableSupport implements SnmpTableEntryFactory, public abstract class SnmpTableSupport implements SnmpTableEntryFactory,
// NPCTE fix for bugId 4499265, esc 0, MR 04 sept 2001 // NPCTE fix for bugId 4499265, esc 0, MR 04 sept 2001
// SnmpTableCallbackHandler { // SnmpTableCallbackHandler {

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -43,6 +43,7 @@ import java.lang.ref.WeakReference;
* <p><b>NOTE: This class is not synchronized, subclasses must implement * <p><b>NOTE: This class is not synchronized, subclasses must implement
* the appropriate synchronization whwn needed.</b></p> * the appropriate synchronization whwn needed.</b></p>
**/ **/
@SuppressWarnings("serial") // JDK implementation class
public abstract class SnmpListTableCache extends SnmpTableCache { public abstract class SnmpListTableCache extends SnmpTableCache {

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -49,6 +49,7 @@ import java.lang.ref.WeakReference;
* <p><b>NOTE: This class is not synchronized, subclasses must implement * <p><b>NOTE: This class is not synchronized, subclasses must implement
* the appropriate synchronization whwn needed.</b></p> * the appropriate synchronization whwn needed.</b></p>
**/ **/
@SuppressWarnings("serial") // JDK implementation class
public abstract class SnmpNamedListTableCache extends SnmpListTableCache { public abstract class SnmpNamedListTableCache extends SnmpListTableCache {
/** /**

View File

@ -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. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -45,6 +45,7 @@ import java.lang.ref.WeakReference;
* <p><b>NOTE: This class is not synchronized, subclasses must implement * <p><b>NOTE: This class is not synchronized, subclasses must implement
* the appropriate synchronization when needed.</b></p> * the appropriate synchronization when needed.</b></p>
**/ **/
@SuppressWarnings("serial") // JDK implementation class
public abstract class SnmpTableCache implements Serializable { public abstract class SnmpTableCache implements Serializable {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1994, 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1994, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -34,6 +34,7 @@ package sun.tools.java;
* they are subject to change or removal without notice. * they are subject to change or removal without notice.
*/ */
@SuppressWarnings("serial") // JDK implementation class
public public
class AmbiguousClass extends ClassNotFound { class AmbiguousClass extends ClassNotFound {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1994, 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1994, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -35,6 +35,7 @@ import java.util.Enumeration;
* supported API. Code that depends on them does so at its own risk: * supported API. Code that depends on them does so at its own risk:
* they are subject to change or removal without notice. * they are subject to change or removal without notice.
*/ */
@SuppressWarnings("serial") // JDK implementation class
public public
class AmbiguousMember extends Exception { class AmbiguousMember extends Exception {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1994, 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1994, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,6 +33,7 @@ package sun.tools.java;
* supported API. Code that depends on them does so at its own risk: * supported API. Code that depends on them does so at its own risk:
* they are subject to change or removal without notice. * they are subject to change or removal without notice.
*/ */
@SuppressWarnings("serial") // JDK implementation class
public public
class ClassNotFound extends Exception { class ClassNotFound extends Exception {
/** /**

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1994, 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1994, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -32,7 +32,7 @@ package sun.tools.java;
* supported API. Code that depends on them does so at its own risk: * supported API. Code that depends on them does so at its own risk:
* they are subject to change or removal without notice. * they are subject to change or removal without notice.
*/ */
@SuppressWarnings("serial") // JDK implementation class
public public
class CompilerError extends Error { class CompilerError extends Error {
Throwable e; Throwable e;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1994, 2003, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1994, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,7 +33,7 @@ package sun.tools.java;
* supported API. Code that depends on them does so at its own risk: * supported API. Code that depends on them does so at its own risk:
* they are subject to change or removal without notice. * they are subject to change or removal without notice.
*/ */
@SuppressWarnings("serial") // JDK implementation class
public public
class SyntaxError extends Exception { class SyntaxError extends Exception {
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -28,6 +28,7 @@ package sun.tools.jconsole;
import java.awt.*; import java.awt.*;
import javax.swing.*; import javax.swing.*;
@SuppressWarnings("serial") // JDK implementation class
public abstract class Tab extends JPanel { public abstract class Tab extends JPanel {
private String name; private String name;
private Worker worker; private Worker worker;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -39,6 +39,7 @@ import sun.tools.jconsole.MBeansTab;
import sun.tools.jconsole.JConsole; import sun.tools.jconsole.JConsole;
import sun.tools.jconsole.Messages; import sun.tools.jconsole.Messages;
@SuppressWarnings("serial") // JDK implementation class
public abstract class XOperations extends JPanel implements ActionListener { public abstract class XOperations extends JPanel implements ActionListener {
public final static String OPERATION_INVOCATION_EVENT = public final static String OPERATION_INVOCATION_EVENT =

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -33,6 +33,7 @@ import javax.swing.table.DefaultTableCellRenderer;
import javax.swing.table.DefaultTableModel; import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableCellRenderer; import javax.swing.table.TableCellRenderer;
@SuppressWarnings("serial") // JDK implementation class
public abstract class XTable extends JTable { public abstract class XTable extends JTable {
static final int NAME_COLUMN = 0; static final int NAME_COLUMN = 0;
static final int VALUE_COLUMN = 1; static final int VALUE_COLUMN = 1;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -31,6 +31,7 @@ package sun.tools.jstat;
* @author Brian Doherty * @author Brian Doherty
* @since 1.5 * @since 1.5
*/ */
@SuppressWarnings("serial") // JDK implementation class
public class ParserException extends Exception { public class ParserException extends Exception {
public ParserException() { public ParserException() {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,6 +36,7 @@ import java.util.Iterator;
* @author Brian Doherty * @author Brian Doherty
* @since 1.5 * @since 1.5
*/ */
@SuppressWarnings("serial") // JDK implementation class
public class SyntaxException extends ParserException { public class SyntaxException extends ParserException {
private String message; private String message;