Serialization of predicates#1065
Conversation
|
@timowest would it help to make |
|
Yes, I am doing that right now. |
|
It would only make sense, since it is not a significant state value. |
There was a problem hiding this comment.
this was a duplicate test case, that's why I removed it.
There was a problem hiding this comment.
Ah, you're right, and that's fine.
|
I haven't yet tested with multiple JVMs, but I could alter the hashCode values via reflection and make sure that they are properly reset via deserialization. |
|
I am already testing with multiple JVMs, and can at least see that the fields are correctly restored. |
|
There are no cats in the database, do you see the same? |
There was a problem hiding this comment.
the mixin has the hashCode cached, so this should cause only a minimal performance penalty, but makes the deserialization easier.
|
Looks good, I also deserialized the predicate in a seperate VM and it works. |
|
Seeing as the build succeeds, I will merge this. |
Serialization of predicates
Fixes #1062