mhan810/liferay-portal — pull request #33 by topolik (2012-04-23 22:55:27+00:00)
Title: LPS-26781

Hi Michael, the patch you sent can't work. jabsorb.JSONSerializer behaves oddly, for the top most classes it calls Class.forName(...) and for subclasses it use built-in and registered serializers. So when I create {Util,service:{Impl}} then the Util is loaded using Class.forName and the Impl is loaded using built-in BeanSerializer.

I dig the sources of jabsorb and found another way - using SerializerState that is used as a context holder - we can check everything from there also.