Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6865959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:07:09+00:00 2026-05-27T03:07:09+00:00

There is a nice feature in eclipse to generate serial version uid. But when

  • 0

There is a nice feature in eclipse to generate serial version uid. But when class is updated eclipse does not warn that serial version uid has to be updated, it does not even have a feature to regenerate this uid, it has to be removed manually first and only then eclipse will ask to generate new one.

Are there any plugin or another trick to serial version uids up to date?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T03:07:14+00:00Added an answer on May 27, 2026 at 3:07 am

    But when class is updated eclipse does not warn that serial version uid has to be updated.

    Actually, it typically doesn’t have to be updated, and indeed it is difficult to know (automatically) whether or not this is the case.

    The serial version UID is “… a 64-bit hash of the class name, interface class names, methods, and fields” (here). That means that the UID changes when any of these “attributes” changes. However, some of these attributes can change without violating binary compatibility of serialized objects and (thus) without necessitating a change in the UID. For instance, method signatures can change and fields can be added without violating binary compatibility, according to this.

    And if the UID doesn’t have to be updated, then there’s an argument that says that it shouldn’t be updated, because updating the UID in the class means that it won’t be able to read serialized classes … that it might have been able to read if you hadn’t updated the id!


    To answer your question:

    • I know of no such tool or plugin.
    • If you do find one you should think twice about running it over your code.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On Windows NTFS there is a nice but mostly unused feature called Alternate Data
Eclipse 3.5 has a very nice feature to generate Java hashCode() functions. It would
There's something in my preferences file that is causing Eclipse's auto-complete feature (for Java)
In MS Word, there's a nice feature called track changes that allows the program
Is there somewhere a one trick pony that just make all the nice feature
In Eclipse, there is the nice feature of deleting the word until the next
In Matlab, there is a very nice feature that I like. Suppose I typed
After messing about with F# there are some really nice features that I think
I got some binary files containing integers. Is there some nice Unix command, that
There's a nice plugin for Frog CMS that lets you just type in yourpicture.120x120.jpg

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.