[#10] Prepare migration to JDK 8