Updated samples with the JDK 8 Release Candidate.