Hessian fixes
Saturday, July 12th, 2008I’ve been cleaning up some Hessian bugs in preparation for the next release and I ran into a couple of doozies. During the week, I dealt with an issue reported by Riccardo wherein I rediscovered that ActionScript doesn’t actually have 64-bit longs, only IEEE 64-bit doubles. This screws up 2’s compliment arithmetic if you don’t recognize it, as I had done before.
It’s now fixed…
Today I worked on (de)serializing Java enums with constant-specific methods. Don’t know what those are? Neither did I. Tim Dawson was kind enough to send me a couple of examples:
Kind of an interesting use case. Here’s the rub. Try running this code with it:
What do you think you get? The answer’s under the cut…
(more…)
