Remove JDK 8 usage.

+review REVIEW-5226