8035453: Fix serial lint warnings in com.sun.tools and elsewhere
Reviewed-by: psandoz
This commit is contained in:
parent
657b9db1ba
commit
da7601aeec
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 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
|
||||
@ -25,6 +25,7 @@
|
||||
|
||||
package com.sun.java.browser.dom;
|
||||
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
public class DOMAccessException extends Exception
|
||||
{
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 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
|
||||
@ -25,7 +25,7 @@
|
||||
|
||||
package com.sun.java.browser.dom;
|
||||
|
||||
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
public class DOMUnsupportedException extends Exception
|
||||
{
|
||||
/**
|
||||
|
@ -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
|
||||
@ -2172,6 +2172,7 @@ public class ExpressionParser implements ExpressionParserConstants {
|
||||
throw generateParseException();
|
||||
}
|
||||
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
static private final class LookaheadSuccess extends java.lang.Error { }
|
||||
final private LookaheadSuccess jj_ls = new LookaheadSuccess();
|
||||
private boolean jj_scan_token(int kind) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2008, 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
|
||||
@ -36,6 +36,7 @@ package com.sun.tools.hat.internal.oql;
|
||||
* OQLException is thrown if OQL execution results in error
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
public class OQLException extends Exception {
|
||||
public OQLException(String msg) {
|
||||
super(msg);
|
||||
|
@ -144,6 +144,7 @@ abstract class ConnectorImpl implements Connector {
|
||||
return string;
|
||||
}
|
||||
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
abstract class ArgumentImpl implements Connector.Argument, Cloneable, Serializable {
|
||||
private String name;
|
||||
private String label;
|
||||
|
@ -351,6 +351,7 @@ public class MethodNode extends MethodVisitor {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("serial") // Anonymous class
|
||||
public AnnotationVisitor visitAnnotationDefault() {
|
||||
return new AnnotationNode(new ArrayList<Object>(0) {
|
||||
@Override
|
||||
|
@ -66,6 +66,7 @@ import jdk.internal.org.objectweb.asm.tree.AbstractInsnNode;
|
||||
* @author Bing Ran
|
||||
* @author Eric Bruneton
|
||||
*/
|
||||
@SuppressWarnings("serial") // JDK-implementation class
|
||||
public class AnalyzerException extends Exception {
|
||||
|
||||
public final AbstractInsnNode node;
|
||||
|
@ -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.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -32,6 +32,7 @@ package sun.jvmstat.monitor;
|
||||
* @author Brian Doherty
|
||||
* @since 1.5
|
||||
*/
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
public class MonitorException extends Exception {
|
||||
|
||||
/**
|
||||
|
@ -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.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -34,6 +34,7 @@ import sun.jvmstat.monitor.MonitoredHost;
|
||||
* @author Brian Doherty
|
||||
* @since 1.5
|
||||
*/
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
public class HostEvent extends EventObject {
|
||||
|
||||
/**
|
||||
|
@ -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.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -35,6 +35,7 @@ import sun.jvmstat.monitor.MonitoredVm;
|
||||
* @author Brian Doherty
|
||||
* @since 1.5
|
||||
*/
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
public class MonitorStatusChangeEvent extends VmEvent {
|
||||
|
||||
/**
|
||||
|
@ -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.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -34,6 +34,7 @@ import sun.jvmstat.monitor.MonitoredVm;
|
||||
* @author Brian Doherty
|
||||
* @since 1.5
|
||||
*/
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
public class VmEvent extends EventObject {
|
||||
|
||||
/**
|
||||
|
@ -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.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -35,6 +35,7 @@ import sun.jvmstat.monitor.MonitoredHost;
|
||||
* @author Brian Doherty
|
||||
* @since 1.5
|
||||
*/
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
public class VmStatusChangeEvent extends HostEvent {
|
||||
|
||||
/**
|
||||
|
@ -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.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -34,6 +34,7 @@ import sun.jvmstat.monitor.MonitorException;
|
||||
* @author Brian Doherty
|
||||
* @since 1.5
|
||||
*/
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
public class MonitorDataException extends MonitorException {
|
||||
|
||||
/**
|
||||
|
@ -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.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -34,6 +34,7 @@ import sun.jvmstat.monitor.MonitorException;
|
||||
* @author Brian Doherty
|
||||
* @since 1.5
|
||||
*/
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
public class MonitorStructureException extends MonitorException {
|
||||
|
||||
/**
|
||||
|
@ -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.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -34,6 +34,7 @@ import sun.jvmstat.monitor.MonitorException;
|
||||
* @author Brian Doherty
|
||||
* @since 1.5
|
||||
*/
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
public class MonitorTypeException extends MonitorException {
|
||||
|
||||
/**
|
||||
|
@ -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.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -35,6 +35,7 @@ import sun.jvmstat.monitor.MonitorException;
|
||||
* @author Brian Doherty
|
||||
* @since 1.5
|
||||
*/
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
public class MonitorVersionException extends MonitorException {
|
||||
|
||||
/**
|
||||
|
@ -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.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -36,6 +36,7 @@ import java.util.regex.*;
|
||||
* @author Brian Doherty
|
||||
* @since 1.5
|
||||
*/
|
||||
@SuppressWarnings("serial") // JDK implementation class
|
||||
public class SyntaxException extends Exception {
|
||||
int lineno;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user