hazelcast/hazelcast — pull request #229 by tgf (2012-08-03 18:01:14+00:00)
Title: Futures from async calls in maps with value types from another classLoader never returned value

In a Map where V is a type not accessible from Hazelcast's class loader, would always reach timeout accessing Future#get for async calls that return V.

Problem was a ClassCastException swept under the rug by the catch(Throwable) in AsyncCall.

Extended AsyncCall to store and switch classLoaders in getAsync, putAsync and removeAsync.