8033616: Fix serial lint warnings in javax.imageio.*
authordarcy
Wed, 05 Feb 2014 10:21:18 -0800
changeset 22657 654c573cb341
parent 22656 b8ee81ac6fb3
child 22658 30164afa0211
8033616: Fix serial lint warnings in javax.imageio.* Reviewed-by: alanb
jdk/src/share/classes/javax/imageio/IIOException.java
jdk/src/share/classes/javax/imageio/metadata/IIOInvalidTreeException.java
jdk/src/share/classes/javax/imageio/metadata/IIOMetadataNode.java
jdk/src/share/classes/javax/imageio/spi/DigraphNode.java
--- a/jdk/src/share/classes/javax/imageio/IIOException.java	Wed Feb 05 10:15:45 2014 -0800
+++ b/jdk/src/share/classes/javax/imageio/IIOException.java	Wed Feb 05 10:21:18 2014 -0800
@@ -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
@@ -40,6 +40,7 @@
  *
  */
 public class IIOException extends IOException {
+    private static final long serialVersionUID = -3216210718638985251L;
 
     /**
      * Constructs an <code>IIOException</code> with a given message
--- a/jdk/src/share/classes/javax/imageio/metadata/IIOInvalidTreeException.java	Wed Feb 05 10:15:45 2014 -0800
+++ b/jdk/src/share/classes/javax/imageio/metadata/IIOInvalidTreeException.java	Wed Feb 05 10:21:18 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2001, 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
@@ -44,6 +44,7 @@
  *
  */
 public class IIOInvalidTreeException extends IIOException {
+    private static final long serialVersionUID = -1314083172544132777L;
 
     /**
      * The <code>Node</code> that led to the parsing error, or
--- a/jdk/src/share/classes/javax/imageio/metadata/IIOMetadataNode.java	Wed Feb 05 10:15:45 2014 -0800
+++ b/jdk/src/share/classes/javax/imageio/metadata/IIOMetadataNode.java	Wed Feb 05 10:21:18 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2011, 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,6 +41,7 @@
 
 
 class IIODOMException extends DOMException {
+    private static final long serialVersionUID = -4369510142067447468L;
 
     public IIODOMException(short code, String message) {
         super(code, message);
--- a/jdk/src/share/classes/javax/imageio/spi/DigraphNode.java	Wed Feb 05 10:15:45 2014 -0800
+++ b/jdk/src/share/classes/javax/imageio/spi/DigraphNode.java	Wed Feb 05 10:21:18 2014 -0800
@@ -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
@@ -40,6 +40,7 @@
  *
  */
 class DigraphNode implements Cloneable, Serializable {
+    private static final long serialVersionUID = 5308261378582246841L;
 
     /** The data associated with this node. */
     protected Object data;