Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1000

Consistent usage of serialVersionUID

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M2
    • Fix Version/s: 2.0.0-M3
    • Component/s: query
    • Labels:
      None

      Description

      As reported while working on OPENJPA-878, we have an inconsistent usage of serialVersionUID in the 2.0.0 code.
      There were 2 options discussed, but not decided upon, so the work is being split out of 878 into it's own JIRA.
      1) Remove the new usage of serialVersionUID from classes added in 2.0.0. The attached OPENJPA-878-serialVersionUID.patch handles this option.
      2) Add missing serialVersionUID values for every class that Eclipse flags. BUT, this lead to the discussion of should we use new values or try to use the ones generated for existing released jars (which then leads to which versions of the jars - 1.2.1?)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                drwoods Donald Woods
                Reporter:
                drwoods Donald Woods
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: