Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7082727

VirtualMachineError should declare its serialVersionUID

    XMLWordPrintable

Details

    • b03
    • 8
    • b04
    • generic
    • generic
    • Verified

    Description

      7080020 adds new constructors to InternalError and VirtualMachineError but as VirtualMachineError doesn't specify its serialVersionUID then it is changed by the addition of these constructors:

      JDK7 and older:
      java.lang.VirtualMachineError: static final long serialVersionUID = 4161983926571568670L;

      jdk8/tl:
      java.lang.VirtualMachineError: static final long serialVersionUID = -8070910810128390498L;

      As most of the errors that extend VirtualMachineError always do not declare a serialVersionUID then their value changes too.

      Attachments

        Issue Links

          Activity

            People

              darcy Joe Darcy
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: