R
Roedy Green
But that isn't an argument against caching per se, which could have
been implemented to detect when a sent object doesn't agree with the
cached one.
I guess you could just use equals for that determination.
The trouble is equals would often not detect a changed field.
But I suppose programmers could live with that, implementing equals if
it really mattered. Perhaps a new interface would be needed so you
would not disturb equals semantics.
In most cases you really want the current value of all objects
transmitted. The way it is now is an unfortunate accident of the
implementation.
It amazing that RPC works at all sitting atop a mechanism that does
not track changes.