6749308: java.io, java.lang, java.util exception classes don't specify serialVersionUID
authorchegar
Wed, 24 Sep 2008 05:35:31 -0700
changeset 1320 2412b1562801
parent 687 874e25a9844a
child 1321 36e6632d730b
6749308: java.io, java.lang, java.util exception classes don't specify serialVersionUID Reviewed-by: alanb
jdk/src/share/classes/java/io/CharConversionException.java
jdk/src/share/classes/java/io/EOFException.java
jdk/src/share/classes/java/io/FileNotFoundException.java
jdk/src/share/classes/java/io/InterruptedIOException.java
jdk/src/share/classes/java/io/SyncFailedException.java
jdk/src/share/classes/java/io/UTFDataFormatException.java
jdk/src/share/classes/java/io/UnsupportedEncodingException.java
jdk/src/share/classes/java/lang/AbstractMethodError.java
jdk/src/share/classes/java/lang/ArithmeticException.java
jdk/src/share/classes/java/lang/ArrayIndexOutOfBoundsException.java
jdk/src/share/classes/java/lang/ArrayStoreException.java
jdk/src/share/classes/java/lang/AssertionError.java
jdk/src/share/classes/java/lang/ClassCastException.java
jdk/src/share/classes/java/lang/ClassCircularityError.java
jdk/src/share/classes/java/lang/ClassFormatError.java
jdk/src/share/classes/java/lang/CloneNotSupportedException.java
jdk/src/share/classes/java/lang/EnumConstantNotPresentException.java
jdk/src/share/classes/java/lang/IllegalAccessError.java
jdk/src/share/classes/java/lang/IllegalAccessException.java
jdk/src/share/classes/java/lang/IllegalMonitorStateException.java
jdk/src/share/classes/java/lang/IllegalThreadStateException.java
jdk/src/share/classes/java/lang/IncompatibleClassChangeError.java
jdk/src/share/classes/java/lang/IndexOutOfBoundsException.java
jdk/src/share/classes/java/lang/InstantiationError.java
jdk/src/share/classes/java/lang/InstantiationException.java
jdk/src/share/classes/java/lang/InternalError.java
jdk/src/share/classes/java/lang/InterruptedException.java
jdk/src/share/classes/java/lang/LinkageError.java
jdk/src/share/classes/java/lang/NegativeArraySizeException.java
jdk/src/share/classes/java/lang/NoClassDefFoundError.java
jdk/src/share/classes/java/lang/NoSuchFieldError.java
jdk/src/share/classes/java/lang/NoSuchFieldException.java
jdk/src/share/classes/java/lang/NoSuchMethodError.java
jdk/src/share/classes/java/lang/NoSuchMethodException.java
jdk/src/share/classes/java/lang/NullPointerException.java
jdk/src/share/classes/java/lang/OutOfMemoryError.java
jdk/src/share/classes/java/lang/StackOverflowError.java
jdk/src/share/classes/java/lang/StringIndexOutOfBoundsException.java
jdk/src/share/classes/java/lang/ThreadDeath.java
jdk/src/share/classes/java/lang/TypeNotPresentException.java
jdk/src/share/classes/java/lang/UnknownError.java
jdk/src/share/classes/java/lang/UnsatisfiedLinkError.java
jdk/src/share/classes/java/lang/UnsupportedClassVersionError.java
jdk/src/share/classes/java/lang/VerifyError.java
jdk/src/share/classes/java/lang/annotation/AnnotationFormatError.java
jdk/src/share/classes/java/lang/annotation/AnnotationTypeMismatchException.java
jdk/src/share/classes/java/lang/annotation/IncompleteAnnotationException.java
jdk/src/share/classes/java/lang/instrument/IllegalClassFormatException.java
jdk/src/share/classes/java/lang/instrument/UnmodifiableClassException.java
jdk/src/share/classes/java/lang/management/ManagementPermission.java
jdk/src/share/classes/java/lang/reflect/GenericSignatureFormatError.java
jdk/src/share/classes/java/lang/reflect/MalformedParameterizedTypeException.java
jdk/src/share/classes/java/util/ConcurrentModificationException.java
jdk/src/share/classes/java/util/EmptyStackException.java
jdk/src/share/classes/java/util/InputMismatchException.java
jdk/src/share/classes/java/util/NoSuchElementException.java
jdk/src/share/classes/java/util/TooManyListenersException.java
jdk/src/share/classes/java/util/jar/JarException.java
jdk/src/share/classes/java/util/regex/PatternSyntaxException.java
jdk/src/share/classes/java/util/zip/DataFormatException.java
jdk/src/share/classes/java/util/zip/ZipException.java
--- a/jdk/src/share/classes/java/io/CharConversionException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/io/CharConversionException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1996-1999 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1996-2008 Sun Microsystems, Inc.  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 CharConversionException
     extends java.io.IOException
 {
+    private static final long serialVersionUID = -8680016352018427031L;
+
     /**
      * This provides no detailed message.
      */
--- a/jdk/src/share/classes/java/io/EOFException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/io/EOFException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-2000 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class EOFException extends IOException {
+    private static final long serialVersionUID = 6433858223774886977L;
+
     /**
      * Constructs an <code>EOFException</code> with <code>null</code>
      * as its error detail message.
--- a/jdk/src/share/classes/java/io/FileNotFoundException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/io/FileNotFoundException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1999 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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 @@
  */
 
 public class FileNotFoundException extends IOException {
+    private static final long serialVersionUID = -897856973823710492L;
 
     /**
      * Constructs a <code>FileNotFoundException</code> with
--- a/jdk/src/share/classes/java/io/InterruptedIOException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/io/InterruptedIOException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-2000 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class InterruptedIOException extends IOException {
+    private static final long serialVersionUID = 4020568460727500567L;
+
     /**
      * Constructs an <code>InterruptedIOException</code> with
      * <code>null</code> as its error detail message.
--- a/jdk/src/share/classes/java/io/SyncFailedException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/io/SyncFailedException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1996-1999 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1996-2008 Sun Microsystems, Inc.  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,8 @@
  * @since   JDK1.1
  */
 public class SyncFailedException extends IOException {
+    private static final long serialVersionUID = -2353342684412443330L;
+
     /**
      * Constructs an SyncFailedException with a detail message.
      * A detail message is a String that describes this particular exception.
--- a/jdk/src/share/classes/java/io/UTFDataFormatException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/io/UTFDataFormatException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-2004 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class UTFDataFormatException extends IOException {
+    private static final long serialVersionUID = 420743449228280612L;
+
     /**
      * Constructs a <code>UTFDataFormatException</code> with
      * <code>null</code> as its error detail message.
--- a/jdk/src/share/classes/java/io/UnsupportedEncodingException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/io/UnsupportedEncodingException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1996-1999 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1996-2008 Sun Microsystems, Inc.  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 UnsupportedEncodingException
     extends IOException
 {
+    private static final long serialVersionUID = -4274276298326136670L;
+
     /**
      * Constructs an UnsupportedEncodingException without a detail message.
      */
--- a/jdk/src/share/classes/java/lang/AbstractMethodError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/AbstractMethodError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-2005 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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
@@ -37,6 +37,8 @@
  */
 public
 class AbstractMethodError extends IncompatibleClassChangeError {
+    private static final long serialVersionUID = -1654391082989018462L;
+
     /**
      * Constructs an <code>AbstractMethodError</code> with no detail  message.
      */
--- a/jdk/src/share/classes/java/lang/ArithmeticException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/ArithmeticException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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 ArithmeticException extends RuntimeException {
+    private static final long serialVersionUID = 2256477558314496007L;
+
     /**
      * Constructs an <code>ArithmeticException</code> with no detail
      * message.
--- a/jdk/src/share/classes/java/lang/ArrayIndexOutOfBoundsException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/ArrayIndexOutOfBoundsException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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 ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException {
+    private static final long serialVersionUID = -5116101128118950844L;
+
     /**
      * Constructs an <code>ArrayIndexOutOfBoundsException</code> with no
      * detail message.
--- a/jdk/src/share/classes/java/lang/ArrayStoreException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/ArrayStoreException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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
@@ -39,6 +39,8 @@
  */
 public
 class ArrayStoreException extends RuntimeException {
+    private static final long serialVersionUID = -4522193890499838241L;
+
     /**
      * Constructs an <code>ArrayStoreException</code> with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/AssertionError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/AssertionError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 2000-2006 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2000-2008 Sun Microsystems, Inc.  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,8 @@
  * @since   1.4
  */
 public class AssertionError extends Error {
+    private static final long serialVersionUID = -5013299493970297370L;
+
     /**
      * Constructs an AssertionError with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/ClassCastException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/ClassCastException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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
@@ -39,6 +39,8 @@
  */
 public
 class ClassCastException extends RuntimeException {
+    private static final long serialVersionUID = -9223365651070458532L;
+
     /**
      * Constructs a <code>ClassCastException</code> with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/ClassCircularityError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/ClassCircularityError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-2007 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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 @@
  * @since      JDK1.0
  */
 public class ClassCircularityError extends LinkageError {
+    private static final long serialVersionUID = 1054362542914539689L;
+
     /**
      * Constructs a {@code ClassCircularityError} with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/ClassFormatError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/ClassFormatError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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 ClassFormatError extends LinkageError {
+    private static final long serialVersionUID = -8420114879011949195L;
+
     /**
      * Constructs a <code>ClassFormatError</code> with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/CloneNotSupportedException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/CloneNotSupportedException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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,8 @@
 
 public
 class CloneNotSupportedException extends Exception {
+    private static final long serialVersionUID = 5195511250079656443L;
+
     /**
      * Constructs a <code>CloneNotSupportedException</code> with no
      * detail message.
--- a/jdk/src/share/classes/java/lang/EnumConstantNotPresentException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/EnumConstantNotPresentException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 2004 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2004-2008 Sun Microsystems, Inc.  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 @@
  * @since   1.5
  */
 public class EnumConstantNotPresentException extends RuntimeException {
+    private static final long serialVersionUID = -6046998521960521108L;
+
     /**
      * The type of the missing enum constant.
      */
--- a/jdk/src/share/classes/java/lang/IllegalAccessError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/IllegalAccessError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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
@@ -37,6 +37,8 @@
  * @since   JDK1.0
  */
 public class IllegalAccessError extends IncompatibleClassChangeError {
+    private static final long serialVersionUID = -8988904074992417891L;
+
     /**
      * Constructs an <code>IllegalAccessError</code> with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/IllegalAccessException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/IllegalAccessException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-2000 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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
@@ -57,6 +57,8 @@
  * @since   JDK1.0
  */
 public class IllegalAccessException extends Exception {
+    private static final long serialVersionUID = 6616958222490762034L;
+
     /**
      * Constructs an <code>IllegalAccessException</code> without a
      * detail message.
--- a/jdk/src/share/classes/java/lang/IllegalMonitorStateException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/IllegalMonitorStateException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class IllegalMonitorStateException extends RuntimeException {
+    private static final long serialVersionUID = 3713306369498869069L;
+
     /**
      * Constructs an <code>IllegalMonitorStateException</code> with no
      * detail message.
--- a/jdk/src/share/classes/java/lang/IllegalThreadStateException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/IllegalThreadStateException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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
@@ -37,6 +37,8 @@
  * @since   JDK1.0
  */
 public class IllegalThreadStateException extends IllegalArgumentException {
+    private static final long serialVersionUID = -7626246362397460174L;
+
     /**
      * Constructs an <code>IllegalThreadStateException</code> with no
      * detail message.
--- a/jdk/src/share/classes/java/lang/IncompatibleClassChangeError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/IncompatibleClassChangeError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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 IncompatibleClassChangeError extends LinkageError {
+    private static final long serialVersionUID = -4914975503642802119L;
+
     /**
      * Constructs an <code>IncompatibleClassChangeError</code> with no
      * detail message.
--- a/jdk/src/share/classes/java/lang/IndexOutOfBoundsException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/IndexOutOfBoundsException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class IndexOutOfBoundsException extends RuntimeException {
+    private static final long serialVersionUID = 234122996006267687L;
+
     /**
      * Constructs an <code>IndexOutOfBoundsException</code> with no
      * detail message.
--- a/jdk/src/share/classes/java/lang/InstantiationError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/InstantiationError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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,8 @@
 
 public
 class InstantiationError extends IncompatibleClassChangeError {
+    private static final long serialVersionUID = -4885810657349421204L;
+
     /**
      * Constructs an <code>InstantiationError</code> with no detail  message.
      */
--- a/jdk/src/share/classes/java/lang/InstantiationException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/InstantiationException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-2005 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class InstantiationException extends Exception {
+    private static final long serialVersionUID = -8441929162975509110L;
+
     /**
      * Constructs an {@code InstantiationException} with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/InternalError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/InternalError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class InternalError extends VirtualMachineError {
+    private static final long serialVersionUID = -9062593416125562365L;
+
     /**
      * Constructs an <code>InternalError</code> with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/InterruptedException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/InterruptedException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-2005 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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
@@ -48,6 +48,8 @@
  */
 public
 class InterruptedException extends Exception {
+    private static final long serialVersionUID = 6700697376100628473L;
+
     /**
      * Constructs an <code>InterruptedException</code> with no detail  message.
      */
--- a/jdk/src/share/classes/java/lang/LinkageError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/LinkageError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class LinkageError extends Error {
+    private static final long serialVersionUID = 3579600108157160122L;
+
     /**
      * Constructs a <code>LinkageError</code> with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/NegativeArraySizeException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/NegativeArraySizeException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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 NegativeArraySizeException extends RuntimeException {
+    private static final long serialVersionUID = -8960118058596991861L;
+
     /**
      * Constructs a <code>NegativeArraySizeException</code> with no
      * detail message.
--- a/jdk/src/share/classes/java/lang/NoClassDefFoundError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/NoClassDefFoundError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-2000 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class NoClassDefFoundError extends LinkageError {
+    private static final long serialVersionUID = 9095859863287012458L;
+
     /**
      * Constructs a <code>NoClassDefFoundError</code> with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/NoSuchFieldError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/NoSuchFieldError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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 @@
  */
 public
 class NoSuchFieldError extends IncompatibleClassChangeError {
+    private static final long serialVersionUID = -3456430195886129035L;
+
     /**
      * Constructs a <code>NoSuchFieldException</code> with no detail  message.
      */
--- a/jdk/src/share/classes/java/lang/NoSuchFieldException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/NoSuchFieldException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1996-1999 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1996-2008 Sun Microsystems, Inc.  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,8 @@
  * @since   JDK1.1
  */
 public class NoSuchFieldException extends Exception {
+    private static final long serialVersionUID = -6143714805279938260L;
+
     /**
      * Constructor.
      */
--- a/jdk/src/share/classes/java/lang/NoSuchMethodError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/NoSuchMethodError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1998 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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
@@ -39,6 +39,8 @@
  */
 public
 class NoSuchMethodError extends IncompatibleClassChangeError {
+    private static final long serialVersionUID = -3765521442372831335L;
+
     /**
      * Constructs a <code>NoSuchMethodError</code> with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/NoSuchMethodException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/NoSuchMethodException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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 NoSuchMethodException extends Exception {
+    private static final long serialVersionUID = 5034388446362600923L;
+
     /**
      * Constructs a <code>NoSuchMethodException</code> without a detail message.
      */
--- a/jdk/src/share/classes/java/lang/NullPointerException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/NullPointerException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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
@@ -46,6 +46,8 @@
  */
 public
 class NullPointerException extends RuntimeException {
+    private static final long serialVersionUID = 5162710183389028792L;
+
     /**
      * Constructs a <code>NullPointerException</code> with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/OutOfMemoryError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/OutOfMemoryError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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 OutOfMemoryError extends VirtualMachineError {
+    private static final long serialVersionUID = 8228564086184010517L;
+
     /**
      * Constructs an <code>OutOfMemoryError</code> with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/StackOverflowError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/StackOverflowError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class StackOverflowError extends VirtualMachineError {
+    private static final long serialVersionUID = 8609175038441759607L;
+
     /**
      * Constructs a <code>StackOverflowError</code> with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/StringIndexOutOfBoundsException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/StringIndexOutOfBoundsException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-2000 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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
@@ -37,6 +37,8 @@
  */
 public
 class StringIndexOutOfBoundsException extends IndexOutOfBoundsException {
+    private static final long serialVersionUID = -6762910422159637258L;
+
     /**
      * Constructs a <code>StringIndexOutOfBoundsException</code> with no
      * detail message.
--- a/jdk/src/share/classes/java/lang/ThreadDeath.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/ThreadDeath.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-2007 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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
@@ -46,4 +46,6 @@
  * @since   JDK1.0
  */
 
-public class ThreadDeath extends Error {}
+public class ThreadDeath extends Error {
+    private static final long serialVersionUID = -4417128565033088268L;
+}
--- a/jdk/src/share/classes/java/lang/TypeNotPresentException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/TypeNotPresentException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003-2004 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2003-2008 Sun Microsystems, Inc.  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,8 @@
  * @since 1.5
  */
 public class TypeNotPresentException extends RuntimeException {
+    private static final long serialVersionUID = -5101214195716534496L;
+
     private String typeName;
 
     /**
--- a/jdk/src/share/classes/java/lang/UnknownError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/UnknownError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class UnknownError extends VirtualMachineError {
+    private static final long serialVersionUID = 2524784860676771849L;
+
     /**
      * Constructs an <code>UnknownError</code> with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/UnsatisfiedLinkError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/UnsatisfiedLinkError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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 UnsatisfiedLinkError extends LinkageError {
+    private static final long serialVersionUID = -4019343241616879428L;
+
     /**
      * Constructs an <code>UnsatisfiedLinkError</code> with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/UnsupportedClassVersionError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/UnsupportedClassVersionError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1998-1999 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1998-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class UnsupportedClassVersionError extends ClassFormatError {
+    private static final long serialVersionUID = -7123279212883497373L;
+
     /**
      * Constructs a <code>UnsupportedClassVersionError</code>
      * with no detail message.
--- a/jdk/src/share/classes/java/lang/VerifyError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/VerifyError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-1997 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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 VerifyError extends LinkageError {
+    private static final long serialVersionUID = 7001962396098498785L;
+
     /**
      * Constructs an <code>VerifyError</code> with no detail message.
      */
--- a/jdk/src/share/classes/java/lang/annotation/AnnotationFormatError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/annotation/AnnotationFormatError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 2004 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2004-2008 Sun Microsystems, Inc.  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 @@
  * @since   1.5
  */
 public class AnnotationFormatError extends Error {
+    private static final long serialVersionUID = -4256701562333669892L;
+
     /**
      * Constructs a new <tt>AnnotationFormatError</tt> with the specified
      * detail message.
--- a/jdk/src/share/classes/java/lang/annotation/AnnotationTypeMismatchException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/annotation/AnnotationTypeMismatchException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003-2004 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2003-2008 Sun Microsystems, Inc.  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 @@
  * @since 1.5
  */
 public class AnnotationTypeMismatchException extends RuntimeException {
+    private static final long serialVersionUID = 8125925355765570191L;
+
     /**
      * The <tt>Method</tt> object for the annotation element.
      */
--- a/jdk/src/share/classes/java/lang/annotation/IncompleteAnnotationException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/annotation/IncompleteAnnotationException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003-2004 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2003-2008 Sun Microsystems, Inc.  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 @@
  * @since 1.5
  */
 public class IncompleteAnnotationException extends RuntimeException {
+    private static final long serialVersionUID = 8445097402741811912L;
+
     private Class annotationType;
     private String elementName;
 
--- a/jdk/src/share/classes/java/lang/instrument/IllegalClassFormatException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/instrument/IllegalClassFormatException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003-2006 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2003-2008 Sun Microsystems, Inc.  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,8 @@
  * @since   1.5
  */
 public class IllegalClassFormatException extends Exception {
+    private static final long serialVersionUID = -3841736710924794009L;
+
     /**
      * Constructs an <code>IllegalClassFormatException</code> with no
      * detail message.
--- a/jdk/src/share/classes/java/lang/instrument/UnmodifiableClassException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/instrument/UnmodifiableClassException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 2004-2006 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2004-2008 Sun Microsystems, Inc.  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,8 @@
  * @since   1.5
  */
 public class UnmodifiableClassException extends Exception {
+    private static final long serialVersionUID = 1716652643585309178L;
+
     /**
      * Constructs an <code>UnmodifiableClassException</code> with no
      * detail message.
--- a/jdk/src/share/classes/java/lang/management/ManagementPermission.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/management/ManagementPermission.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2003-2008 Sun Microsystems, Inc.  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
@@ -83,6 +83,7 @@
  */
 
 public final class ManagementPermission extends java.security.BasicPermission {
+    private static final long serialVersionUID = 1897496590799378737L;
 
     /**
      * Constructs a ManagementPermission with the specified name.
--- a/jdk/src/share/classes/java/lang/reflect/GenericSignatureFormatError.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/reflect/GenericSignatureFormatError.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2003-2008 Sun Microsystems, Inc.  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,4 +33,6 @@
  *
  * @since 1.5
  */
-public class GenericSignatureFormatError extends ClassFormatError{}
+public class GenericSignatureFormatError extends ClassFormatError {
+    private static final long serialVersionUID = 6709919147137911034L;
+}
--- a/jdk/src/share/classes/java/lang/reflect/MalformedParameterizedTypeException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/lang/reflect/MalformedParameterizedTypeException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2003-2008 Sun Microsystems, Inc.  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,4 +34,6 @@
  *
  * @since 1.5
  */
-public class MalformedParameterizedTypeException extends RuntimeException{}
+public class MalformedParameterizedTypeException extends RuntimeException {
+    private static final long serialVersionUID = -5696557788586220964L;
+}
--- a/jdk/src/share/classes/java/util/ConcurrentModificationException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/util/ConcurrentModificationException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1997-2006 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1997-2008 Sun Microsystems, Inc.  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
@@ -67,6 +67,8 @@
  * @since   1.2
  */
 public class ConcurrentModificationException extends RuntimeException {
+    private static final long serialVersionUID = -3666751008965953603L;
+
     /**
      * Constructs a ConcurrentModificationException with no
      * detail message.
--- a/jdk/src/share/classes/java/util/EmptyStackException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/util/EmptyStackException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1998 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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 EmptyStackException extends RuntimeException {
+    private static final long serialVersionUID = 5084686378493302095L;
+
     /**
      * Constructs a new <code>EmptyStackException</code> with <tt>null</tt>
      * as its error message string.
--- a/jdk/src/share/classes/java/util/InputMismatchException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/util/InputMismatchException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 2003-2006 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 2003-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class InputMismatchException extends NoSuchElementException {
+    private static final long serialVersionUID = 8811230760997066428L;
+
     /**
      * Constructs an <code>InputMismatchException</code> with <tt>null</tt>
      * as its error message string.
--- a/jdk/src/share/classes/java/util/NoSuchElementException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/util/NoSuchElementException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1994-1998 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1994-2008 Sun Microsystems, Inc.  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
@@ -37,6 +37,8 @@
  */
 public
 class NoSuchElementException extends RuntimeException {
+    private static final long serialVersionUID = 6769829250639411880L;
+
     /**
      * Constructs a <code>NoSuchElementException</code> with <tt>null</tt>
      * as its error message string.
--- a/jdk/src/share/classes/java/util/TooManyListenersException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/util/TooManyListenersException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1996-1999 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1996-2008 Sun Microsystems, Inc.  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
@@ -48,6 +48,7 @@
  */
 
 public class TooManyListenersException extends Exception {
+    private static final long serialVersionUID = 5074640544770687831L;
 
     /**
      * Constructs a TooManyListenersException with no detail message.
--- a/jdk/src/share/classes/java/util/jar/JarException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/util/jar/JarException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1997-1999 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1997-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class JarException extends java.util.zip.ZipException {
+    private static final long serialVersionUID = 7159778400963954473L;
+
     /**
      * Constructs a JarException with no detail message.
      */
--- a/jdk/src/share/classes/java/util/regex/PatternSyntaxException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/util/regex/PatternSyntaxException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1999-2006 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1999-2008 Sun Microsystems, Inc.  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 PatternSyntaxException
     extends IllegalArgumentException
 {
+    private static final long serialVersionUID = -3864639126226059218L;
 
     private final String desc;
     private final String pattern;
--- a/jdk/src/share/classes/java/util/zip/DataFormatException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/util/zip/DataFormatException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1996 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1996-2008 Sun Microsystems, Inc.  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,8 @@
  */
 public
 class DataFormatException extends Exception {
+    private static final long serialVersionUID = 2219632870893641452L;
+
     /**
      * Constructs a DataFormatException with no detail message.
      */
--- a/jdk/src/share/classes/java/util/zip/ZipException.java	Thu Jun 05 13:42:47 2008 +0200
+++ b/jdk/src/share/classes/java/util/zip/ZipException.java	Wed Sep 24 05:35:31 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1995-2001 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1995-2008 Sun Microsystems, Inc.  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
@@ -37,6 +37,8 @@
 
 public
 class ZipException extends IOException {
+    private static final long serialVersionUID = 8000196834066748623L;
+
     /**
      * Constructs an <code>ZipException</code> with <code>null</code>
      * as its error detail message.