kevinweil/elephant-bird — pull request #222 by rangadi (2012-07-02 21:34:55+00:00)
Title: Classloader for user class

while checking if a user supplied class is a subclass of something (Message for a Protobuf or TBase for Thrift), we should use right class loader to instantiate the super class (Message or TBase in this case).

other wise, TBase class that is visible to EB ThriftUtil.class could be different from TBase class visible to users Thrift class.. in such a case we ended up wrongly asserting that user's class is not a Thrift class.