A new top legal hire at the University of Virginia is proof positive that pointing out flaws with a future employer may sound like a bad move—but it isn’t always.  

Timothy Heaphy, a former top federal prosecutor who was critical of UVA’s handling of last year’s violent protests in Charlottesville, has been tapped to be the school’s chief lawyer.