Clarify behavior for generics support in BeanUtils.copyProperties (original) (raw)

The below code works in 5.2.9.RELEASE

BeanUtils.copyProperties(transferVO , transferRequest);

The classes where as follow. As you can see the source and destination beans has a List with same name but different types. But it was working

public class transferVO { private List signers; }

public class transferRequest{ private List signers;

}

public class Signer{ private string name;

}

public class TransferSigners {
private string name; }

After upgrade to 5.3.7 the signers property is not copied.