Fixing scala\jvm bug when getting field name by reflection.