Java/Scala compilation order.