Tropic Thunder came out in 2008. Oh, such simpler times and economic crashes.
The funny thing was that Ben Stiller got more flack for portraying the mentally challenged character in the movie than RDJ did (I don't recall any...) for wearing black face.