-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
The problem is ObjectStreamClass validates serialversionuidand and there is no way to disable it.
In our environment, it often means we have an offline window when release to production.
Even though we use Jackson and mixin classes as much as possible there are always external libs which makes it unable to use json / mixin. This time it’s a spring security upgrade that causes problems in hazelcast spring sessions. Therefore we need to upgrade all our services at once, including hazelcast server, while we tested there are not even breaking changes. The only breaking change is that spring security changes serialversionuid.
Please give the option to go to prod and disable this check and to use it only with build time or with written tests. This way we can for example upgrade 1 service to new version classes and then the next, etc.
The problem is ObjectStreamClass validates serialversionuidand and there is no way to disable it.
In our environment, it often means we have an offline window when release to production.
Even though we use Jackson and mixin classes as much as possible there are always external libs which makes it unable to use json / mixin. This time it’s a spring security upgrade that causes problems in hazelcast spring sessions. Therefore we need to upgrade all our services at once, including hazelcast server, while we tested there are not even breaking changes. The only breaking change is that spring security changes serialversionuid.
Please give the option to go to prod and disable this check and to use it only with build time or with written tests. This way we can for example upgrade 1 service to new version classes and then the next, etc.
- relates to
-
JDK-8347636 Option to disable serialVersionUID check: unnecessary invalid class exceptions
- New