Even if they win Oracle v Google, it's been a huge distraction, a huge cost in lawyers (who knows how much they'll recoup), a big unknown and the search for an alternative has to be costly and time-consuming.
$8.3 billion almost seems like a bargain in hindsight.