Java 8 support for pegasus

RB=387791
R=kparikh,dhoa,sha,kjin,nshankar,gogenc
A=gogenc,dhoa