Remove JRE incompatible APIs from emul.

This methods was not initially private because SpecializedMethod
wasn't correctly handling private methods.

Change-Id: I5b8bee1837edef6ee91f5e0f90f155cdc236957f