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

Consistent usage of serialVersionUID

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M2
    • 2.0.0-M3
    • query
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: