7082727: VirtualMachineError should declare its serialVersionUID
authordarcy
Thu, 25 Aug 2011 09:42:50 -0700
changeset 10362 5938b19e89b9
parent 10361 b089baaa1d3e
child 10363 6670d68e5011
7082727: VirtualMachineError should declare its serialVersionUID Reviewed-by: alanb
jdk/src/share/classes/java/lang/VirtualMachineError.java
--- a/jdk/src/share/classes/java/lang/VirtualMachineError.java	Thu Aug 25 16:08:31 2011 +0100
+++ b/jdk/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.
      */