Scrubbing the Java name is just obeying trademark law (only Sun can allow you to use that name, and you'll have to licence the TCK and manage to pass it). I don't see what trademark law has to do with the case, except that Oracle wants to leave a certain impression of Google in the minds of the jurors.