JDK 8 code review request for 7082727 VirtualMachineError should declare its serialVersionUID

Lance Andersen - Oracle Lance.Andersen at oracle.com
Thu Aug 25 16:50:36 UTC 2011


Looks good joe.
On Aug 25, 2011, at 12:37 PM, Joe Darcy wrote:

> Hello.
> 
> Please review the patch below to add an explicit serialVersionUID to VirtualMachineError:
> 
>   7082727 VirtualMachineError should declare its serialVersionUID
>   http://cr.openjdk.java.net/~darcy/7082727.0/
> 
> Thanks,
> 
> -Joe
> 
> --- old/src/share/classes/java/lang/VirtualMachineError.java    2011-08-25 09:35:04.000000000 -0700
> +++ new/src/share/classes/java/lang/VirtualMachineError.java    2011-08-25 09:35:03.000000000 -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.
>     */
> 


Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com




More information about the core-libs-dev mailing list