ENH Changed Java compliance level to 1.8