Skip to content

add tests to see if old format ByteStrings serialized using JDK can be deserialized#2928

Draft
pjfanning wants to merge 5 commits into
apache:1.6.xfrom
pjfanning:pekko-test-back
Draft

add tests to see if old format ByteStrings serialized using JDK can be deserialized#2928
pjfanning wants to merge 5 commits into
apache:1.6.xfrom
pjfanning:pekko-test-back

Conversation

@pjfanning
Copy link
Copy Markdown
Member

an experiment but could be useful as a regression test

@pjfanning pjfanning marked this pull request as draft April 27, 2026 21:02
@pjfanning
Copy link
Copy Markdown
Member Author

I'll look again at this. It does seem like a good idea to put a serialVersionId on the problem class but I will need to get the right value from the 1.6.0 release and to update the test bin files.

@pjfanning
Copy link
Copy Markdown
Member Author

Actually after #2929, Pekko 2 won't be able to deserialize Pekko 1.x ByteString1C instances with or without this change.
At this stage, JDK Serialization of ByteStrings in Pekko 1.x and Akka is not a good idea and it might be worth waiting for a real would world complaint before making any changes in Pekko 1.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants