NAS-2348 Upgrade source level to Java 8.