It's been a tough week for Oracle Corp. and its lawyers.

On Thursday, the judge in a high-profile copyright case Oracle brought against rival SAP AG threw out a $1.3 billion jury verdict against the German software company. The ruling is expected to result in a new trial to set damages, unless Oracle accepts the judge's suggested figure of $272 million.

The...