Term: boomerang buddy
Example: jim: didn't you say you hated that guy?  joe: yeah, but he is my boomerang buddy
Definition: when you judge somebody (usually in a negative way) before you know them very well and then in the future end up becoming a good friend of them