# HG changeset patch # User darcy # Date 1391624145 28800 # Node ID b8ee81ac6fb31be30f726fcc166e1cb9c28f019d # Parent 7de4fe0b84888eecf79ec085640e311a84334719 8033526: Fix serial lint warnings in java.awt.* Reviewed-by: briangoetz diff -r 7de4fe0b8488 -r b8ee81ac6fb3 jdk/src/share/classes/java/awt/color/CMMException.java --- a/jdk/src/share/classes/java/awt/color/CMMException.java Wed Feb 05 17:56:04 2014 +0100 +++ b/jdk/src/share/classes/java/awt/color/CMMException.java Wed Feb 05 10:15:45 2014 -0800 @@ -47,6 +47,7 @@ */ public class CMMException extends java.lang.RuntimeException { + private static final long serialVersionUID = 5775558044142994965L; /** * Constructs a CMMException with the specified detail message. diff -r 7de4fe0b8488 -r b8ee81ac6fb3 jdk/src/share/classes/java/awt/color/ProfileDataException.java --- a/jdk/src/share/classes/java/awt/color/ProfileDataException.java Wed Feb 05 17:56:04 2014 +0100 +++ b/jdk/src/share/classes/java/awt/color/ProfileDataException.java Wed Feb 05 10:15:45 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2000, 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 @@ -31,6 +31,7 @@ */ public class ProfileDataException extends java.lang.RuntimeException { + private static final long serialVersionUID = 7286140888240322498L; /** * Constructs a ProfileDataException with the specified detail message. diff -r 7de4fe0b8488 -r b8ee81ac6fb3 jdk/src/share/classes/java/awt/datatransfer/FlavorEvent.java --- a/jdk/src/share/classes/java/awt/datatransfer/FlavorEvent.java Wed Feb 05 17:56:04 2014 +0100 +++ b/jdk/src/share/classes/java/awt/datatransfer/FlavorEvent.java Wed Feb 05 10:15:45 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2006, 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 @@ -38,6 +38,8 @@ * @since 1.5 */ public class FlavorEvent extends EventObject { + private static final long serialVersionUID = -5842664112252414548L; + /** * Constructs a FlavorEvent object. * diff -r 7de4fe0b8488 -r b8ee81ac6fb3 jdk/src/share/classes/java/awt/geom/IllegalPathStateException.java --- a/jdk/src/share/classes/java/awt/geom/IllegalPathStateException.java Wed Feb 05 17:56:04 2014 +0100 +++ b/jdk/src/share/classes/java/awt/geom/IllegalPathStateException.java Wed Feb 05 10:15:45 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 1999, 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 @@ -35,6 +35,8 @@ */ public class IllegalPathStateException extends RuntimeException { + private static final long serialVersionUID = -5158084205220481094L; + /** * Constructs an IllegalPathStateException with no * detail message. diff -r 7de4fe0b8488 -r b8ee81ac6fb3 jdk/src/share/classes/java/awt/geom/NoninvertibleTransformException.java --- a/jdk/src/share/classes/java/awt/geom/NoninvertibleTransformException.java Wed Feb 05 17:56:04 2014 +0100 +++ b/jdk/src/share/classes/java/awt/geom/NoninvertibleTransformException.java Wed Feb 05 10:15:45 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 1999, 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 @@ -33,6 +33,8 @@ */ public class NoninvertibleTransformException extends java.lang.Exception { + private static final long serialVersionUID = 6137225240503990466L; + /** * Constructs an instance of * NoninvertibleTransformException diff -r 7de4fe0b8488 -r b8ee81ac6fb3 jdk/src/share/classes/java/awt/image/ImagingOpException.java --- a/jdk/src/share/classes/java/awt/image/ImagingOpException.java Wed Feb 05 17:56:04 2014 +0100 +++ b/jdk/src/share/classes/java/awt/image/ImagingOpException.java Wed Feb 05 10:15:45 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 1998, 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 @@ -32,6 +32,7 @@ * process the image. */ public class ImagingOpException extends java.lang.RuntimeException { + private static final long serialVersionUID = 8026288481846276658L; /** * Constructs an ImagingOpException object with the diff -r 7de4fe0b8488 -r b8ee81ac6fb3 jdk/src/share/classes/java/awt/image/RasterFormatException.java --- a/jdk/src/share/classes/java/awt/image/RasterFormatException.java Wed Feb 05 17:56:04 2014 +0100 +++ b/jdk/src/share/classes/java/awt/image/RasterFormatException.java Wed Feb 05 10:15:45 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 1998, 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 @@ -31,6 +31,7 @@ * invalid layout information in the {@link Raster}. */ public class RasterFormatException extends java.lang.RuntimeException { + private static final long serialVersionUID = 96598996116164315L; /** * Constructs a new RasterFormatException with the diff -r 7de4fe0b8488 -r b8ee81ac6fb3 jdk/src/share/classes/java/awt/image/renderable/ParameterBlock.java --- a/jdk/src/share/classes/java/awt/image/renderable/ParameterBlock.java Wed Feb 05 17:56:04 2014 +0100 +++ b/jdk/src/share/classes/java/awt/image/renderable/ParameterBlock.java Wed Feb 05 10:15:45 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2004, 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 @@ -93,6 +93,8 @@ * * */ public class ParameterBlock implements Cloneable, Serializable { + private static final long serialVersionUID = -7577115551785240750L; + /** A Vector of sources, stored as arbitrary Objects. */ protected Vector sources = new Vector(); diff -r 7de4fe0b8488 -r b8ee81ac6fb3 jdk/src/share/classes/java/awt/print/PrinterAbortException.java --- a/jdk/src/share/classes/java/awt/print/PrinterAbortException.java Wed Feb 05 17:56:04 2014 +0100 +++ b/jdk/src/share/classes/java/awt/print/PrinterAbortException.java Wed Feb 05 10:15:45 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 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 @@ -33,6 +33,7 @@ */ public class PrinterAbortException extends PrinterException { + private static final long serialVersionUID = 4725169026278854136L; /** * Constructs a new PrinterAbortException with no diff -r 7de4fe0b8488 -r b8ee81ac6fb3 jdk/src/share/classes/java/awt/print/PrinterException.java --- a/jdk/src/share/classes/java/awt/print/PrinterException.java Wed Feb 05 17:56:04 2014 +0100 +++ b/jdk/src/share/classes/java/awt/print/PrinterException.java Wed Feb 05 10:15:45 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 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 @@ -32,6 +32,7 @@ */ public class PrinterException extends Exception { + private static final long serialVersionUID = -3757589981158265819L; /** * Constructs a new PrinterException object