Dan Borstein was testifying on Friday, the fifth day of the trial between Google and Oracle, in which the latter is seeking damages for Google's use of 37 APIs in Android.
This is the second setback for Google on consecutive days of the trial with Oracle's lawyers on Thursday producing an email from Andy Rubin, head of the Android team, that indicated Google was aware could not use APIs, which are part of the Java programming language, as it wished.
Oracle sued Google in 2010 over what it said was illegal use of code from Java in Android. That trial went in Google's favour with the end result, in 2012, being that APIs were adjudged to be not copyrightable.
However this was reversed on appeal and the current trial is trying to establish what damages, if any, Google should pay Oracle. Google's only defence is that "fair use" covers its use of the 11,000 lines of code.
Hurst also produced another Borstein email in which he had listed the following terms as those which should be scrubbed from the Android source: "sun oracle orcl java jvm jdk jre jcp jsr patent* licens*".
Also appearing on the fifth day of the trial was Simon Phipps, the former open source chief at Sun.
Oracle's questioning is designed to show that Google was aware that it could not use Java as it wanted without a licence. Google is trying to prove that there was no need for it to obtain a licence to use what it did.
Oracle became the owner of Java when it bought Sun Microsystems in 2010.