changeset 4513:624cc18a6cf9

7082727: VirtualMachineError should declare its serialVersionUID Reviewed-by: alanb
author darcy
date Thu, 25 Aug 2011 09:42:50 -0700
parents c9e78769c0da
children 3a13b7ab57f7
files src/share/classes/java/lang/VirtualMachineError.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/lang/VirtualMachineError.java	Thu Aug 25 16:08:31 2011 +0100
+++ b/src/share/classes/java/lang/VirtualMachineError.java	Thu Aug 25 09:42:50 2011 -0700
@@ -34,6 +34,8 @@
  * @since   JDK1.0
  */
 abstract public class VirtualMachineError extends Error {
+    private static final long serialVersionUID = 4161983926571568670L;
+
     /**
      * Constructs a <code>VirtualMachineError</code> with no detail message.
      */