Fixed a bug where duplicate local var names would collide when reading more than one indirectly serialized object from a code-generated bean.