The courtroom was sealed Thursday morning for some testimony in the trial of former Goldman Sachs Group Inc. programmer Sergey Aleynikov, who is accused of stealing the investment bank's confidential source code for its high-frequency trading platform.