diff --git a/src/share/classes/java/io/CharConversionException.java b/src/share/classes/java/io/CharConversionException.java
index 9e4b0ad0a33694a8c3edc882d7498fb3e95f412d..d3a79e80ff2cf4b4ca89b3e0d80b889ded5595d9 100644
--- a/src/share/classes/java/io/CharConversionException.java
+++ b/src/share/classes/java/io/CharConversionException.java
@@ -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 @@ package java.io;
public class CharConversionException
extends java.io.IOException
{
+ private static final long serialVersionUID = -8680016352018427031L;
+
/**
* This provides no detailed message.
*/
diff --git a/src/share/classes/java/io/EOFException.java b/src/share/classes/java/io/EOFException.java
index d91ecf627c3e86f70d763242ca7085106cf61f9b..6094837f599ba9882243f20183989c3e899092e9 100644
--- a/src/share/classes/java/io/EOFException.java
+++ b/src/share/classes/java/io/EOFException.java
@@ -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 @@ package java.io;
*/
public
class EOFException extends IOException {
+ private static final long serialVersionUID = 6433858223774886977L;
+
/**
* Constructs an EOFException with null
* as its error detail message.
diff --git a/src/share/classes/java/io/FileNotFoundException.java b/src/share/classes/java/io/FileNotFoundException.java
index 18ed3f18cb24c76c0b33f236cc8e19982967f6d7..198bbba8166ce0f26b3c11fe056d651c7da1d2ed 100644
--- a/src/share/classes/java/io/FileNotFoundException.java
+++ b/src/share/classes/java/io/FileNotFoundException.java
@@ -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 @@ package java.io;
*/
public class FileNotFoundException extends IOException {
+ private static final long serialVersionUID = -897856973823710492L;
/**
* Constructs a FileNotFoundException with
diff --git a/src/share/classes/java/io/InterruptedIOException.java b/src/share/classes/java/io/InterruptedIOException.java
index 41cedf6b87a26407a160edd66bbbca8e94997ad7..054fe2bb1339686ec11bdac76912356cd5d5b276 100644
--- a/src/share/classes/java/io/InterruptedIOException.java
+++ b/src/share/classes/java/io/InterruptedIOException.java
@@ -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 @@ package java.io;
*/
public
class InterruptedIOException extends IOException {
+ private static final long serialVersionUID = 4020568460727500567L;
+
/**
* Constructs an InterruptedIOException with
* null as its error detail message.
diff --git a/src/share/classes/java/io/SyncFailedException.java b/src/share/classes/java/io/SyncFailedException.java
index b2583ad2bdc68dc19ffcfdd76a3abbd9dd6ea6ba..b08c8d97dbfae86eabc3842ca1b3efde3ecfd913 100644
--- a/src/share/classes/java/io/SyncFailedException.java
+++ b/src/share/classes/java/io/SyncFailedException.java
@@ -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 @@ package java.io;
* @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.
diff --git a/src/share/classes/java/io/UTFDataFormatException.java b/src/share/classes/java/io/UTFDataFormatException.java
index bb89c16452102216c8e74e4eda067716b8d6ed34..2f789a0192fa2d2b3af26c8296d79432881a5d1b 100644
--- a/src/share/classes/java/io/UTFDataFormatException.java
+++ b/src/share/classes/java/io/UTFDataFormatException.java
@@ -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 @@ package java.io;
*/
public
class UTFDataFormatException extends IOException {
+ private static final long serialVersionUID = 420743449228280612L;
+
/**
* Constructs a UTFDataFormatException with
* null as its error detail message.
diff --git a/src/share/classes/java/io/UnsupportedEncodingException.java b/src/share/classes/java/io/UnsupportedEncodingException.java
index 2ee9cb647be61414006e87ba1db606c5f28bdc47..9ccdd2ee603928bcd56d283563dbfffb54ba133a 100644
--- a/src/share/classes/java/io/UnsupportedEncodingException.java
+++ b/src/share/classes/java/io/UnsupportedEncodingException.java
@@ -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 @@ package java.io;
public class UnsupportedEncodingException
extends IOException
{
+ private static final long serialVersionUID = -4274276298326136670L;
+
/**
* Constructs an UnsupportedEncodingException without a detail message.
*/
diff --git a/src/share/classes/java/lang/AbstractMethodError.java b/src/share/classes/java/lang/AbstractMethodError.java
index 15dcb96a78f549eebca43e1dea87db9fd532f1bb..a8f11e7abc94081d4f6e471a739afec3fcd88cf2 100644
--- a/src/share/classes/java/lang/AbstractMethodError.java
+++ b/src/share/classes/java/lang/AbstractMethodError.java
@@ -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 @@ package java.lang;
*/
public
class AbstractMethodError extends IncompatibleClassChangeError {
+ private static final long serialVersionUID = -1654391082989018462L;
+
/**
* Constructs an AbstractMethodError with no detail message.
*/
diff --git a/src/share/classes/java/lang/ArithmeticException.java b/src/share/classes/java/lang/ArithmeticException.java
index a90cda11c9e9539bb0dc4fb39f769382e06c45c5..a51d95db821f04def926adde8351a0415b49f80c 100644
--- a/src/share/classes/java/lang/ArithmeticException.java
+++ b/src/share/classes/java/lang/ArithmeticException.java
@@ -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 @@ package java.lang;
*/
public
class ArithmeticException extends RuntimeException {
+ private static final long serialVersionUID = 2256477558314496007L;
+
/**
* Constructs an ArithmeticException with no detail
* message.
diff --git a/src/share/classes/java/lang/ArrayIndexOutOfBoundsException.java b/src/share/classes/java/lang/ArrayIndexOutOfBoundsException.java
index 5c96020bf44ef0d574853add68515df956e20b05..cc51bdd043b2180264e4648c3c6f23d0f31b0e64 100644
--- a/src/share/classes/java/lang/ArrayIndexOutOfBoundsException.java
+++ b/src/share/classes/java/lang/ArrayIndexOutOfBoundsException.java
@@ -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 @@ package java.lang;
*/
public
class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException {
+ private static final long serialVersionUID = -5116101128118950844L;
+
/**
* Constructs an ArrayIndexOutOfBoundsException with no
* detail message.
diff --git a/src/share/classes/java/lang/ArrayStoreException.java b/src/share/classes/java/lang/ArrayStoreException.java
index 9aa4f7a98741294667e6517e710e1015865b8746..af24f1ac2f62de53d95d5e80e53be95fb03eb459 100644
--- a/src/share/classes/java/lang/ArrayStoreException.java
+++ b/src/share/classes/java/lang/ArrayStoreException.java
@@ -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 @@ package java.lang;
*/
public
class ArrayStoreException extends RuntimeException {
+ private static final long serialVersionUID = -4522193890499838241L;
+
/**
* Constructs an ArrayStoreException with no detail message.
*/
diff --git a/src/share/classes/java/lang/AssertionError.java b/src/share/classes/java/lang/AssertionError.java
index 0e6e45c210bfcb9d16473b9579f1d8d3384cf14e..b64b7cbae3d099da7c556a6b08365f320058c177 100644
--- a/src/share/classes/java/lang/AssertionError.java
+++ b/src/share/classes/java/lang/AssertionError.java
@@ -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 @@ package java.lang;
* @since 1.4
*/
public class AssertionError extends Error {
+ private static final long serialVersionUID = -5013299493970297370L;
+
/**
* Constructs an AssertionError with no detail message.
*/
diff --git a/src/share/classes/java/lang/ClassCastException.java b/src/share/classes/java/lang/ClassCastException.java
index 057b55bb5e3d90054e286bacf092c1ea09aed1be..310c87f94d96cb0d302e03f628ac9e26d9821505 100644
--- a/src/share/classes/java/lang/ClassCastException.java
+++ b/src/share/classes/java/lang/ClassCastException.java
@@ -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 @@ package java.lang;
*/
public
class ClassCastException extends RuntimeException {
+ private static final long serialVersionUID = -9223365651070458532L;
+
/**
* Constructs a ClassCastException with no detail message.
*/
diff --git a/src/share/classes/java/lang/ClassCircularityError.java b/src/share/classes/java/lang/ClassCircularityError.java
index 5d522626d305efdd7bf8d684581fb91408529ede..27d5dfbf08cdd6fd4caa3b3c7ea1a54c8dde5cd2 100644
--- a/src/share/classes/java/lang/ClassCircularityError.java
+++ b/src/share/classes/java/lang/ClassCircularityError.java
@@ -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 @@ package java.lang;
* @since JDK1.0
*/
public class ClassCircularityError extends LinkageError {
+ private static final long serialVersionUID = 1054362542914539689L;
+
/**
* Constructs a {@code ClassCircularityError} with no detail message.
*/
diff --git a/src/share/classes/java/lang/ClassFormatError.java b/src/share/classes/java/lang/ClassFormatError.java
index d2e61a4e290d41a0dfe09c8ccaac7bd0b18db024..75a042118be69b5e15f96309acabe213d495d538 100644
--- a/src/share/classes/java/lang/ClassFormatError.java
+++ b/src/share/classes/java/lang/ClassFormatError.java
@@ -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 @@ package java.lang;
*/
public
class ClassFormatError extends LinkageError {
+ private static final long serialVersionUID = -8420114879011949195L;
+
/**
* Constructs a ClassFormatError with no detail message.
*/
diff --git a/src/share/classes/java/lang/CloneNotSupportedException.java b/src/share/classes/java/lang/CloneNotSupportedException.java
index d3b7b3373dc424cff5ba782eb1f963df99065917..cfa643fc4757bd3f84fae7d7f90bbbd41b8ded50 100644
--- a/src/share/classes/java/lang/CloneNotSupportedException.java
+++ b/src/share/classes/java/lang/CloneNotSupportedException.java
@@ -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 @@ package java.lang;
public
class CloneNotSupportedException extends Exception {
+ private static final long serialVersionUID = 5195511250079656443L;
+
/**
* Constructs a CloneNotSupportedException with no
* detail message.
diff --git a/src/share/classes/java/lang/EnumConstantNotPresentException.java b/src/share/classes/java/lang/EnumConstantNotPresentException.java
index c09a9129656643eaaa5cce3a05a93f2f469531ae..4807691b2106ede61d0e0403e9213d6aed944cee 100644
--- a/src/share/classes/java/lang/EnumConstantNotPresentException.java
+++ b/src/share/classes/java/lang/EnumConstantNotPresentException.java
@@ -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 @@ package java.lang;
* @since 1.5
*/
public class EnumConstantNotPresentException extends RuntimeException {
+ private static final long serialVersionUID = -6046998521960521108L;
+
/**
* The type of the missing enum constant.
*/
diff --git a/src/share/classes/java/lang/IllegalAccessError.java b/src/share/classes/java/lang/IllegalAccessError.java
index 58812dbffecb401b3e2ad3d379bcbf9d00fc82de..959c94219138c901c85a27255c8712d47f9bc364 100644
--- a/src/share/classes/java/lang/IllegalAccessError.java
+++ b/src/share/classes/java/lang/IllegalAccessError.java
@@ -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 @@ package java.lang;
* @since JDK1.0
*/
public class IllegalAccessError extends IncompatibleClassChangeError {
+ private static final long serialVersionUID = -8988904074992417891L;
+
/**
* Constructs an IllegalAccessError with no detail message.
*/
diff --git a/src/share/classes/java/lang/IllegalAccessException.java b/src/share/classes/java/lang/IllegalAccessException.java
index 8f3ca86772500984caf6edb7d367c2775d69a325..19b51b90fef6afff74a15cd14427d798887ce9b7 100644
--- a/src/share/classes/java/lang/IllegalAccessException.java
+++ b/src/share/classes/java/lang/IllegalAccessException.java
@@ -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 @@ package java.lang;
* @since JDK1.0
*/
public class IllegalAccessException extends Exception {
+ private static final long serialVersionUID = 6616958222490762034L;
+
/**
* Constructs an IllegalAccessException without a
* detail message.
diff --git a/src/share/classes/java/lang/IllegalMonitorStateException.java b/src/share/classes/java/lang/IllegalMonitorStateException.java
index b719afa0fce6733f90fa302dad801b3bdaf71ca5..6375a10b2c617e09e6ab214c1a50ad21f8667acd 100644
--- a/src/share/classes/java/lang/IllegalMonitorStateException.java
+++ b/src/share/classes/java/lang/IllegalMonitorStateException.java
@@ -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 @@ package java.lang;
*/
public
class IllegalMonitorStateException extends RuntimeException {
+ private static final long serialVersionUID = 3713306369498869069L;
+
/**
* Constructs an IllegalMonitorStateException with no
* detail message.
diff --git a/src/share/classes/java/lang/IllegalThreadStateException.java b/src/share/classes/java/lang/IllegalThreadStateException.java
index 7f76da0dd0b2c194352e2093df08b03ae551b7ef..56ced227adb3bc043dfd0344639e2233004af778 100644
--- a/src/share/classes/java/lang/IllegalThreadStateException.java
+++ b/src/share/classes/java/lang/IllegalThreadStateException.java
@@ -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 @@ package java.lang;
* @since JDK1.0
*/
public class IllegalThreadStateException extends IllegalArgumentException {
+ private static final long serialVersionUID = -7626246362397460174L;
+
/**
* Constructs an IllegalThreadStateException with no
* detail message.
diff --git a/src/share/classes/java/lang/IncompatibleClassChangeError.java b/src/share/classes/java/lang/IncompatibleClassChangeError.java
index a2688c0c10174222c45e95408d3e2ec322ab79f3..a92a18b7a79c16c6fcb77b4ddcbf3c42fab23e4b 100644
--- a/src/share/classes/java/lang/IncompatibleClassChangeError.java
+++ b/src/share/classes/java/lang/IncompatibleClassChangeError.java
@@ -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 @@ package java.lang;
*/
public
class IncompatibleClassChangeError extends LinkageError {
+ private static final long serialVersionUID = -4914975503642802119L;
+
/**
* Constructs an IncompatibleClassChangeError with no
* detail message.
diff --git a/src/share/classes/java/lang/IndexOutOfBoundsException.java b/src/share/classes/java/lang/IndexOutOfBoundsException.java
index 72a8b67f0e0580ee6c4e0c1b71b41a96c6b0da6e..1375204df70e81cda6e5f9195310369b89b9e311 100644
--- a/src/share/classes/java/lang/IndexOutOfBoundsException.java
+++ b/src/share/classes/java/lang/IndexOutOfBoundsException.java
@@ -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 @@ package java.lang;
*/
public
class IndexOutOfBoundsException extends RuntimeException {
+ private static final long serialVersionUID = 234122996006267687L;
+
/**
* Constructs an IndexOutOfBoundsException with no
* detail message.
diff --git a/src/share/classes/java/lang/InstantiationError.java b/src/share/classes/java/lang/InstantiationError.java
index 4824b3d43478af949af48ff509df1e3a06ee72ed..9724fc487221191bb6ea7800c283609732bd0926 100644
--- a/src/share/classes/java/lang/InstantiationError.java
+++ b/src/share/classes/java/lang/InstantiationError.java
@@ -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 @@ package java.lang;
public
class InstantiationError extends IncompatibleClassChangeError {
+ private static final long serialVersionUID = -4885810657349421204L;
+
/**
* Constructs an InstantiationError with no detail message.
*/
diff --git a/src/share/classes/java/lang/InstantiationException.java b/src/share/classes/java/lang/InstantiationException.java
index ab008ab6b9e1788d01e61fa65dfc0a1ce7a644e5..ace382ae437a03ef9affeca21f007d9c11b8c5f8 100644
--- a/src/share/classes/java/lang/InstantiationException.java
+++ b/src/share/classes/java/lang/InstantiationException.java
@@ -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 @@ package java.lang;
*/
public
class InstantiationException extends Exception {
+ private static final long serialVersionUID = -8441929162975509110L;
+
/**
* Constructs an {@code InstantiationException} with no detail message.
*/
diff --git a/src/share/classes/java/lang/InternalError.java b/src/share/classes/java/lang/InternalError.java
index d712af5e2bf2f4fd6c192f2011539b9ab20ec679..b49f7d755f4f3baedeba5e6f53aa76a59d43a70f 100644
--- a/src/share/classes/java/lang/InternalError.java
+++ b/src/share/classes/java/lang/InternalError.java
@@ -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 @@ package java.lang;
*/
public
class InternalError extends VirtualMachineError {
+ private static final long serialVersionUID = -9062593416125562365L;
+
/**
* Constructs an InternalError with no detail message.
*/
diff --git a/src/share/classes/java/lang/InterruptedException.java b/src/share/classes/java/lang/InterruptedException.java
index d57bb62d52329e4ba2a23a7af58bb5edfdcbcb6b..d8ddd36547ec2617e04214eb7b37e7cf2cab041c 100644
--- a/src/share/classes/java/lang/InterruptedException.java
+++ b/src/share/classes/java/lang/InterruptedException.java
@@ -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 @@ package java.lang;
*/
public
class InterruptedException extends Exception {
+ private static final long serialVersionUID = 6700697376100628473L;
+
/**
* Constructs an InterruptedException with no detail message.
*/
diff --git a/src/share/classes/java/lang/LinkageError.java b/src/share/classes/java/lang/LinkageError.java
index 237188f3662f555143bf1c6e8c0c317a688c9820..39d09467814b5b1a1a8690a2b53c8c3281cb49be 100644
--- a/src/share/classes/java/lang/LinkageError.java
+++ b/src/share/classes/java/lang/LinkageError.java
@@ -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 @@ package java.lang;
*/
public
class LinkageError extends Error {
+ private static final long serialVersionUID = 3579600108157160122L;
+
/**
* Constructs a LinkageError with no detail message.
*/
diff --git a/src/share/classes/java/lang/NegativeArraySizeException.java b/src/share/classes/java/lang/NegativeArraySizeException.java
index 64b7635461519800c5509db986fdd5e99522cd83..903409b8248c2d3b191405f3e8523c5a8ecbb146 100644
--- a/src/share/classes/java/lang/NegativeArraySizeException.java
+++ b/src/share/classes/java/lang/NegativeArraySizeException.java
@@ -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 @@ package java.lang;
*/
public
class NegativeArraySizeException extends RuntimeException {
+ private static final long serialVersionUID = -8960118058596991861L;
+
/**
* Constructs a NegativeArraySizeException with no
* detail message.
diff --git a/src/share/classes/java/lang/NoClassDefFoundError.java b/src/share/classes/java/lang/NoClassDefFoundError.java
index a8a1273e1be950fec68747d47efbcf7432d3114b..c9cf976717ee01588638bfa2ada1a9795c248195 100644
--- a/src/share/classes/java/lang/NoClassDefFoundError.java
+++ b/src/share/classes/java/lang/NoClassDefFoundError.java
@@ -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 @@ package java.lang;
*/
public
class NoClassDefFoundError extends LinkageError {
+ private static final long serialVersionUID = 9095859863287012458L;
+
/**
* Constructs a NoClassDefFoundError with no detail message.
*/
diff --git a/src/share/classes/java/lang/NoSuchFieldError.java b/src/share/classes/java/lang/NoSuchFieldError.java
index 5dc7f9c1bc627b501d7324418b5a5e2c3acbe9b6..8b77c71b18cffa097abd41017c826cb224b7848e 100644
--- a/src/share/classes/java/lang/NoSuchFieldError.java
+++ b/src/share/classes/java/lang/NoSuchFieldError.java
@@ -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 @@ package java.lang;
*/
public
class NoSuchFieldError extends IncompatibleClassChangeError {
+ private static final long serialVersionUID = -3456430195886129035L;
+
/**
* Constructs a NoSuchFieldException with no detail message.
*/
diff --git a/src/share/classes/java/lang/NoSuchFieldException.java b/src/share/classes/java/lang/NoSuchFieldException.java
index c75113a8c09cc64e096efa9d093dbca28f7b4899..b44fb173ebbc95d358798aada5ba62df4e08add1 100644
--- a/src/share/classes/java/lang/NoSuchFieldException.java
+++ b/src/share/classes/java/lang/NoSuchFieldException.java
@@ -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 @@ package java.lang;
* @since JDK1.1
*/
public class NoSuchFieldException extends Exception {
+ private static final long serialVersionUID = -6143714805279938260L;
+
/**
* Constructor.
*/
diff --git a/src/share/classes/java/lang/NoSuchMethodError.java b/src/share/classes/java/lang/NoSuchMethodError.java
index 5f3a798144bf8bdf8e2d7ca51e6eeac792fcae53..74de82f3c16912c36048331cc71bf1e85568d17d 100644
--- a/src/share/classes/java/lang/NoSuchMethodError.java
+++ b/src/share/classes/java/lang/NoSuchMethodError.java
@@ -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 @@ package java.lang;
*/
public
class NoSuchMethodError extends IncompatibleClassChangeError {
+ private static final long serialVersionUID = -3765521442372831335L;
+
/**
* Constructs a NoSuchMethodError with no detail message.
*/
diff --git a/src/share/classes/java/lang/NoSuchMethodException.java b/src/share/classes/java/lang/NoSuchMethodException.java
index 0fc7113ad1cbc856a83df442030437357deda0cf..720fbfcbbc64a144bb4ac4f93ab0742ff77487a3 100644
--- a/src/share/classes/java/lang/NoSuchMethodException.java
+++ b/src/share/classes/java/lang/NoSuchMethodException.java
@@ -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 @@ package java.lang;
*/
public
class NoSuchMethodException extends Exception {
+ private static final long serialVersionUID = 5034388446362600923L;
+
/**
* Constructs a NoSuchMethodException without a detail message.
*/
diff --git a/src/share/classes/java/lang/NullPointerException.java b/src/share/classes/java/lang/NullPointerException.java
index 68fef23ac28bf91a58af97924d2441b0b5dcbeb9..15e899cf0c93444a226b92bd77ee5fbc149f0414 100644
--- a/src/share/classes/java/lang/NullPointerException.java
+++ b/src/share/classes/java/lang/NullPointerException.java
@@ -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 @@ package java.lang;
*/
public
class NullPointerException extends RuntimeException {
+ private static final long serialVersionUID = 5162710183389028792L;
+
/**
* Constructs a NullPointerException with no detail message.
*/
diff --git a/src/share/classes/java/lang/OutOfMemoryError.java b/src/share/classes/java/lang/OutOfMemoryError.java
index 3ab19d24048001e7e300173a9cc4ad99787d1b47..842b5c60d3f0e15910bb5dd5b45f034c0397e499 100644
--- a/src/share/classes/java/lang/OutOfMemoryError.java
+++ b/src/share/classes/java/lang/OutOfMemoryError.java
@@ -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 @@ package java.lang;
*/
public
class OutOfMemoryError extends VirtualMachineError {
+ private static final long serialVersionUID = 8228564086184010517L;
+
/**
* Constructs an OutOfMemoryError with no detail message.
*/
diff --git a/src/share/classes/java/lang/StackOverflowError.java b/src/share/classes/java/lang/StackOverflowError.java
index 00cd783b4403d17611c36b052c0500ba129aa9a3..992a395f2d7e63d299a9444dfb80ea439c1cfecf 100644
--- a/src/share/classes/java/lang/StackOverflowError.java
+++ b/src/share/classes/java/lang/StackOverflowError.java
@@ -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 @@ package java.lang;
*/
public
class StackOverflowError extends VirtualMachineError {
+ private static final long serialVersionUID = 8609175038441759607L;
+
/**
* Constructs a StackOverflowError with no detail message.
*/
diff --git a/src/share/classes/java/lang/StringIndexOutOfBoundsException.java b/src/share/classes/java/lang/StringIndexOutOfBoundsException.java
index 35bf7b4c64b6e5ae5a87d30b015f095149f70975..a23862056860abf116b4bd9089c53f1e5cfca49f 100644
--- a/src/share/classes/java/lang/StringIndexOutOfBoundsException.java
+++ b/src/share/classes/java/lang/StringIndexOutOfBoundsException.java
@@ -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 @@ package java.lang;
*/
public
class StringIndexOutOfBoundsException extends IndexOutOfBoundsException {
+ private static final long serialVersionUID = -6762910422159637258L;
+
/**
* Constructs a StringIndexOutOfBoundsException with no
* detail message.
diff --git a/src/share/classes/java/lang/ThreadDeath.java b/src/share/classes/java/lang/ThreadDeath.java
index 1cab266993ff0d3ed28e6d245181913910a05914..6a3460236747b5027053a09d0d7d9118b082fb0a 100644
--- a/src/share/classes/java/lang/ThreadDeath.java
+++ b/src/share/classes/java/lang/ThreadDeath.java
@@ -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 @@ package java.lang;
* @since JDK1.0
*/
-public class ThreadDeath extends Error {}
+public class ThreadDeath extends Error {
+ private static final long serialVersionUID = -4417128565033088268L;
+}
diff --git a/src/share/classes/java/lang/TypeNotPresentException.java b/src/share/classes/java/lang/TypeNotPresentException.java
index 445703490827806ddf0eaeb3f514e79a13c06f43..d7fa0d6bdeb7bb0a24a28608e0ea47ff82ce2bd1 100644
--- a/src/share/classes/java/lang/TypeNotPresentException.java
+++ b/src/share/classes/java/lang/TypeNotPresentException.java
@@ -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 @@ package java.lang;
* @since 1.5
*/
public class TypeNotPresentException extends RuntimeException {
+ private static final long serialVersionUID = -5101214195716534496L;
+
private String typeName;
/**
diff --git a/src/share/classes/java/lang/UnknownError.java b/src/share/classes/java/lang/UnknownError.java
index 966b334456935ac6948319a7e6fbf79d2f2cc316..437441d46e0619051f22a43ac9ade4739d0d0850 100644
--- a/src/share/classes/java/lang/UnknownError.java
+++ b/src/share/classes/java/lang/UnknownError.java
@@ -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 @@ package java.lang;
*/
public
class UnknownError extends VirtualMachineError {
+ private static final long serialVersionUID = 2524784860676771849L;
+
/**
* Constructs an UnknownError with no detail message.
*/
diff --git a/src/share/classes/java/lang/UnsatisfiedLinkError.java b/src/share/classes/java/lang/UnsatisfiedLinkError.java
index 70426b4eb082ba259d9491587312184cd62eaabc..8ffe6cc73453a09b3c2bb067cb71affbb6d1c442 100644
--- a/src/share/classes/java/lang/UnsatisfiedLinkError.java
+++ b/src/share/classes/java/lang/UnsatisfiedLinkError.java
@@ -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 @@ package java.lang;
*/
public
class UnsatisfiedLinkError extends LinkageError {
+ private static final long serialVersionUID = -4019343241616879428L;
+
/**
* Constructs an UnsatisfiedLinkError with no detail message.
*/
diff --git a/src/share/classes/java/lang/UnsupportedClassVersionError.java b/src/share/classes/java/lang/UnsupportedClassVersionError.java
index a36bdb79bfc9a9d5c1855f2c4706fcd9bd0c0132..ec846508f49f9cf6f86f5157ec8bf727c28eb7fc 100644
--- a/src/share/classes/java/lang/UnsupportedClassVersionError.java
+++ b/src/share/classes/java/lang/UnsupportedClassVersionError.java
@@ -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 @@ package java.lang;
*/
public
class UnsupportedClassVersionError extends ClassFormatError {
+ private static final long serialVersionUID = -7123279212883497373L;
+
/**
* Constructs a UnsupportedClassVersionError
* with no detail message.
diff --git a/src/share/classes/java/lang/VerifyError.java b/src/share/classes/java/lang/VerifyError.java
index 46f2b10dcc4711e8daafc8c06a12dac5a10872b1..a24d34bfcbc152ed2b56c2ed640ff28a04f8f956 100644
--- a/src/share/classes/java/lang/VerifyError.java
+++ b/src/share/classes/java/lang/VerifyError.java
@@ -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 @@ package java.lang;
*/
public
class VerifyError extends LinkageError {
+ private static final long serialVersionUID = 7001962396098498785L;
+
/**
* Constructs an VerifyError with no detail message.
*/
diff --git a/src/share/classes/java/lang/annotation/AnnotationFormatError.java b/src/share/classes/java/lang/annotation/AnnotationFormatError.java
index 1ec3d457a725d9b19f5dd74846ade17f0d0830a2..0bc2fd15169b94f52bffebed8a01a8800d5baf10 100644
--- a/src/share/classes/java/lang/annotation/AnnotationFormatError.java
+++ b/src/share/classes/java/lang/annotation/AnnotationFormatError.java
@@ -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 @@ package java.lang.annotation;
* @since 1.5
*/
public class AnnotationFormatError extends Error {
+ private static final long serialVersionUID = -4256701562333669892L;
+
/**
* Constructs a new AnnotationFormatError with the specified
* detail message.
diff --git a/src/share/classes/java/lang/annotation/AnnotationTypeMismatchException.java b/src/share/classes/java/lang/annotation/AnnotationTypeMismatchException.java
index 3af297dca93b41de070fb0a127f17524080f1b81..c4cb7534c310f8ee025f853820e857df707eaa73 100644
--- a/src/share/classes/java/lang/annotation/AnnotationTypeMismatchException.java
+++ b/src/share/classes/java/lang/annotation/AnnotationTypeMismatchException.java
@@ -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 @@ import java.lang.reflect.Method;
* @since 1.5
*/
public class AnnotationTypeMismatchException extends RuntimeException {
+ private static final long serialVersionUID = 8125925355765570191L;
+
/**
* The Method object for the annotation element.
*/
diff --git a/src/share/classes/java/lang/annotation/IncompleteAnnotationException.java b/src/share/classes/java/lang/annotation/IncompleteAnnotationException.java
index abea0ac331b075f997a0c67ff0696cbb1eab42e9..04070a1bbd4a2700522a9834ab04e45b6e187317 100644
--- a/src/share/classes/java/lang/annotation/IncompleteAnnotationException.java
+++ b/src/share/classes/java/lang/annotation/IncompleteAnnotationException.java
@@ -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 @@ package java.lang.annotation;
* @since 1.5
*/
public class IncompleteAnnotationException extends RuntimeException {
+ private static final long serialVersionUID = 8445097402741811912L;
+
private Class annotationType;
private String elementName;
diff --git a/src/share/classes/java/lang/instrument/IllegalClassFormatException.java b/src/share/classes/java/lang/instrument/IllegalClassFormatException.java
index 94c4933e4c0b6221f7ad2dba94c8e3fb88d447fd..5594165fb3e79bef308e08818e56b17a53deecff 100644
--- a/src/share/classes/java/lang/instrument/IllegalClassFormatException.java
+++ b/src/share/classes/java/lang/instrument/IllegalClassFormatException.java
@@ -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 @@ package java.lang.instrument;
* @since 1.5
*/
public class IllegalClassFormatException extends Exception {
+ private static final long serialVersionUID = -3841736710924794009L;
+
/**
* Constructs an IllegalClassFormatException with no
* detail message.
diff --git a/src/share/classes/java/lang/instrument/UnmodifiableClassException.java b/src/share/classes/java/lang/instrument/UnmodifiableClassException.java
index 418ad7b3af84eb63730e9f61d91b0e0e2df46c34..d754fb2bbf015afc8ade3b00c1c49438b8fb2ce3 100644
--- a/src/share/classes/java/lang/instrument/UnmodifiableClassException.java
+++ b/src/share/classes/java/lang/instrument/UnmodifiableClassException.java
@@ -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 @@ package java.lang.instrument;
* @since 1.5
*/
public class UnmodifiableClassException extends Exception {
+ private static final long serialVersionUID = 1716652643585309178L;
+
/**
* Constructs an UnmodifiableClassException with no
* detail message.
diff --git a/src/share/classes/java/lang/management/ManagementPermission.java b/src/share/classes/java/lang/management/ManagementPermission.java
index 5330e75399bea2797258dce2cbac4c3a63bd9851..7eeadd5c5ece7bcc2ebd80de5d55bcad1a828d10 100644
--- a/src/share/classes/java/lang/management/ManagementPermission.java
+++ b/src/share/classes/java/lang/management/ManagementPermission.java
@@ -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 @@ at the permission allows, and associated risks">
*/
public final class ManagementPermission extends java.security.BasicPermission {
+ private static final long serialVersionUID = 1897496590799378737L;
/**
* Constructs a ManagementPermission with the specified name.
diff --git a/src/share/classes/java/lang/reflect/GenericSignatureFormatError.java b/src/share/classes/java/lang/reflect/GenericSignatureFormatError.java
index 6ecdd3b24fdb84ffe50c72c684500c4e0bc68d8d..717bc8bdeb01aaf7ec2b6888dbf339d6e1dfefa1 100644
--- a/src/share/classes/java/lang/reflect/GenericSignatureFormatError.java
+++ b/src/share/classes/java/lang/reflect/GenericSignatureFormatError.java
@@ -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 @@ package java.lang.reflect;
*
* @since 1.5
*/
-public class GenericSignatureFormatError extends ClassFormatError{}
+public class GenericSignatureFormatError extends ClassFormatError {
+ private static final long serialVersionUID = 6709919147137911034L;
+}
diff --git a/src/share/classes/java/lang/reflect/MalformedParameterizedTypeException.java b/src/share/classes/java/lang/reflect/MalformedParameterizedTypeException.java
index 6089687ec2412eba4f711255ed3023d9e9aeca0a..0ed0b399fba1d6774fd7a88a536c110ccb2d2195 100644
--- a/src/share/classes/java/lang/reflect/MalformedParameterizedTypeException.java
+++ b/src/share/classes/java/lang/reflect/MalformedParameterizedTypeException.java
@@ -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 @@ package java.lang.reflect;
*
* @since 1.5
*/
-public class MalformedParameterizedTypeException extends RuntimeException{}
+public class MalformedParameterizedTypeException extends RuntimeException {
+ private static final long serialVersionUID = -5696557788586220964L;
+}
diff --git a/src/share/classes/java/util/ConcurrentModificationException.java b/src/share/classes/java/util/ConcurrentModificationException.java
index 19a30286538425904c6c9eb9534c8f6b68856520..fbe9282dc5988fcfa99c986176e2efb6ec990277 100644
--- a/src/share/classes/java/util/ConcurrentModificationException.java
+++ b/src/share/classes/java/util/ConcurrentModificationException.java
@@ -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 @@ package java.util;
* @since 1.2
*/
public class ConcurrentModificationException extends RuntimeException {
+ private static final long serialVersionUID = -3666751008965953603L;
+
/**
* Constructs a ConcurrentModificationException with no
* detail message.
diff --git a/src/share/classes/java/util/EmptyStackException.java b/src/share/classes/java/util/EmptyStackException.java
index 0bdaa2ee2e532c54757075c8a8827b656eb07d2c..09ba39b0ec5c3caa32940e2bac1b66d5208fe306 100644
--- a/src/share/classes/java/util/EmptyStackException.java
+++ b/src/share/classes/java/util/EmptyStackException.java
@@ -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 @@ package java.util;
*/
public
class EmptyStackException extends RuntimeException {
+ private static final long serialVersionUID = 5084686378493302095L;
+
/**
* Constructs a new EmptyStackException with null
* as its error message string.
diff --git a/src/share/classes/java/util/InputMismatchException.java b/src/share/classes/java/util/InputMismatchException.java
index 87b0c60bfe1d3003cb398b2ec1ebc285904fd3a3..ff1729c2133c9f23a884b04abc595f3d0b4a90d9 100644
--- a/src/share/classes/java/util/InputMismatchException.java
+++ b/src/share/classes/java/util/InputMismatchException.java
@@ -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 @@ package java.util;
*/
public
class InputMismatchException extends NoSuchElementException {
+ private static final long serialVersionUID = 8811230760997066428L;
+
/**
* Constructs an InputMismatchException with null
* as its error message string.
diff --git a/src/share/classes/java/util/NoSuchElementException.java b/src/share/classes/java/util/NoSuchElementException.java
index 9750122cb4a5e2fc353189b548a8322c017d57df..e4cbe8eef803f54d9fac43acb67f2e90454e3324 100644
--- a/src/share/classes/java/util/NoSuchElementException.java
+++ b/src/share/classes/java/util/NoSuchElementException.java
@@ -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 @@ package java.util;
*/
public
class NoSuchElementException extends RuntimeException {
+ private static final long serialVersionUID = 6769829250639411880L;
+
/**
* Constructs a NoSuchElementException with null
* as its error message string.
diff --git a/src/share/classes/java/util/TooManyListenersException.java b/src/share/classes/java/util/TooManyListenersException.java
index f7778a5edd1ba2be20c1e002cbc1ae7b80e50f01..c9feb95718044d207fefeffb2fed3dfdebd9068c 100644
--- a/src/share/classes/java/util/TooManyListenersException.java
+++ b/src/share/classes/java/util/TooManyListenersException.java
@@ -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 @@ package java.util;
*/
public class TooManyListenersException extends Exception {
+ private static final long serialVersionUID = 5074640544770687831L;
/**
* Constructs a TooManyListenersException with no detail message.
diff --git a/src/share/classes/java/util/jar/JarException.java b/src/share/classes/java/util/jar/JarException.java
index a8c66b692f13f3f9af77ac8398e552ed603d71ea..a28bbcc5b743dbb774b8bdaa242e51c8a5820eaf 100644
--- a/src/share/classes/java/util/jar/JarException.java
+++ b/src/share/classes/java/util/jar/JarException.java
@@ -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 @@ package java.util.jar;
*/
public
class JarException extends java.util.zip.ZipException {
+ private static final long serialVersionUID = 7159778400963954473L;
+
/**
* Constructs a JarException with no detail message.
*/
diff --git a/src/share/classes/java/util/regex/PatternSyntaxException.java b/src/share/classes/java/util/regex/PatternSyntaxException.java
index 093b6a39816e359aa2084270e8b2a9cea65f33a5..404756ed6d56471d681c98accb9c67f05c340adb 100644
--- a/src/share/classes/java/util/regex/PatternSyntaxException.java
+++ b/src/share/classes/java/util/regex/PatternSyntaxException.java
@@ -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 @@ import sun.security.action.GetPropertyAction;
public class PatternSyntaxException
extends IllegalArgumentException
{
+ private static final long serialVersionUID = -3864639126226059218L;
private final String desc;
private final String pattern;
diff --git a/src/share/classes/java/util/zip/DataFormatException.java b/src/share/classes/java/util/zip/DataFormatException.java
index db884f21e009ebf9432a56c8e31938113af51784..08730b875817d92bc149f96658956dba79796ae8 100644
--- a/src/share/classes/java/util/zip/DataFormatException.java
+++ b/src/share/classes/java/util/zip/DataFormatException.java
@@ -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 @@ package java.util.zip;
*/
public
class DataFormatException extends Exception {
+ private static final long serialVersionUID = 2219632870893641452L;
+
/**
* Constructs a DataFormatException with no detail message.
*/
diff --git a/src/share/classes/java/util/zip/ZipException.java b/src/share/classes/java/util/zip/ZipException.java
index 467a51c9bafb15e62b5ce2f0af7e982a0dc4d82c..a5dbc12a1538abb0e3a8bb87adb7dd0a2eaaeb48 100644
--- a/src/share/classes/java/util/zip/ZipException.java
+++ b/src/share/classes/java/util/zip/ZipException.java
@@ -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 @@ import java.io.IOException;
public
class ZipException extends IOException {
+ private static final long serialVersionUID = 8000196834066748623L;
+
/**
* Constructs an ZipException with null
* as its error detail message.