[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] serialVersionUID in abstract classes

Has anybody run into the following issue?

1. Mark missing serialVersionUID as Error (in Java/Compiler setting)
2. Eclipse will mark all non-abstract classes but NOT abstract classes.

I have a problem with a big codebase running on javac vs. Eclipse compiled classes. Used the approach above to add serialVersionUID to all non-abstract classes in few clicks. But don't know how to handle the abstract classes.

The result is that two different processes then fail on deserialization with class version errors for the abstract classes.

Please, don't ask why the communicating processes cannot be compiled the same way. Neither you or me is to solve it from that side.

Thanks

r.