Add temporary files to git ignore.
Added cover for java8.