In a retrial at San Francisco federal court, Oracle Corp. has claimed Google’s Android smartphone operating system violated its copyright on parts of Java, a development platform. Alphabet Inc.’s Google unit said it should be able to use Java without paying a fee under the fair-use provision of copyright law.