fix travis openjdk specific failure