Leonardo DiCaprio and Jack Nicholson in The DepartedTHE DEPARTED

Because Martin Scorsese's internal-affairs thriller The Departed is so colossally entertaining, so brimming with performance and filmmaking craft, I may as well get its major failing out of the way right off the bat: What the hell is Jack Nicholson doing here?